CPD Results

The following document contains the results of PMD's CPD 5.0.5.

Duplications

FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmsVer12.java1282
org/projectfloodlight/openflow/protocol/ver13/OFOxmsVer13.java1320
org/projectfloodlight/openflow/protocol/ver14/OFOxmsVer14.java1302
        return OFOxmVer12.READER;
    }

    @SuppressWarnings("unchecked")
    public <F extends OFValueType<F>> OFOxm<F> fromValue(F value, MatchField<F> field) {
        switch (field.id) {
            case ARP_OP:
                return (OFOxm<F>)((Object)arpOp((ArpOpcode)((Object)value)));
            case ARP_SHA:
                return (OFOxm<F>)((Object)arpSha((MacAddress)((Object)value)));
            case ARP_SPA:
                return (OFOxm<F>)((Object)arpSpa((IPv4Address)((Object)value)));
            case ARP_THA:
                return (OFOxm<F>)((Object)arpTha((MacAddress)((Object)value)));
            case ARP_TPA:
                return (OFOxm<F>)((Object)arpTpa((IPv4Address)((Object)value)));
            case BSN_EGR_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnEgrPortGroupId((ClassId)((Object)value)));
            case BSN_GLOBAL_VRF_ALLOWED:
                return (OFOxm<F>)((Object)bsnGlobalVrfAllowed((OFBooleanValue)((Object)value)));
            case BSN_IN_PORTS_128:
                return (OFOxm<F>)((Object)bsnInPorts128((OFBitMask128)((Object)value)));
            case BSN_IN_PORTS_512:
                return (OFOxm<F>)((Object)bsnInPorts512((OFBitMask512)((Object)value)));
            case BSN_INGRESS_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnIngressPortGroupId((ClassId)((Object)value)));
            case BSN_L2_CACHE_HIT:
                return (OFOxm<F>)((Object)bsnL2CacheHit((OFBooleanValue)((Object)value)));
            case BSN_L3_DST_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3DstClassId((ClassId)((Object)value)));
            case BSN_L3_INTERFACE_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3InterfaceClassId((ClassId)((Object)value)));
            case BSN_L3_SRC_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3SrcClassId((ClassId)((Object)value)));
            case BSN_LAG_ID:
                return (OFOxm<F>)((Object)bsnLagId((LagId)((Object)value)));
            case BSN_TCP_FLAGS:
                return (OFOxm<F>)((Object)bsnTcpFlags((U16)((Object)value)));
            case BSN_UDF0:
                return (OFOxm<F>)((Object)bsnUdf0((UDF)((Object)value)));
            case BSN_UDF1:
                return (OFOxm<F>)((Object)bsnUdf1((UDF)((Object)value)));
            case BSN_UDF2:
                return (OFOxm<F>)((Object)bsnUdf2((UDF)((Object)value)));
            case BSN_UDF3:
                return (OFOxm<F>)((Object)bsnUdf3((UDF)((Object)value)));
            case BSN_UDF4:
                return (OFOxm<F>)((Object)bsnUdf4((UDF)((Object)value)));
            case BSN_UDF5:
                return (OFOxm<F>)((Object)bsnUdf5((UDF)((Object)value)));
            case BSN_UDF6:
                return (OFOxm<F>)((Object)bsnUdf6((UDF)((Object)value)));
            case BSN_UDF7:
                return (OFOxm<F>)((Object)bsnUdf7((UDF)((Object)value)));
            case BSN_VLAN_XLATE_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnVlanXlatePortGroupId((ClassId)((Object)value)));
            case BSN_VRF:
                return (OFOxm<F>)((Object)bsnVrf((VRF)((Object)value)));
            case ETH_DST:
                return (OFOxm<F>)((Object)ethDst((MacAddress)((Object)value)));
            case ETH_SRC:
                return (OFOxm<F>)((Object)ethSrc((MacAddress)((Object)value)));
            case ETH_TYPE:
                return (OFOxm<F>)((Object)ethType((EthType)((Object)value)));
            case ICMPV4_CODE:
                return (OFOxm<F>)((Object)icmpv4Code((ICMPv4Code)((Object)value)));
            case ICMPV4_TYPE:
                return (OFOxm<F>)((Object)icmpv4Type((ICMPv4Type)((Object)value)));
            case ICMPV6_CODE:
                return (OFOxm<F>)((Object)icmpv6Code((U8)((Object)value)));
            case ICMPV6_TYPE:
                return (OFOxm<F>)((Object)icmpv6Type((U8)((Object)value)));
            case IN_PHY_PORT:
                return (OFOxm<F>)((Object)inPhyPort((OFPort)((Object)value)));
            case IN_PORT:
                return (OFOxm<F>)((Object)inPort((OFPort)((Object)value)));
            case IP_DSCP:
                return (OFOxm<F>)((Object)ipDscp((IpDscp)((Object)value)));
            case IP_ECN:
                return (OFOxm<F>)((Object)ipEcn((IpEcn)((Object)value)));
            case IP_PROTO:
                return (OFOxm<F>)((Object)ipProto((IpProtocol)((Object)value)));
            case IPV4_DST:
                return (OFOxm<F>)((Object)ipv4Dst((IPv4Address)((Object)value)));
            case IPV4_SRC:
                return (OFOxm<F>)((Object)ipv4Src((IPv4Address)((Object)value)));
            case IPV6_DST:
                return (OFOxm<F>)((Object)ipv6Dst((IPv6Address)((Object)value)));
            case IPV6_FLABEL:
                return (OFOxm<F>)((Object)ipv6Flabel((IPv6FlowLabel)((Object)value)));
            case IPV6_ND_SLL:
                return (OFOxm<F>)((Object)ipv6NdSll((MacAddress)((Object)value)));
            case IPV6_ND_TARGET:
                return (OFOxm<F>)((Object)ipv6NdTarget((IPv6Address)((Object)value)));
            case IPV6_ND_TLL:
                return (OFOxm<F>)((Object)ipv6NdTll((MacAddress)((Object)value)));
            case IPV6_SRC:
                return (OFOxm<F>)((Object)ipv6Src((IPv6Address)((Object)value)));
            case METADATA:
                return (OFOxm<F>)((Object)metadata((OFMetadata)((Object)value)));
            case MPLS_LABEL:
                return (OFOxm<F>)((Object)mplsLabel((U32)((Object)value)));
            case MPLS_TC:
                return (OFOxm<F>)((Object)mplsTc((U8)((Object)value)));
            case SCTP_DST:
                return (OFOxm<F>)((Object)sctpDst((TransportPort)((Object)value)));
            case SCTP_SRC:
                return (OFOxm<F>)((Object)sctpSrc((TransportPort)((Object)value)));
            case TCP_DST:
                return (OFOxm<F>)((Object)tcpDst((TransportPort)((Object)value)));
            case TCP_SRC:
                return (OFOxm<F>)((Object)tcpSrc((TransportPort)((Object)value)));
            case TUNNEL_IPV4_DST:
                return (OFOxm<F>)((Object)tunnelIpv4Dst((IPv4Address)((Object)value)));
            case TUNNEL_IPV4_SRC:
                return (OFOxm<F>)((Object)tunnelIpv4Src((IPv4Address)((Object)value)));
            case UDP_DST:
                return (OFOxm<F>)((Object)udpDst((TransportPort)((Object)value)));
            case UDP_SRC:
                return (OFOxm<F>)((Object)udpSrc((TransportPort)((Object)value)));
            case VLAN_PCP:
                return (OFOxm<F>)((Object)vlanPcp((VlanPcp)((Object)value)));
            case VLAN_VID:
                return (OFOxm<F>)((Object)vlanVid((OFVlanVidMatch)((Object)value)));
            case BSN_INNER_ETH_DST:
                return (OFOxm<F>)((Object)bsnInnerEthDst((MacAddress)((Object)value)));
            case BSN_INNER_ETH_SRC:
                return (OFOxm<F>)((Object)bsnInnerEthSrc((MacAddress)((Object)value)));
            case BSN_VXLAN_NETWORK_ID:
                return (OFOxm<F>)((Object)bsnVxlanNetworkId((U32)((Object)value)));
            case IPV6_EXTHDR:
                return (OFOxm<F>)((Object)ipv6Exthdr((U16)((Object)value)));
            case MPLS_BOS:
                return (OFOxm<F>)((Object)mplsBos((OFBooleanValue)((Object)value)));
            case OCH_SIGID:
                return (OFOxm<F>)((Object)ochSigid((CircuitSignalID)((Object)value)));
            case OCH_SIGID_BASIC:
                return (OFOxm<F>)((Object)ochSigidBasic((CircuitSignalID)((Object)value)));
            case OCH_SIGTYPE:
                return (OFOxm<F>)((Object)ochSigtype((U8)((Object)value)));
            case OCH_SIGTYPE_BASIC:
                return (OFOxm<F>)((Object)ochSigtypeBasic((U8)((Object)value)));
            case TUNNEL_ID:
                return (OFOxm<F>)((Object)tunnelId((U64)((Object)value)));
            case PBB_UCA:
                return (OFOxm<F>)((Object)pbbUca((OFBooleanValue)((Object)value)));
            default:
                throw new IllegalArgumentException("No OXM known for match field " + field);
        }
    }

    @SuppressWarnings("unchecked")
    public <F extends OFValueType<F>> OFOxm<F> fromValueAndMask(F value, F mask, MatchField<F> field) {
        switch (field.id) {
            case ARP_OP:
                return (OFOxm<F>)((Object)arpOpMasked((ArpOpcode)((Object)value), (ArpOpcode)((Object)mask)));
            case ARP_SHA:
                return (OFOxm<F>)((Object)arpShaMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case ARP_SPA:
                return (OFOxm<F>)((Object)arpSpaMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask)));
            case ARP_THA:
                return (OFOxm<F>)((Object)arpThaMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case ARP_TPA:
                return (OFOxm<F>)((Object)arpTpaMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask)));
            case BSN_EGR_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnEgrPortGroupIdMasked((ClassId)((Object)value), (ClassId)((Object)mask)));
            case BSN_GLOBAL_VRF_ALLOWED:
                return (OFOxm<F>)((Object)bsnGlobalVrfAllowedMasked((OFBooleanValue)((Object)value), (OFBooleanValue)((Object)mask)));
            case BSN_IN_PORTS_128:
                return (OFOxm<F>)((Object)bsnInPorts128Masked((OFBitMask128)((Object)value), (OFBitMask128)((Object)mask)));
            case BSN_IN_PORTS_512:
                return (OFOxm<F>)((Object)bsnInPorts512Masked((OFBitMask512)((Object)value), (OFBitMask512)((Object)mask)));
            case BSN_INGRESS_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnIngressPortGroupIdMasked((ClassId)((Object)value), (ClassId)((Object)mask)));
            case BSN_L2_CACHE_HIT:
                return (OFOxm<F>)((Object)bsnL2CacheHitMasked((OFBooleanValue)((Object)value), (OFBooleanValue)((Object)mask)));
            case BSN_L3_DST_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3DstClassIdMasked((ClassId)((Object)value), (ClassId)((Object)mask)));
            case BSN_L3_INTERFACE_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3InterfaceClassIdMasked((ClassId)((Object)value), (ClassId)((Object)mask)));
            case BSN_L3_SRC_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3SrcClassIdMasked((ClassId)((Object)value), (ClassId)((Object)mask)));
            case BSN_LAG_ID:
                return (OFOxm<F>)((Object)bsnLagIdMasked((LagId)((Object)value), (LagId)((Object)mask)));
            case BSN_TCP_FLAGS:
                return (OFOxm<F>)((Object)bsnTcpFlagsMasked((U16)((Object)value), (U16)((Object)mask)));
            case BSN_UDF0:
                return (OFOxm<F>)((Object)bsnUdf0Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF1:
                return (OFOxm<F>)((Object)bsnUdf1Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF2:
                return (OFOxm<F>)((Object)bsnUdf2Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF3:
                return (OFOxm<F>)((Object)bsnUdf3Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF4:
                return (OFOxm<F>)((Object)bsnUdf4Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF5:
                return (OFOxm<F>)((Object)bsnUdf5Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF6:
                return (OFOxm<F>)((Object)bsnUdf6Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF7:
                return (OFOxm<F>)((Object)bsnUdf7Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_VLAN_XLATE_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnVlanXlatePortGroupIdMasked((ClassId)((Object)value), (ClassId)((Object)mask)));
            case BSN_VRF:
                return (OFOxm<F>)((Object)bsnVrfMasked((VRF)((Object)value), (VRF)((Object)mask)));
            case ETH_DST:
                return (OFOxm<F>)((Object)ethDstMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case ETH_SRC:
                return (OFOxm<F>)((Object)ethSrcMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case ETH_TYPE:
                return (OFOxm<F>)((Object)ethTypeMasked((EthType)((Object)value), (EthType)((Object)mask)));
            case ICMPV4_CODE:
                return (OFOxm<F>)((Object)icmpv4CodeMasked((ICMPv4Code)((Object)value), (ICMPv4Code)((Object)mask)));
            case ICMPV4_TYPE:
                return (OFOxm<F>)((Object)icmpv4TypeMasked((ICMPv4Type)((Object)value), (ICMPv4Type)((Object)mask)));
            case ICMPV6_CODE:
                return (OFOxm<F>)((Object)icmpv6CodeMasked((U8)((Object)value), (U8)((Object)mask)));
            case ICMPV6_TYPE:
                return (OFOxm<F>)((Object)icmpv6TypeMasked((U8)((Object)value), (U8)((Object)mask)));
            case IN_PHY_PORT:
                return (OFOxm<F>)((Object)inPhyPortMasked((OFPort)((Object)value), (OFPort)((Object)mask)));
            case IN_PORT:
                return (OFOxm<F>)((Object)inPortMasked((OFPort)((Object)value), (OFPort)((Object)mask)));
            case IP_DSCP:
                return (OFOxm<F>)((Object)ipDscpMasked((IpDscp)((Object)value), (IpDscp)((Object)mask)));
            case IP_ECN:
                return (OFOxm<F>)((Object)ipEcnMasked((IpEcn)((Object)value), (IpEcn)((Object)mask)));
            case IP_PROTO:
                return (OFOxm<F>)((Object)ipProtoMasked((IpProtocol)((Object)value), (IpProtocol)((Object)mask)));
            case IPV4_DST:
                return (OFOxm<F>)((Object)ipv4DstMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask)));
            case IPV4_SRC:
                return (OFOxm<F>)((Object)ipv4SrcMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask)));
            case IPV6_DST:
                return (OFOxm<F>)((Object)ipv6DstMasked((IPv6Address)((Object)value), (IPv6Address)((Object)mask)));
            case IPV6_FLABEL:
                return (OFOxm<F>)((Object)ipv6FlabelMasked((IPv6FlowLabel)((Object)value), (IPv6FlowLabel)((Object)mask)));
            case IPV6_ND_SLL:
                return (OFOxm<F>)((Object)ipv6NdSllMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case IPV6_ND_TARGET:
                return (OFOxm<F>)((Object)ipv6NdTargetMasked((IPv6Address)((Object)value), (IPv6Address)((Object)mask)));
            case IPV6_ND_TLL:
                return (OFOxm<F>)((Object)ipv6NdTllMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case IPV6_SRC:
                return (OFOxm<F>)((Object)ipv6SrcMasked((IPv6Address)((Object)value), (IPv6Address)((Object)mask)));
            case METADATA:
                return (OFOxm<F>)((Object)metadataMasked((OFMetadata)((Object)value), (OFMetadata)((Object)mask)));
            case MPLS_LABEL:
                return (OFOxm<F>)((Object)mplsLabelMasked((U32)((Object)value), (U32)((Object)mask)));
            case MPLS_TC:
                return (OFOxm<F>)((Object)mplsTcMasked((U8)((Object)value), (U8)((Object)mask)));
            case SCTP_DST:
                return (OFOxm<F>)((Object)sctpDstMasked((TransportPort)((Object)value), (TransportPort)((Object)mask)));
            case SCTP_SRC:
                return (OFOxm<F>)((Object)sctpSrcMasked((TransportPort)((Object)value), (TransportPort)((Object)mask)));
            case TCP_DST:
                return (OFOxm<F>)((Object)tcpDstMasked((TransportPort)((Object)value), (TransportPort)((Object)mask)));
            case TCP_SRC:
                return (OFOxm<F>)((Object)tcpSrcMasked((TransportPort)((Object)value), (TransportPort)((Object)mask)));
            case TUNNEL_IPV4_DST:
                return (OFOxm<F>)((Object)tunnelIpv4DstMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask)));
            case TUNNEL_IPV4_SRC:
                return (OFOxm<F>)((Object)tunnelIpv4SrcMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask)));
            case UDP_DST:
                return (OFOxm<F>)((Object)udpDstMasked((TransportPort)((Object)value), (TransportPort)((Object)mask)));
            case UDP_SRC:
                return (OFOxm<F>)((Object)udpSrcMasked((TransportPort)((Object)value), (TransportPort)((Object)mask)));
            case VLAN_PCP:
                return (OFOxm<F>)((Object)vlanPcpMasked((VlanPcp)((Object)value), (VlanPcp)((Object)mask)));
            case VLAN_VID:
                return (OFOxm<F>)((Object)vlanVidMasked((OFVlanVidMatch)((Object)value), (OFVlanVidMatch)((Object)mask)));
            case BSN_INNER_ETH_DST:
                return (OFOxm<F>)((Object)bsnInnerEthDstMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case BSN_INNER_ETH_SRC:
                return (OFOxm<F>)((Object)bsnInnerEthSrcMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case BSN_VXLAN_NETWORK_ID:
                return (OFOxm<F>)((Object)bsnVxlanNetworkIdMasked((U32)((Object)value), (U32)((Object)mask)));
            case IPV6_EXTHDR:
                return (OFOxm<F>)((Object)ipv6ExthdrMasked((U16)((Object)value), (U16)((Object)mask)));
            case MPLS_BOS:
                return (OFOxm<F>)((Object)mplsBosMasked((OFBooleanValue)((Object)value), (OFBooleanValue)((Object)mask)));
            case TUNNEL_ID:
                return (OFOxm<F>)((Object)tunnelIdMasked((U64)((Object)value), (U64)((Object)mask)));
            case PBB_UCA:
                return (OFOxm<F>)((Object)pbbUcaMasked((OFBooleanValue)((Object)value), (OFBooleanValue)((Object)mask)));
            default:
                throw new IllegalArgumentException("No OXM known for match field " + field);
        }
    }

    @SuppressWarnings("unchecked")
    public <F extends OFValueType<F>> OFOxm<F> fromMasked(Masked<F> masked, MatchField<F> field) {
        switch (field.id) {
            case ARP_OP:
                return (OFOxm<F>)((Object)arpOpMasked((ArpOpcode)((Object)(masked.getValue())), (ArpOpcode)((Object)(masked.getMask()))));
            case ARP_SHA:
                return (OFOxm<F>)((Object)arpShaMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case ARP_SPA:
                return (OFOxm<F>)((Object)arpSpaMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask()))));
            case ARP_THA:
                return (OFOxm<F>)((Object)arpThaMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case ARP_TPA:
                return (OFOxm<F>)((Object)arpTpaMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask()))));
            case BSN_EGR_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnEgrPortGroupIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask()))));
            case BSN_GLOBAL_VRF_ALLOWED:
                return (OFOxm<F>)((Object)bsnGlobalVrfAllowedMasked((OFBooleanValue)((Object)(masked.getValue())), (OFBooleanValue)((Object)(masked.getMask()))));
            case BSN_IN_PORTS_128:
                return (OFOxm<F>)((Object)bsnInPorts128Masked((OFBitMask128)((Object)(masked.getValue())), (OFBitMask128)((Object)(masked.getMask()))));
            case BSN_IN_PORTS_512:
                return (OFOxm<F>)((Object)bsnInPorts512Masked((OFBitMask512)((Object)(masked.getValue())), (OFBitMask512)((Object)(masked.getMask()))));
            case BSN_INGRESS_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnIngressPortGroupIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask()))));
            case BSN_L2_CACHE_HIT:
                return (OFOxm<F>)((Object)bsnL2CacheHitMasked((OFBooleanValue)((Object)(masked.getValue())), (OFBooleanValue)((Object)(masked.getMask()))));
            case BSN_L3_DST_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3DstClassIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask()))));
            case BSN_L3_INTERFACE_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3InterfaceClassIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask()))));
            case BSN_L3_SRC_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3SrcClassIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask()))));
            case BSN_LAG_ID:
                return (OFOxm<F>)((Object)bsnLagIdMasked((LagId)((Object)(masked.getValue())), (LagId)((Object)(masked.getMask()))));
            case BSN_TCP_FLAGS:
                return (OFOxm<F>)((Object)bsnTcpFlagsMasked((U16)((Object)(masked.getValue())), (U16)((Object)(masked.getMask()))));
            case BSN_UDF0:
                return (OFOxm<F>)((Object)bsnUdf0Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF1:
                return (OFOxm<F>)((Object)bsnUdf1Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF2:
                return (OFOxm<F>)((Object)bsnUdf2Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF3:
                return (OFOxm<F>)((Object)bsnUdf3Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF4:
                return (OFOxm<F>)((Object)bsnUdf4Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF5:
                return (OFOxm<F>)((Object)bsnUdf5Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF6:
                return (OFOxm<F>)((Object)bsnUdf6Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF7:
                return (OFOxm<F>)((Object)bsnUdf7Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_VLAN_XLATE_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnVlanXlatePortGroupIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask()))));
            case BSN_VRF:
                return (OFOxm<F>)((Object)bsnVrfMasked((VRF)((Object)(masked.getValue())), (VRF)((Object)(masked.getMask()))));
            case ETH_DST:
                return (OFOxm<F>)((Object)ethDstMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case ETH_SRC:
                return (OFOxm<F>)((Object)ethSrcMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case ETH_TYPE:
                return (OFOxm<F>)((Object)ethTypeMasked((EthType)((Object)(masked.getValue())), (EthType)((Object)(masked.getMask()))));
            case ICMPV4_CODE:
                return (OFOxm<F>)((Object)icmpv4CodeMasked((ICMPv4Code)((Object)(masked.getValue())), (ICMPv4Code)((Object)(masked.getMask()))));
            case ICMPV4_TYPE:
                return (OFOxm<F>)((Object)icmpv4TypeMasked((ICMPv4Type)((Object)(masked.getValue())), (ICMPv4Type)((Object)(masked.getMask()))));
            case ICMPV6_CODE:
                return (OFOxm<F>)((Object)icmpv6CodeMasked((U8)((Object)(masked.getValue())), (U8)((Object)(masked.getMask()))));
            case ICMPV6_TYPE:
                return (OFOxm<F>)((Object)icmpv6TypeMasked((U8)((Object)(masked.getValue())), (U8)((Object)(masked.getMask()))));
            case IN_PHY_PORT:
                return (OFOxm<F>)((Object)inPhyPortMasked((OFPort)((Object)(masked.getValue())), (OFPort)((Object)(masked.getMask()))));
            case IN_PORT:
                return (OFOxm<F>)((Object)inPortMasked((OFPort)((Object)(masked.getValue())), (OFPort)((Object)(masked.getMask()))));
            case IP_DSCP:
                return (OFOxm<F>)((Object)ipDscpMasked((IpDscp)((Object)(masked.getValue())), (IpDscp)((Object)(masked.getMask()))));
            case IP_ECN:
                return (OFOxm<F>)((Object)ipEcnMasked((IpEcn)((Object)(masked.getValue())), (IpEcn)((Object)(masked.getMask()))));
            case IP_PROTO:
                return (OFOxm<F>)((Object)ipProtoMasked((IpProtocol)((Object)(masked.getValue())), (IpProtocol)((Object)(masked.getMask()))));
            case IPV4_DST:
                return (OFOxm<F>)((Object)ipv4DstMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask()))));
            case IPV4_SRC:
                return (OFOxm<F>)((Object)ipv4SrcMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask()))));
            case IPV6_DST:
                return (OFOxm<F>)((Object)ipv6DstMasked((IPv6Address)((Object)(masked.getValue())), (IPv6Address)((Object)(masked.getMask()))));
            case IPV6_FLABEL:
                return (OFOxm<F>)((Object)ipv6FlabelMasked((IPv6FlowLabel)((Object)(masked.getValue())), (IPv6FlowLabel)((Object)(masked.getMask()))));
            case IPV6_ND_SLL:
                return (OFOxm<F>)((Object)ipv6NdSllMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case IPV6_ND_TARGET:
                return (OFOxm<F>)((Object)ipv6NdTargetMasked((IPv6Address)((Object)(masked.getValue())), (IPv6Address)((Object)(masked.getMask()))));
            case IPV6_ND_TLL:
                return (OFOxm<F>)((Object)ipv6NdTllMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case IPV6_SRC:
                return (OFOxm<F>)((Object)ipv6SrcMasked((IPv6Address)((Object)(masked.getValue())), (IPv6Address)((Object)(masked.getMask()))));
            case METADATA:
                return (OFOxm<F>)((Object)metadataMasked((OFMetadata)((Object)(masked.getValue())), (OFMetadata)((Object)(masked.getMask()))));
            case MPLS_LABEL:
                return (OFOxm<F>)((Object)mplsLabelMasked((U32)((Object)(masked.getValue())), (U32)((Object)(masked.getMask()))));
            case MPLS_TC:
                return (OFOxm<F>)((Object)mplsTcMasked((U8)((Object)(masked.getValue())), (U8)((Object)(masked.getMask()))));
            case SCTP_DST:
                return (OFOxm<F>)((Object)sctpDstMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask()))));
            case SCTP_SRC:
                return (OFOxm<F>)((Object)sctpSrcMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask()))));
            case TCP_DST:
                return (OFOxm<F>)((Object)tcpDstMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask()))));
            case TCP_SRC:
                return (OFOxm<F>)((Object)tcpSrcMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask()))));
            case TUNNEL_IPV4_DST:
                return (OFOxm<F>)((Object)tunnelIpv4DstMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask()))));
            case TUNNEL_IPV4_SRC:
                return (OFOxm<F>)((Object)tunnelIpv4SrcMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask()))));
            case UDP_DST:
                return (OFOxm<F>)((Object)udpDstMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask()))));
            case UDP_SRC:
                return (OFOxm<F>)((Object)udpSrcMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask()))));
            case VLAN_PCP:
                return (OFOxm<F>)((Object)vlanPcpMasked((VlanPcp)((Object)(masked.getValue())), (VlanPcp)((Object)(masked.getMask()))));
            case VLAN_VID:
                return (OFOxm<F>)((Object)vlanVidMasked((OFVlanVidMatch)((Object)(masked.getValue())), (OFVlanVidMatch)((Object)(masked.getMask()))));
            case BSN_INNER_ETH_DST:
                return (OFOxm<F>)((Object)bsnInnerEthDstMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case BSN_INNER_ETH_SRC:
                return (OFOxm<F>)((Object)bsnInnerEthSrcMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case BSN_VXLAN_NETWORK_ID:
                return (OFOxm<F>)((Object)bsnVxlanNetworkIdMasked((U32)((Object)(masked.getValue())), (U32)((Object)(masked.getMask()))));
            case IPV6_EXTHDR:
                return (OFOxm<F>)((Object)ipv6ExthdrMasked((U16)((Object)(masked.getValue())), (U16)((Object)(masked.getMask()))));
            case MPLS_BOS:
                return (OFOxm<F>)((Object)mplsBosMasked((OFBooleanValue)((Object)(masked.getValue())), (OFBooleanValue)((Object)(masked.getMask()))));
            case TUNNEL_ID:
                return (OFOxm<F>)((Object)tunnelIdMasked((U64)((Object)(masked.getValue())), (U64)((Object)(masked.getMask()))));
            case PBB_UCA:
                return (OFOxm<F>)((Object)pbbUcaMasked((OFBooleanValue)((Object)(masked.getValue())), (OFBooleanValue)((Object)(masked.getMask()))));
            default:
                return null;
        }
    }

    public OFVersion getVersion() {
            return OFVersion.OF_12;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFOxmsVer10.java987
org/projectfloodlight/openflow/protocol/ver11/OFOxmsVer11.java987
        throw new UnsupportedOperationException("Reader<OFOxm<?>> not supported in version 1.0");
    }

    @SuppressWarnings("unchecked")
    public <F extends OFValueType<F>> OFOxm<F> fromValue(F value, MatchField<F> field) {
        switch (field.id) {
            case ARP_OP:
                return (OFOxm<F>)((Object)arpOp((ArpOpcode)((Object)value)));
            case ARP_SHA:
                return (OFOxm<F>)((Object)arpSha((MacAddress)((Object)value)));
            case ARP_SPA:
                return (OFOxm<F>)((Object)arpSpa((IPv4Address)((Object)value)));
            case ARP_THA:
                return (OFOxm<F>)((Object)arpTha((MacAddress)((Object)value)));
            case ARP_TPA:
                return (OFOxm<F>)((Object)arpTpa((IPv4Address)((Object)value)));
            case BSN_EGR_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnEgrPortGroupId((ClassId)((Object)value)));
            case BSN_GLOBAL_VRF_ALLOWED:
                return (OFOxm<F>)((Object)bsnGlobalVrfAllowed((OFBooleanValue)((Object)value)));
            case BSN_IN_PORTS_128:
                return (OFOxm<F>)((Object)bsnInPorts128((OFBitMask128)((Object)value)));
            case BSN_IN_PORTS_512:
                return (OFOxm<F>)((Object)bsnInPorts512((OFBitMask512)((Object)value)));
            case BSN_INGRESS_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnIngressPortGroupId((ClassId)((Object)value)));
            case BSN_L2_CACHE_HIT:
                return (OFOxm<F>)((Object)bsnL2CacheHit((OFBooleanValue)((Object)value)));
            case BSN_L3_DST_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3DstClassId((ClassId)((Object)value)));
            case BSN_L3_INTERFACE_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3InterfaceClassId((ClassId)((Object)value)));
            case BSN_L3_SRC_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3SrcClassId((ClassId)((Object)value)));
            case BSN_LAG_ID:
                return (OFOxm<F>)((Object)bsnLagId((LagId)((Object)value)));
            case BSN_TCP_FLAGS:
                return (OFOxm<F>)((Object)bsnTcpFlags((U16)((Object)value)));
            case BSN_UDF0:
                return (OFOxm<F>)((Object)bsnUdf0((UDF)((Object)value)));
            case BSN_UDF1:
                return (OFOxm<F>)((Object)bsnUdf1((UDF)((Object)value)));
            case BSN_UDF2:
                return (OFOxm<F>)((Object)bsnUdf2((UDF)((Object)value)));
            case BSN_UDF3:
                return (OFOxm<F>)((Object)bsnUdf3((UDF)((Object)value)));
            case BSN_UDF4:
                return (OFOxm<F>)((Object)bsnUdf4((UDF)((Object)value)));
            case BSN_UDF5:
                return (OFOxm<F>)((Object)bsnUdf5((UDF)((Object)value)));
            case BSN_UDF6:
                return (OFOxm<F>)((Object)bsnUdf6((UDF)((Object)value)));
            case BSN_UDF7:
                return (OFOxm<F>)((Object)bsnUdf7((UDF)((Object)value)));
            case BSN_VLAN_XLATE_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnVlanXlatePortGroupId((ClassId)((Object)value)));
            case BSN_VRF:
                return (OFOxm<F>)((Object)bsnVrf((VRF)((Object)value)));
            case ETH_DST:
                return (OFOxm<F>)((Object)ethDst((MacAddress)((Object)value)));
            case ETH_SRC:
                return (OFOxm<F>)((Object)ethSrc((MacAddress)((Object)value)));
            case ETH_TYPE:
                return (OFOxm<F>)((Object)ethType((EthType)((Object)value)));
            case ICMPV4_CODE:
                return (OFOxm<F>)((Object)icmpv4Code((ICMPv4Code)((Object)value)));
            case ICMPV4_TYPE:
                return (OFOxm<F>)((Object)icmpv4Type((ICMPv4Type)((Object)value)));
            case ICMPV6_CODE:
                return (OFOxm<F>)((Object)icmpv6Code((U8)((Object)value)));
            case ICMPV6_TYPE:
                return (OFOxm<F>)((Object)icmpv6Type((U8)((Object)value)));
            case IN_PHY_PORT:
                return (OFOxm<F>)((Object)inPhyPort((OFPort)((Object)value)));
            case IN_PORT:
                return (OFOxm<F>)((Object)inPort((OFPort)((Object)value)));
            case IP_DSCP:
                return (OFOxm<F>)((Object)ipDscp((IpDscp)((Object)value)));
            case IP_ECN:
                return (OFOxm<F>)((Object)ipEcn((IpEcn)((Object)value)));
            case IP_PROTO:
                return (OFOxm<F>)((Object)ipProto((IpProtocol)((Object)value)));
            case IPV4_DST:
                return (OFOxm<F>)((Object)ipv4Dst((IPv4Address)((Object)value)));
            case IPV4_SRC:
                return (OFOxm<F>)((Object)ipv4Src((IPv4Address)((Object)value)));
            case IPV6_DST:
                return (OFOxm<F>)((Object)ipv6Dst((IPv6Address)((Object)value)));
            case IPV6_FLABEL:
                return (OFOxm<F>)((Object)ipv6Flabel((IPv6FlowLabel)((Object)value)));
            case IPV6_ND_SLL:
                return (OFOxm<F>)((Object)ipv6NdSll((MacAddress)((Object)value)));
            case IPV6_ND_TARGET:
                return (OFOxm<F>)((Object)ipv6NdTarget((IPv6Address)((Object)value)));
            case IPV6_ND_TLL:
                return (OFOxm<F>)((Object)ipv6NdTll((MacAddress)((Object)value)));
            case IPV6_SRC:
                return (OFOxm<F>)((Object)ipv6Src((IPv6Address)((Object)value)));
            case METADATA:
                return (OFOxm<F>)((Object)metadata((OFMetadata)((Object)value)));
            case MPLS_LABEL:
                return (OFOxm<F>)((Object)mplsLabel((U32)((Object)value)));
            case MPLS_TC:
                return (OFOxm<F>)((Object)mplsTc((U8)((Object)value)));
            case SCTP_DST:
                return (OFOxm<F>)((Object)sctpDst((TransportPort)((Object)value)));
            case SCTP_SRC:
                return (OFOxm<F>)((Object)sctpSrc((TransportPort)((Object)value)));
            case TCP_DST:
                return (OFOxm<F>)((Object)tcpDst((TransportPort)((Object)value)));
            case TCP_SRC:
                return (OFOxm<F>)((Object)tcpSrc((TransportPort)((Object)value)));
            case TUNNEL_IPV4_DST:
                return (OFOxm<F>)((Object)tunnelIpv4Dst((IPv4Address)((Object)value)));
            case TUNNEL_IPV4_SRC:
                return (OFOxm<F>)((Object)tunnelIpv4Src((IPv4Address)((Object)value)));
            case UDP_DST:
                return (OFOxm<F>)((Object)udpDst((TransportPort)((Object)value)));
            case UDP_SRC:
                return (OFOxm<F>)((Object)udpSrc((TransportPort)((Object)value)));
            case VLAN_PCP:
                return (OFOxm<F>)((Object)vlanPcp((VlanPcp)((Object)value)));
            case VLAN_VID:
                return (OFOxm<F>)((Object)vlanVid((OFVlanVidMatch)((Object)value)));
            case BSN_INNER_ETH_DST:
                return (OFOxm<F>)((Object)bsnInnerEthDst((MacAddress)((Object)value)));
            case BSN_INNER_ETH_SRC:
                return (OFOxm<F>)((Object)bsnInnerEthSrc((MacAddress)((Object)value)));
            case BSN_VXLAN_NETWORK_ID:
                return (OFOxm<F>)((Object)bsnVxlanNetworkId((U32)((Object)value)));
            case IPV6_EXTHDR:
                return (OFOxm<F>)((Object)ipv6Exthdr((U16)((Object)value)));
            case MPLS_BOS:
                return (OFOxm<F>)((Object)mplsBos((OFBooleanValue)((Object)value)));
            case OCH_SIGID:
                return (OFOxm<F>)((Object)ochSigid((CircuitSignalID)((Object)value)));
            case OCH_SIGID_BASIC:
                return (OFOxm<F>)((Object)ochSigidBasic((CircuitSignalID)((Object)value)));
            case OCH_SIGTYPE:
                return (OFOxm<F>)((Object)ochSigtype((U8)((Object)value)));
            case OCH_SIGTYPE_BASIC:
                return (OFOxm<F>)((Object)ochSigtypeBasic((U8)((Object)value)));
            case TUNNEL_ID:
                return (OFOxm<F>)((Object)tunnelId((U64)((Object)value)));
            case PBB_UCA:
                return (OFOxm<F>)((Object)pbbUca((OFBooleanValue)((Object)value)));
            default:
                throw new IllegalArgumentException("No OXM known for match field " + field);
        }
    }

    @SuppressWarnings("unchecked")
    public <F extends OFValueType<F>> OFOxm<F> fromValueAndMask(F value, F mask, MatchField<F> field) {
        switch (field.id) {
            case ARP_OP:
                return (OFOxm<F>)((Object)arpOpMasked((ArpOpcode)((Object)value), (ArpOpcode)((Object)mask)));
            case ARP_SHA:
                return (OFOxm<F>)((Object)arpShaMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case ARP_SPA:
                return (OFOxm<F>)((Object)arpSpaMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask)));
            case ARP_THA:
                return (OFOxm<F>)((Object)arpThaMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case ARP_TPA:
                return (OFOxm<F>)((Object)arpTpaMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask)));
            case BSN_EGR_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnEgrPortGroupIdMasked((ClassId)((Object)value), (ClassId)((Object)mask)));
            case BSN_GLOBAL_VRF_ALLOWED:
                return (OFOxm<F>)((Object)bsnGlobalVrfAllowedMasked((OFBooleanValue)((Object)value), (OFBooleanValue)((Object)mask)));
            case BSN_IN_PORTS_128:
                return (OFOxm<F>)((Object)bsnInPorts128Masked((OFBitMask128)((Object)value), (OFBitMask128)((Object)mask)));
            case BSN_IN_PORTS_512:
                return (OFOxm<F>)((Object)bsnInPorts512Masked((OFBitMask512)((Object)value), (OFBitMask512)((Object)mask)));
            case BSN_INGRESS_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnIngressPortGroupIdMasked((ClassId)((Object)value), (ClassId)((Object)mask)));
            case BSN_L2_CACHE_HIT:
                return (OFOxm<F>)((Object)bsnL2CacheHitMasked((OFBooleanValue)((Object)value), (OFBooleanValue)((Object)mask)));
            case BSN_L3_DST_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3DstClassIdMasked((ClassId)((Object)value), (ClassId)((Object)mask)));
            case BSN_L3_INTERFACE_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3InterfaceClassIdMasked((ClassId)((Object)value), (ClassId)((Object)mask)));
            case BSN_L3_SRC_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3SrcClassIdMasked((ClassId)((Object)value), (ClassId)((Object)mask)));
            case BSN_LAG_ID:
                return (OFOxm<F>)((Object)bsnLagIdMasked((LagId)((Object)value), (LagId)((Object)mask)));
            case BSN_TCP_FLAGS:
                return (OFOxm<F>)((Object)bsnTcpFlagsMasked((U16)((Object)value), (U16)((Object)mask)));
            case BSN_UDF0:
                return (OFOxm<F>)((Object)bsnUdf0Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF1:
                return (OFOxm<F>)((Object)bsnUdf1Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF2:
                return (OFOxm<F>)((Object)bsnUdf2Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF3:
                return (OFOxm<F>)((Object)bsnUdf3Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF4:
                return (OFOxm<F>)((Object)bsnUdf4Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF5:
                return (OFOxm<F>)((Object)bsnUdf5Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF6:
                return (OFOxm<F>)((Object)bsnUdf6Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF7:
                return (OFOxm<F>)((Object)bsnUdf7Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_VLAN_XLATE_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnVlanXlatePortGroupIdMasked((ClassId)((Object)value), (ClassId)((Object)mask)));
            case BSN_VRF:
                return (OFOxm<F>)((Object)bsnVrfMasked((VRF)((Object)value), (VRF)((Object)mask)));
            case ETH_DST:
                return (OFOxm<F>)((Object)ethDstMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case ETH_SRC:
                return (OFOxm<F>)((Object)ethSrcMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case ETH_TYPE:
                return (OFOxm<F>)((Object)ethTypeMasked((EthType)((Object)value), (EthType)((Object)mask)));
            case ICMPV4_CODE:
                return (OFOxm<F>)((Object)icmpv4CodeMasked((ICMPv4Code)((Object)value), (ICMPv4Code)((Object)mask)));
            case ICMPV4_TYPE:
                return (OFOxm<F>)((Object)icmpv4TypeMasked((ICMPv4Type)((Object)value), (ICMPv4Type)((Object)mask)));
            case ICMPV6_CODE:
                return (OFOxm<F>)((Object)icmpv6CodeMasked((U8)((Object)value), (U8)((Object)mask)));
            case ICMPV6_TYPE:
                return (OFOxm<F>)((Object)icmpv6TypeMasked((U8)((Object)value), (U8)((Object)mask)));
            case IN_PHY_PORT:
                return (OFOxm<F>)((Object)inPhyPortMasked((OFPort)((Object)value), (OFPort)((Object)mask)));
            case IN_PORT:
                return (OFOxm<F>)((Object)inPortMasked((OFPort)((Object)value), (OFPort)((Object)mask)));
            case IP_DSCP:
                return (OFOxm<F>)((Object)ipDscpMasked((IpDscp)((Object)value), (IpDscp)((Object)mask)));
            case IP_ECN:
                return (OFOxm<F>)((Object)ipEcnMasked((IpEcn)((Object)value), (IpEcn)((Object)mask)));
            case IP_PROTO:
                return (OFOxm<F>)((Object)ipProtoMasked((IpProtocol)((Object)value), (IpProtocol)((Object)mask)));
            case IPV4_DST:
                return (OFOxm<F>)((Object)ipv4DstMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask)));
            case IPV4_SRC:
                return (OFOxm<F>)((Object)ipv4SrcMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask)));
            case IPV6_DST:
                return (OFOxm<F>)((Object)ipv6DstMasked((IPv6Address)((Object)value), (IPv6Address)((Object)mask)));
            case IPV6_FLABEL:
                return (OFOxm<F>)((Object)ipv6FlabelMasked((IPv6FlowLabel)((Object)value), (IPv6FlowLabel)((Object)mask)));
            case IPV6_ND_SLL:
                return (OFOxm<F>)((Object)ipv6NdSllMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case IPV6_ND_TARGET:
                return (OFOxm<F>)((Object)ipv6NdTargetMasked((IPv6Address)((Object)value), (IPv6Address)((Object)mask)));
            case IPV6_ND_TLL:
                return (OFOxm<F>)((Object)ipv6NdTllMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case IPV6_SRC:
                return (OFOxm<F>)((Object)ipv6SrcMasked((IPv6Address)((Object)value), (IPv6Address)((Object)mask)));
            case METADATA:
                return (OFOxm<F>)((Object)metadataMasked((OFMetadata)((Object)value), (OFMetadata)((Object)mask)));
            case MPLS_LABEL:
                return (OFOxm<F>)((Object)mplsLabelMasked((U32)((Object)value), (U32)((Object)mask)));
            case MPLS_TC:
                return (OFOxm<F>)((Object)mplsTcMasked((U8)((Object)value), (U8)((Object)mask)));
            case SCTP_DST:
                return (OFOxm<F>)((Object)sctpDstMasked((TransportPort)((Object)value), (TransportPort)((Object)mask)));
            case SCTP_SRC:
                return (OFOxm<F>)((Object)sctpSrcMasked((TransportPort)((Object)value), (TransportPort)((Object)mask)));
            case TCP_DST:
                return (OFOxm<F>)((Object)tcpDstMasked((TransportPort)((Object)value), (TransportPort)((Object)mask)));
            case TCP_SRC:
                return (OFOxm<F>)((Object)tcpSrcMasked((TransportPort)((Object)value), (TransportPort)((Object)mask)));
            case TUNNEL_IPV4_DST:
                return (OFOxm<F>)((Object)tunnelIpv4DstMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask)));
            case TUNNEL_IPV4_SRC:
                return (OFOxm<F>)((Object)tunnelIpv4SrcMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask)));
            case UDP_DST:
                return (OFOxm<F>)((Object)udpDstMasked((TransportPort)((Object)value), (TransportPort)((Object)mask)));
            case UDP_SRC:
                return (OFOxm<F>)((Object)udpSrcMasked((TransportPort)((Object)value), (TransportPort)((Object)mask)));
            case VLAN_PCP:
                return (OFOxm<F>)((Object)vlanPcpMasked((VlanPcp)((Object)value), (VlanPcp)((Object)mask)));
            case VLAN_VID:
                return (OFOxm<F>)((Object)vlanVidMasked((OFVlanVidMatch)((Object)value), (OFVlanVidMatch)((Object)mask)));
            case BSN_INNER_ETH_DST:
                return (OFOxm<F>)((Object)bsnInnerEthDstMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case BSN_INNER_ETH_SRC:
                return (OFOxm<F>)((Object)bsnInnerEthSrcMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case BSN_VXLAN_NETWORK_ID:
                return (OFOxm<F>)((Object)bsnVxlanNetworkIdMasked((U32)((Object)value), (U32)((Object)mask)));
            case IPV6_EXTHDR:
                return (OFOxm<F>)((Object)ipv6ExthdrMasked((U16)((Object)value), (U16)((Object)mask)));
            case MPLS_BOS:
                return (OFOxm<F>)((Object)mplsBosMasked((OFBooleanValue)((Object)value), (OFBooleanValue)((Object)mask)));
            case TUNNEL_ID:
                return (OFOxm<F>)((Object)tunnelIdMasked((U64)((Object)value), (U64)((Object)mask)));
            case PBB_UCA:
                return (OFOxm<F>)((Object)pbbUcaMasked((OFBooleanValue)((Object)value), (OFBooleanValue)((Object)mask)));
            default:
                throw new IllegalArgumentException("No OXM known for match field " + field);
        }
    }

    @SuppressWarnings("unchecked")
    public <F extends OFValueType<F>> OFOxm<F> fromMasked(Masked<F> masked, MatchField<F> field) {
        switch (field.id) {
            case ARP_OP:
                return (OFOxm<F>)((Object)arpOpMasked((ArpOpcode)((Object)(masked.getValue())), (ArpOpcode)((Object)(masked.getMask()))));
            case ARP_SHA:
                return (OFOxm<F>)((Object)arpShaMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case ARP_SPA:
                return (OFOxm<F>)((Object)arpSpaMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask()))));
            case ARP_THA:
                return (OFOxm<F>)((Object)arpThaMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case ARP_TPA:
                return (OFOxm<F>)((Object)arpTpaMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask()))));
            case BSN_EGR_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnEgrPortGroupIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask()))));
            case BSN_GLOBAL_VRF_ALLOWED:
                return (OFOxm<F>)((Object)bsnGlobalVrfAllowedMasked((OFBooleanValue)((Object)(masked.getValue())), (OFBooleanValue)((Object)(masked.getMask()))));
            case BSN_IN_PORTS_128:
                return (OFOxm<F>)((Object)bsnInPorts128Masked((OFBitMask128)((Object)(masked.getValue())), (OFBitMask128)((Object)(masked.getMask()))));
            case BSN_IN_PORTS_512:
                return (OFOxm<F>)((Object)bsnInPorts512Masked((OFBitMask512)((Object)(masked.getValue())), (OFBitMask512)((Object)(masked.getMask()))));
            case BSN_INGRESS_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnIngressPortGroupIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask()))));
            case BSN_L2_CACHE_HIT:
                return (OFOxm<F>)((Object)bsnL2CacheHitMasked((OFBooleanValue)((Object)(masked.getValue())), (OFBooleanValue)((Object)(masked.getMask()))));
            case BSN_L3_DST_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3DstClassIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask()))));
            case BSN_L3_INTERFACE_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3InterfaceClassIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask()))));
            case BSN_L3_SRC_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3SrcClassIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask()))));
            case BSN_LAG_ID:
                return (OFOxm<F>)((Object)bsnLagIdMasked((LagId)((Object)(masked.getValue())), (LagId)((Object)(masked.getMask()))));
            case BSN_TCP_FLAGS:
                return (OFOxm<F>)((Object)bsnTcpFlagsMasked((U16)((Object)(masked.getValue())), (U16)((Object)(masked.getMask()))));
            case BSN_UDF0:
                return (OFOxm<F>)((Object)bsnUdf0Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF1:
                return (OFOxm<F>)((Object)bsnUdf1Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF2:
                return (OFOxm<F>)((Object)bsnUdf2Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF3:
                return (OFOxm<F>)((Object)bsnUdf3Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF4:
                return (OFOxm<F>)((Object)bsnUdf4Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF5:
                return (OFOxm<F>)((Object)bsnUdf5Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF6:
                return (OFOxm<F>)((Object)bsnUdf6Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF7:
                return (OFOxm<F>)((Object)bsnUdf7Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_VLAN_XLATE_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnVlanXlatePortGroupIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask()))));
            case BSN_VRF:
                return (OFOxm<F>)((Object)bsnVrfMasked((VRF)((Object)(masked.getValue())), (VRF)((Object)(masked.getMask()))));
            case ETH_DST:
                return (OFOxm<F>)((Object)ethDstMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case ETH_SRC:
                return (OFOxm<F>)((Object)ethSrcMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case ETH_TYPE:
                return (OFOxm<F>)((Object)ethTypeMasked((EthType)((Object)(masked.getValue())), (EthType)((Object)(masked.getMask()))));
            case ICMPV4_CODE:
                return (OFOxm<F>)((Object)icmpv4CodeMasked((ICMPv4Code)((Object)(masked.getValue())), (ICMPv4Code)((Object)(masked.getMask()))));
            case ICMPV4_TYPE:
                return (OFOxm<F>)((Object)icmpv4TypeMasked((ICMPv4Type)((Object)(masked.getValue())), (ICMPv4Type)((Object)(masked.getMask()))));
            case ICMPV6_CODE:
                return (OFOxm<F>)((Object)icmpv6CodeMasked((U8)((Object)(masked.getValue())), (U8)((Object)(masked.getMask()))));
            case ICMPV6_TYPE:
                return (OFOxm<F>)((Object)icmpv6TypeMasked((U8)((Object)(masked.getValue())), (U8)((Object)(masked.getMask()))));
            case IN_PHY_PORT:
                return (OFOxm<F>)((Object)inPhyPortMasked((OFPort)((Object)(masked.getValue())), (OFPort)((Object)(masked.getMask()))));
            case IN_PORT:
                return (OFOxm<F>)((Object)inPortMasked((OFPort)((Object)(masked.getValue())), (OFPort)((Object)(masked.getMask()))));
            case IP_DSCP:
                return (OFOxm<F>)((Object)ipDscpMasked((IpDscp)((Object)(masked.getValue())), (IpDscp)((Object)(masked.getMask()))));
            case IP_ECN:
                return (OFOxm<F>)((Object)ipEcnMasked((IpEcn)((Object)(masked.getValue())), (IpEcn)((Object)(masked.getMask()))));
            case IP_PROTO:
                return (OFOxm<F>)((Object)ipProtoMasked((IpProtocol)((Object)(masked.getValue())), (IpProtocol)((Object)(masked.getMask()))));
            case IPV4_DST:
                return (OFOxm<F>)((Object)ipv4DstMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask()))));
            case IPV4_SRC:
                return (OFOxm<F>)((Object)ipv4SrcMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask()))));
            case IPV6_DST:
                return (OFOxm<F>)((Object)ipv6DstMasked((IPv6Address)((Object)(masked.getValue())), (IPv6Address)((Object)(masked.getMask()))));
            case IPV6_FLABEL:
                return (OFOxm<F>)((Object)ipv6FlabelMasked((IPv6FlowLabel)((Object)(masked.getValue())), (IPv6FlowLabel)((Object)(masked.getMask()))));
            case IPV6_ND_SLL:
                return (OFOxm<F>)((Object)ipv6NdSllMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case IPV6_ND_TARGET:
                return (OFOxm<F>)((Object)ipv6NdTargetMasked((IPv6Address)((Object)(masked.getValue())), (IPv6Address)((Object)(masked.getMask()))));
            case IPV6_ND_TLL:
                return (OFOxm<F>)((Object)ipv6NdTllMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case IPV6_SRC:
                return (OFOxm<F>)((Object)ipv6SrcMasked((IPv6Address)((Object)(masked.getValue())), (IPv6Address)((Object)(masked.getMask()))));
            case METADATA:
                return (OFOxm<F>)((Object)metadataMasked((OFMetadata)((Object)(masked.getValue())), (OFMetadata)((Object)(masked.getMask()))));
            case MPLS_LABEL:
                return (OFOxm<F>)((Object)mplsLabelMasked((U32)((Object)(masked.getValue())), (U32)((Object)(masked.getMask()))));
            case MPLS_TC:
                return (OFOxm<F>)((Object)mplsTcMasked((U8)((Object)(masked.getValue())), (U8)((Object)(masked.getMask()))));
            case SCTP_DST:
                return (OFOxm<F>)((Object)sctpDstMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask()))));
            case SCTP_SRC:
                return (OFOxm<F>)((Object)sctpSrcMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask()))));
            case TCP_DST:
                return (OFOxm<F>)((Object)tcpDstMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask()))));
            case TCP_SRC:
                return (OFOxm<F>)((Object)tcpSrcMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask()))));
            case TUNNEL_IPV4_DST:
                return (OFOxm<F>)((Object)tunnelIpv4DstMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask()))));
            case TUNNEL_IPV4_SRC:
                return (OFOxm<F>)((Object)tunnelIpv4SrcMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask()))));
            case UDP_DST:
                return (OFOxm<F>)((Object)udpDstMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask()))));
            case UDP_SRC:
                return (OFOxm<F>)((Object)udpSrcMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask()))));
            case VLAN_PCP:
                return (OFOxm<F>)((Object)vlanPcpMasked((VlanPcp)((Object)(masked.getValue())), (VlanPcp)((Object)(masked.getMask()))));
            case VLAN_VID:
                return (OFOxm<F>)((Object)vlanVidMasked((OFVlanVidMatch)((Object)(masked.getValue())), (OFVlanVidMatch)((Object)(masked.getMask()))));
            case BSN_INNER_ETH_DST:
                return (OFOxm<F>)((Object)bsnInnerEthDstMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case BSN_INNER_ETH_SRC:
                return (OFOxm<F>)((Object)bsnInnerEthSrcMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case BSN_VXLAN_NETWORK_ID:
                return (OFOxm<F>)((Object)bsnVxlanNetworkIdMasked((U32)((Object)(masked.getValue())), (U32)((Object)(masked.getMask()))));
            case IPV6_EXTHDR:
                return (OFOxm<F>)((Object)ipv6ExthdrMasked((U16)((Object)(masked.getValue())), (U16)((Object)(masked.getMask()))));
            case MPLS_BOS:
                return (OFOxm<F>)((Object)mplsBosMasked((OFBooleanValue)((Object)(masked.getValue())), (OFBooleanValue)((Object)(masked.getMask()))));
            case TUNNEL_ID:
                return (OFOxm<F>)((Object)tunnelIdMasked((U64)((Object)(masked.getValue())), (U64)((Object)(masked.getMask()))));
            case PBB_UCA:
                return (OFOxm<F>)((Object)pbbUcaMasked((OFBooleanValue)((Object)(masked.getValue())), (OFBooleanValue)((Object)(masked.getMask()))));
            default:
                return null;
        }
    }

    public OFVersion getVersion() {
            return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFOxmsVer10.java988
org/projectfloodlight/openflow/protocol/ver11/OFOxmsVer11.java988
org/projectfloodlight/openflow/protocol/ver12/OFOxmsVer12.java1283
org/projectfloodlight/openflow/protocol/ver13/OFOxmsVer13.java1321
org/projectfloodlight/openflow/protocol/ver14/OFOxmsVer14.java1303
    }

    @SuppressWarnings("unchecked")
    public <F extends OFValueType<F>> OFOxm<F> fromValue(F value, MatchField<F> field) {
        switch (field.id) {
            case ARP_OP:
                return (OFOxm<F>)((Object)arpOp((ArpOpcode)((Object)value)));
            case ARP_SHA:
                return (OFOxm<F>)((Object)arpSha((MacAddress)((Object)value)));
            case ARP_SPA:
                return (OFOxm<F>)((Object)arpSpa((IPv4Address)((Object)value)));
            case ARP_THA:
                return (OFOxm<F>)((Object)arpTha((MacAddress)((Object)value)));
            case ARP_TPA:
                return (OFOxm<F>)((Object)arpTpa((IPv4Address)((Object)value)));
            case BSN_EGR_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnEgrPortGroupId((ClassId)((Object)value)));
            case BSN_GLOBAL_VRF_ALLOWED:
                return (OFOxm<F>)((Object)bsnGlobalVrfAllowed((OFBooleanValue)((Object)value)));
            case BSN_IN_PORTS_128:
                return (OFOxm<F>)((Object)bsnInPorts128((OFBitMask128)((Object)value)));
            case BSN_IN_PORTS_512:
                return (OFOxm<F>)((Object)bsnInPorts512((OFBitMask512)((Object)value)));
            case BSN_INGRESS_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnIngressPortGroupId((ClassId)((Object)value)));
            case BSN_L2_CACHE_HIT:
                return (OFOxm<F>)((Object)bsnL2CacheHit((OFBooleanValue)((Object)value)));
            case BSN_L3_DST_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3DstClassId((ClassId)((Object)value)));
            case BSN_L3_INTERFACE_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3InterfaceClassId((ClassId)((Object)value)));
            case BSN_L3_SRC_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3SrcClassId((ClassId)((Object)value)));
            case BSN_LAG_ID:
                return (OFOxm<F>)((Object)bsnLagId((LagId)((Object)value)));
            case BSN_TCP_FLAGS:
                return (OFOxm<F>)((Object)bsnTcpFlags((U16)((Object)value)));
            case BSN_UDF0:
                return (OFOxm<F>)((Object)bsnUdf0((UDF)((Object)value)));
            case BSN_UDF1:
                return (OFOxm<F>)((Object)bsnUdf1((UDF)((Object)value)));
            case BSN_UDF2:
                return (OFOxm<F>)((Object)bsnUdf2((UDF)((Object)value)));
            case BSN_UDF3:
                return (OFOxm<F>)((Object)bsnUdf3((UDF)((Object)value)));
            case BSN_UDF4:
                return (OFOxm<F>)((Object)bsnUdf4((UDF)((Object)value)));
            case BSN_UDF5:
                return (OFOxm<F>)((Object)bsnUdf5((UDF)((Object)value)));
            case BSN_UDF6:
                return (OFOxm<F>)((Object)bsnUdf6((UDF)((Object)value)));
            case BSN_UDF7:
                return (OFOxm<F>)((Object)bsnUdf7((UDF)((Object)value)));
            case BSN_VLAN_XLATE_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnVlanXlatePortGroupId((ClassId)((Object)value)));
            case BSN_VRF:
                return (OFOxm<F>)((Object)bsnVrf((VRF)((Object)value)));
            case ETH_DST:
                return (OFOxm<F>)((Object)ethDst((MacAddress)((Object)value)));
            case ETH_SRC:
                return (OFOxm<F>)((Object)ethSrc((MacAddress)((Object)value)));
            case ETH_TYPE:
                return (OFOxm<F>)((Object)ethType((EthType)((Object)value)));
            case ICMPV4_CODE:
                return (OFOxm<F>)((Object)icmpv4Code((ICMPv4Code)((Object)value)));
            case ICMPV4_TYPE:
                return (OFOxm<F>)((Object)icmpv4Type((ICMPv4Type)((Object)value)));
            case ICMPV6_CODE:
                return (OFOxm<F>)((Object)icmpv6Code((U8)((Object)value)));
            case ICMPV6_TYPE:
                return (OFOxm<F>)((Object)icmpv6Type((U8)((Object)value)));
            case IN_PHY_PORT:
                return (OFOxm<F>)((Object)inPhyPort((OFPort)((Object)value)));
            case IN_PORT:
                return (OFOxm<F>)((Object)inPort((OFPort)((Object)value)));
            case IP_DSCP:
                return (OFOxm<F>)((Object)ipDscp((IpDscp)((Object)value)));
            case IP_ECN:
                return (OFOxm<F>)((Object)ipEcn((IpEcn)((Object)value)));
            case IP_PROTO:
                return (OFOxm<F>)((Object)ipProto((IpProtocol)((Object)value)));
            case IPV4_DST:
                return (OFOxm<F>)((Object)ipv4Dst((IPv4Address)((Object)value)));
            case IPV4_SRC:
                return (OFOxm<F>)((Object)ipv4Src((IPv4Address)((Object)value)));
            case IPV6_DST:
                return (OFOxm<F>)((Object)ipv6Dst((IPv6Address)((Object)value)));
            case IPV6_FLABEL:
                return (OFOxm<F>)((Object)ipv6Flabel((IPv6FlowLabel)((Object)value)));
            case IPV6_ND_SLL:
                return (OFOxm<F>)((Object)ipv6NdSll((MacAddress)((Object)value)));
            case IPV6_ND_TARGET:
                return (OFOxm<F>)((Object)ipv6NdTarget((IPv6Address)((Object)value)));
            case IPV6_ND_TLL:
                return (OFOxm<F>)((Object)ipv6NdTll((MacAddress)((Object)value)));
            case IPV6_SRC:
                return (OFOxm<F>)((Object)ipv6Src((IPv6Address)((Object)value)));
            case METADATA:
                return (OFOxm<F>)((Object)metadata((OFMetadata)((Object)value)));
            case MPLS_LABEL:
                return (OFOxm<F>)((Object)mplsLabel((U32)((Object)value)));
            case MPLS_TC:
                return (OFOxm<F>)((Object)mplsTc((U8)((Object)value)));
            case SCTP_DST:
                return (OFOxm<F>)((Object)sctpDst((TransportPort)((Object)value)));
            case SCTP_SRC:
                return (OFOxm<F>)((Object)sctpSrc((TransportPort)((Object)value)));
            case TCP_DST:
                return (OFOxm<F>)((Object)tcpDst((TransportPort)((Object)value)));
            case TCP_SRC:
                return (OFOxm<F>)((Object)tcpSrc((TransportPort)((Object)value)));
            case TUNNEL_IPV4_DST:
                return (OFOxm<F>)((Object)tunnelIpv4Dst((IPv4Address)((Object)value)));
            case TUNNEL_IPV4_SRC:
                return (OFOxm<F>)((Object)tunnelIpv4Src((IPv4Address)((Object)value)));
            case UDP_DST:
                return (OFOxm<F>)((Object)udpDst((TransportPort)((Object)value)));
            case UDP_SRC:
                return (OFOxm<F>)((Object)udpSrc((TransportPort)((Object)value)));
            case VLAN_PCP:
                return (OFOxm<F>)((Object)vlanPcp((VlanPcp)((Object)value)));
            case VLAN_VID:
                return (OFOxm<F>)((Object)vlanVid((OFVlanVidMatch)((Object)value)));
            case BSN_INNER_ETH_DST:
                return (OFOxm<F>)((Object)bsnInnerEthDst((MacAddress)((Object)value)));
            case BSN_INNER_ETH_SRC:
                return (OFOxm<F>)((Object)bsnInnerEthSrc((MacAddress)((Object)value)));
            case BSN_VXLAN_NETWORK_ID:
                return (OFOxm<F>)((Object)bsnVxlanNetworkId((U32)((Object)value)));
            case IPV6_EXTHDR:
                return (OFOxm<F>)((Object)ipv6Exthdr((U16)((Object)value)));
            case MPLS_BOS:
                return (OFOxm<F>)((Object)mplsBos((OFBooleanValue)((Object)value)));
            case OCH_SIGID:
                return (OFOxm<F>)((Object)ochSigid((CircuitSignalID)((Object)value)));
            case OCH_SIGID_BASIC:
                return (OFOxm<F>)((Object)ochSigidBasic((CircuitSignalID)((Object)value)));
            case OCH_SIGTYPE:
                return (OFOxm<F>)((Object)ochSigtype((U8)((Object)value)));
            case OCH_SIGTYPE_BASIC:
                return (OFOxm<F>)((Object)ochSigtypeBasic((U8)((Object)value)));
            case TUNNEL_ID:
                return (OFOxm<F>)((Object)tunnelId((U64)((Object)value)));
            case PBB_UCA:
                return (OFOxm<F>)((Object)pbbUca((OFBooleanValue)((Object)value)));
            default:
                throw new IllegalArgumentException("No OXM known for match field " + field);
        }
    }

    @SuppressWarnings("unchecked")
    public <F extends OFValueType<F>> OFOxm<F> fromValueAndMask(F value, F mask, MatchField<F> field) {
        switch (field.id) {
            case ARP_OP:
                return (OFOxm<F>)((Object)arpOpMasked((ArpOpcode)((Object)value), (ArpOpcode)((Object)mask)));
            case ARP_SHA:
                return (OFOxm<F>)((Object)arpShaMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case ARP_SPA:
                return (OFOxm<F>)((Object)arpSpaMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask)));
            case ARP_THA:
                return (OFOxm<F>)((Object)arpThaMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case ARP_TPA:
                return (OFOxm<F>)((Object)arpTpaMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask)));
            case BSN_EGR_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnEgrPortGroupIdMasked((ClassId)((Object)value), (ClassId)((Object)mask)));
            case BSN_GLOBAL_VRF_ALLOWED:
                return (OFOxm<F>)((Object)bsnGlobalVrfAllowedMasked((OFBooleanValue)((Object)value), (OFBooleanValue)((Object)mask)));
            case BSN_IN_PORTS_128:
                return (OFOxm<F>)((Object)bsnInPorts128Masked((OFBitMask128)((Object)value), (OFBitMask128)((Object)mask)));
            case BSN_IN_PORTS_512:
                return (OFOxm<F>)((Object)bsnInPorts512Masked((OFBitMask512)((Object)value), (OFBitMask512)((Object)mask)));
            case BSN_INGRESS_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnIngressPortGroupIdMasked((ClassId)((Object)value), (ClassId)((Object)mask)));
            case BSN_L2_CACHE_HIT:
                return (OFOxm<F>)((Object)bsnL2CacheHitMasked((OFBooleanValue)((Object)value), (OFBooleanValue)((Object)mask)));
            case BSN_L3_DST_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3DstClassIdMasked((ClassId)((Object)value), (ClassId)((Object)mask)));
            case BSN_L3_INTERFACE_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3InterfaceClassIdMasked((ClassId)((Object)value), (ClassId)((Object)mask)));
            case BSN_L3_SRC_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3SrcClassIdMasked((ClassId)((Object)value), (ClassId)((Object)mask)));
            case BSN_LAG_ID:
                return (OFOxm<F>)((Object)bsnLagIdMasked((LagId)((Object)value), (LagId)((Object)mask)));
            case BSN_TCP_FLAGS:
                return (OFOxm<F>)((Object)bsnTcpFlagsMasked((U16)((Object)value), (U16)((Object)mask)));
            case BSN_UDF0:
                return (OFOxm<F>)((Object)bsnUdf0Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF1:
                return (OFOxm<F>)((Object)bsnUdf1Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF2:
                return (OFOxm<F>)((Object)bsnUdf2Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF3:
                return (OFOxm<F>)((Object)bsnUdf3Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF4:
                return (OFOxm<F>)((Object)bsnUdf4Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF5:
                return (OFOxm<F>)((Object)bsnUdf5Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF6:
                return (OFOxm<F>)((Object)bsnUdf6Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_UDF7:
                return (OFOxm<F>)((Object)bsnUdf7Masked((UDF)((Object)value), (UDF)((Object)mask)));
            case BSN_VLAN_XLATE_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnVlanXlatePortGroupIdMasked((ClassId)((Object)value), (ClassId)((Object)mask)));
            case BSN_VRF:
                return (OFOxm<F>)((Object)bsnVrfMasked((VRF)((Object)value), (VRF)((Object)mask)));
            case ETH_DST:
                return (OFOxm<F>)((Object)ethDstMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case ETH_SRC:
                return (OFOxm<F>)((Object)ethSrcMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case ETH_TYPE:
                return (OFOxm<F>)((Object)ethTypeMasked((EthType)((Object)value), (EthType)((Object)mask)));
            case ICMPV4_CODE:
                return (OFOxm<F>)((Object)icmpv4CodeMasked((ICMPv4Code)((Object)value), (ICMPv4Code)((Object)mask)));
            case ICMPV4_TYPE:
                return (OFOxm<F>)((Object)icmpv4TypeMasked((ICMPv4Type)((Object)value), (ICMPv4Type)((Object)mask)));
            case ICMPV6_CODE:
                return (OFOxm<F>)((Object)icmpv6CodeMasked((U8)((Object)value), (U8)((Object)mask)));
            case ICMPV6_TYPE:
                return (OFOxm<F>)((Object)icmpv6TypeMasked((U8)((Object)value), (U8)((Object)mask)));
            case IN_PHY_PORT:
                return (OFOxm<F>)((Object)inPhyPortMasked((OFPort)((Object)value), (OFPort)((Object)mask)));
            case IN_PORT:
                return (OFOxm<F>)((Object)inPortMasked((OFPort)((Object)value), (OFPort)((Object)mask)));
            case IP_DSCP:
                return (OFOxm<F>)((Object)ipDscpMasked((IpDscp)((Object)value), (IpDscp)((Object)mask)));
            case IP_ECN:
                return (OFOxm<F>)((Object)ipEcnMasked((IpEcn)((Object)value), (IpEcn)((Object)mask)));
            case IP_PROTO:
                return (OFOxm<F>)((Object)ipProtoMasked((IpProtocol)((Object)value), (IpProtocol)((Object)mask)));
            case IPV4_DST:
                return (OFOxm<F>)((Object)ipv4DstMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask)));
            case IPV4_SRC:
                return (OFOxm<F>)((Object)ipv4SrcMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask)));
            case IPV6_DST:
                return (OFOxm<F>)((Object)ipv6DstMasked((IPv6Address)((Object)value), (IPv6Address)((Object)mask)));
            case IPV6_FLABEL:
                return (OFOxm<F>)((Object)ipv6FlabelMasked((IPv6FlowLabel)((Object)value), (IPv6FlowLabel)((Object)mask)));
            case IPV6_ND_SLL:
                return (OFOxm<F>)((Object)ipv6NdSllMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case IPV6_ND_TARGET:
                return (OFOxm<F>)((Object)ipv6NdTargetMasked((IPv6Address)((Object)value), (IPv6Address)((Object)mask)));
            case IPV6_ND_TLL:
                return (OFOxm<F>)((Object)ipv6NdTllMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case IPV6_SRC:
                return (OFOxm<F>)((Object)ipv6SrcMasked((IPv6Address)((Object)value), (IPv6Address)((Object)mask)));
            case METADATA:
                return (OFOxm<F>)((Object)metadataMasked((OFMetadata)((Object)value), (OFMetadata)((Object)mask)));
            case MPLS_LABEL:
                return (OFOxm<F>)((Object)mplsLabelMasked((U32)((Object)value), (U32)((Object)mask)));
            case MPLS_TC:
                return (OFOxm<F>)((Object)mplsTcMasked((U8)((Object)value), (U8)((Object)mask)));
            case SCTP_DST:
                return (OFOxm<F>)((Object)sctpDstMasked((TransportPort)((Object)value), (TransportPort)((Object)mask)));
            case SCTP_SRC:
                return (OFOxm<F>)((Object)sctpSrcMasked((TransportPort)((Object)value), (TransportPort)((Object)mask)));
            case TCP_DST:
                return (OFOxm<F>)((Object)tcpDstMasked((TransportPort)((Object)value), (TransportPort)((Object)mask)));
            case TCP_SRC:
                return (OFOxm<F>)((Object)tcpSrcMasked((TransportPort)((Object)value), (TransportPort)((Object)mask)));
            case TUNNEL_IPV4_DST:
                return (OFOxm<F>)((Object)tunnelIpv4DstMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask)));
            case TUNNEL_IPV4_SRC:
                return (OFOxm<F>)((Object)tunnelIpv4SrcMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask)));
            case UDP_DST:
                return (OFOxm<F>)((Object)udpDstMasked((TransportPort)((Object)value), (TransportPort)((Object)mask)));
            case UDP_SRC:
                return (OFOxm<F>)((Object)udpSrcMasked((TransportPort)((Object)value), (TransportPort)((Object)mask)));
            case VLAN_PCP:
                return (OFOxm<F>)((Object)vlanPcpMasked((VlanPcp)((Object)value), (VlanPcp)((Object)mask)));
            case VLAN_VID:
                return (OFOxm<F>)((Object)vlanVidMasked((OFVlanVidMatch)((Object)value), (OFVlanVidMatch)((Object)mask)));
            case BSN_INNER_ETH_DST:
                return (OFOxm<F>)((Object)bsnInnerEthDstMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case BSN_INNER_ETH_SRC:
                return (OFOxm<F>)((Object)bsnInnerEthSrcMasked((MacAddress)((Object)value), (MacAddress)((Object)mask)));
            case BSN_VXLAN_NETWORK_ID:
                return (OFOxm<F>)((Object)bsnVxlanNetworkIdMasked((U32)((Object)value), (U32)((Object)mask)));
            case IPV6_EXTHDR:
                return (OFOxm<F>)((Object)ipv6ExthdrMasked((U16)((Object)value), (U16)((Object)mask)));
            case MPLS_BOS:
                return (OFOxm<F>)((Object)mplsBosMasked((OFBooleanValue)((Object)value), (OFBooleanValue)((Object)mask)));
            case TUNNEL_ID:
                return (OFOxm<F>)((Object)tunnelIdMasked((U64)((Object)value), (U64)((Object)mask)));
            case PBB_UCA:
                return (OFOxm<F>)((Object)pbbUcaMasked((OFBooleanValue)((Object)value), (OFBooleanValue)((Object)mask)));
            default:
                throw new IllegalArgumentException("No OXM known for match field " + field);
        }
    }

    @SuppressWarnings("unchecked")
    public <F extends OFValueType<F>> OFOxm<F> fromMasked(Masked<F> masked, MatchField<F> field) {
        switch (field.id) {
            case ARP_OP:
                return (OFOxm<F>)((Object)arpOpMasked((ArpOpcode)((Object)(masked.getValue())), (ArpOpcode)((Object)(masked.getMask()))));
            case ARP_SHA:
                return (OFOxm<F>)((Object)arpShaMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case ARP_SPA:
                return (OFOxm<F>)((Object)arpSpaMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask()))));
            case ARP_THA:
                return (OFOxm<F>)((Object)arpThaMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case ARP_TPA:
                return (OFOxm<F>)((Object)arpTpaMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask()))));
            case BSN_EGR_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnEgrPortGroupIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask()))));
            case BSN_GLOBAL_VRF_ALLOWED:
                return (OFOxm<F>)((Object)bsnGlobalVrfAllowedMasked((OFBooleanValue)((Object)(masked.getValue())), (OFBooleanValue)((Object)(masked.getMask()))));
            case BSN_IN_PORTS_128:
                return (OFOxm<F>)((Object)bsnInPorts128Masked((OFBitMask128)((Object)(masked.getValue())), (OFBitMask128)((Object)(masked.getMask()))));
            case BSN_IN_PORTS_512:
                return (OFOxm<F>)((Object)bsnInPorts512Masked((OFBitMask512)((Object)(masked.getValue())), (OFBitMask512)((Object)(masked.getMask()))));
            case BSN_INGRESS_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnIngressPortGroupIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask()))));
            case BSN_L2_CACHE_HIT:
                return (OFOxm<F>)((Object)bsnL2CacheHitMasked((OFBooleanValue)((Object)(masked.getValue())), (OFBooleanValue)((Object)(masked.getMask()))));
            case BSN_L3_DST_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3DstClassIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask()))));
            case BSN_L3_INTERFACE_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3InterfaceClassIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask()))));
            case BSN_L3_SRC_CLASS_ID:
                return (OFOxm<F>)((Object)bsnL3SrcClassIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask()))));
            case BSN_LAG_ID:
                return (OFOxm<F>)((Object)bsnLagIdMasked((LagId)((Object)(masked.getValue())), (LagId)((Object)(masked.getMask()))));
            case BSN_TCP_FLAGS:
                return (OFOxm<F>)((Object)bsnTcpFlagsMasked((U16)((Object)(masked.getValue())), (U16)((Object)(masked.getMask()))));
            case BSN_UDF0:
                return (OFOxm<F>)((Object)bsnUdf0Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF1:
                return (OFOxm<F>)((Object)bsnUdf1Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF2:
                return (OFOxm<F>)((Object)bsnUdf2Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF3:
                return (OFOxm<F>)((Object)bsnUdf3Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF4:
                return (OFOxm<F>)((Object)bsnUdf4Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF5:
                return (OFOxm<F>)((Object)bsnUdf5Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF6:
                return (OFOxm<F>)((Object)bsnUdf6Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_UDF7:
                return (OFOxm<F>)((Object)bsnUdf7Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask()))));
            case BSN_VLAN_XLATE_PORT_GROUP_ID:
                return (OFOxm<F>)((Object)bsnVlanXlatePortGroupIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask()))));
            case BSN_VRF:
                return (OFOxm<F>)((Object)bsnVrfMasked((VRF)((Object)(masked.getValue())), (VRF)((Object)(masked.getMask()))));
            case ETH_DST:
                return (OFOxm<F>)((Object)ethDstMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case ETH_SRC:
                return (OFOxm<F>)((Object)ethSrcMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case ETH_TYPE:
                return (OFOxm<F>)((Object)ethTypeMasked((EthType)((Object)(masked.getValue())), (EthType)((Object)(masked.getMask()))));
            case ICMPV4_CODE:
                return (OFOxm<F>)((Object)icmpv4CodeMasked((ICMPv4Code)((Object)(masked.getValue())), (ICMPv4Code)((Object)(masked.getMask()))));
            case ICMPV4_TYPE:
                return (OFOxm<F>)((Object)icmpv4TypeMasked((ICMPv4Type)((Object)(masked.getValue())), (ICMPv4Type)((Object)(masked.getMask()))));
            case ICMPV6_CODE:
                return (OFOxm<F>)((Object)icmpv6CodeMasked((U8)((Object)(masked.getValue())), (U8)((Object)(masked.getMask()))));
            case ICMPV6_TYPE:
                return (OFOxm<F>)((Object)icmpv6TypeMasked((U8)((Object)(masked.getValue())), (U8)((Object)(masked.getMask()))));
            case IN_PHY_PORT:
                return (OFOxm<F>)((Object)inPhyPortMasked((OFPort)((Object)(masked.getValue())), (OFPort)((Object)(masked.getMask()))));
            case IN_PORT:
                return (OFOxm<F>)((Object)inPortMasked((OFPort)((Object)(masked.getValue())), (OFPort)((Object)(masked.getMask()))));
            case IP_DSCP:
                return (OFOxm<F>)((Object)ipDscpMasked((IpDscp)((Object)(masked.getValue())), (IpDscp)((Object)(masked.getMask()))));
            case IP_ECN:
                return (OFOxm<F>)((Object)ipEcnMasked((IpEcn)((Object)(masked.getValue())), (IpEcn)((Object)(masked.getMask()))));
            case IP_PROTO:
                return (OFOxm<F>)((Object)ipProtoMasked((IpProtocol)((Object)(masked.getValue())), (IpProtocol)((Object)(masked.getMask()))));
            case IPV4_DST:
                return (OFOxm<F>)((Object)ipv4DstMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask()))));
            case IPV4_SRC:
                return (OFOxm<F>)((Object)ipv4SrcMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask()))));
            case IPV6_DST:
                return (OFOxm<F>)((Object)ipv6DstMasked((IPv6Address)((Object)(masked.getValue())), (IPv6Address)((Object)(masked.getMask()))));
            case IPV6_FLABEL:
                return (OFOxm<F>)((Object)ipv6FlabelMasked((IPv6FlowLabel)((Object)(masked.getValue())), (IPv6FlowLabel)((Object)(masked.getMask()))));
            case IPV6_ND_SLL:
                return (OFOxm<F>)((Object)ipv6NdSllMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case IPV6_ND_TARGET:
                return (OFOxm<F>)((Object)ipv6NdTargetMasked((IPv6Address)((Object)(masked.getValue())), (IPv6Address)((Object)(masked.getMask()))));
            case IPV6_ND_TLL:
                return (OFOxm<F>)((Object)ipv6NdTllMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case IPV6_SRC:
                return (OFOxm<F>)((Object)ipv6SrcMasked((IPv6Address)((Object)(masked.getValue())), (IPv6Address)((Object)(masked.getMask()))));
            case METADATA:
                return (OFOxm<F>)((Object)metadataMasked((OFMetadata)((Object)(masked.getValue())), (OFMetadata)((Object)(masked.getMask()))));
            case MPLS_LABEL:
                return (OFOxm<F>)((Object)mplsLabelMasked((U32)((Object)(masked.getValue())), (U32)((Object)(masked.getMask()))));
            case MPLS_TC:
                return (OFOxm<F>)((Object)mplsTcMasked((U8)((Object)(masked.getValue())), (U8)((Object)(masked.getMask()))));
            case SCTP_DST:
                return (OFOxm<F>)((Object)sctpDstMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask()))));
            case SCTP_SRC:
                return (OFOxm<F>)((Object)sctpSrcMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask()))));
            case TCP_DST:
                return (OFOxm<F>)((Object)tcpDstMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask()))));
            case TCP_SRC:
                return (OFOxm<F>)((Object)tcpSrcMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask()))));
            case TUNNEL_IPV4_DST:
                return (OFOxm<F>)((Object)tunnelIpv4DstMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask()))));
            case TUNNEL_IPV4_SRC:
                return (OFOxm<F>)((Object)tunnelIpv4SrcMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask()))));
            case UDP_DST:
                return (OFOxm<F>)((Object)udpDstMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask()))));
            case UDP_SRC:
                return (OFOxm<F>)((Object)udpSrcMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask()))));
            case VLAN_PCP:
                return (OFOxm<F>)((Object)vlanPcpMasked((VlanPcp)((Object)(masked.getValue())), (VlanPcp)((Object)(masked.getMask()))));
            case VLAN_VID:
                return (OFOxm<F>)((Object)vlanVidMasked((OFVlanVidMatch)((Object)(masked.getValue())), (OFVlanVidMatch)((Object)(masked.getMask()))));
            case BSN_INNER_ETH_DST:
                return (OFOxm<F>)((Object)bsnInnerEthDstMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case BSN_INNER_ETH_SRC:
                return (OFOxm<F>)((Object)bsnInnerEthSrcMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask()))));
            case BSN_VXLAN_NETWORK_ID:
                return (OFOxm<F>)((Object)bsnVxlanNetworkIdMasked((U32)((Object)(masked.getValue())), (U32)((Object)(masked.getMask()))));
            case IPV6_EXTHDR:
                return (OFOxm<F>)((Object)ipv6ExthdrMasked((U16)((Object)(masked.getValue())), (U16)((Object)(masked.getMask()))));
            case MPLS_BOS:
                return (OFOxm<F>)((Object)mplsBosMasked((OFBooleanValue)((Object)(masked.getValue())), (OFBooleanValue)((Object)(masked.getMask()))));
            case TUNNEL_ID:
                return (OFOxm<F>)((Object)tunnelIdMasked((U64)((Object)(masked.getValue())), (U64)((Object)(masked.getMask()))));
            case PBB_UCA:
                return (OFOxm<F>)((Object)pbbUcaMasked((OFBooleanValue)((Object)(masked.getValue())), (OFBooleanValue)((Object)(masked.getMask()))));
            default:
                return null;
        }
    }

    public OFVersion getVersion() {
            return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java847
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java1637
                if(tcpDst == null)
                    throw new NullPointerException("Property tcpDst must not be null");

                //
            // normalize match fields according to current OpenVSwitch behavior. When prerequisites for a field are not met
            // e.g., eth_type is not set to 0x800, OVS sets the value of corresponding ignored fields (e.g.,
            // ip_src, tcp_dst) to 0, and sets the wildcard bit to 1.
            if(ethType.equals(EthType.IPv4)) {
                // IP
                if(ipProto.equals(IpProtocol.TCP) || ipProto.equals(IpProtocol.UDP) || ipProto.equals(IpProtocol.ICMP)) {
                    // fully speced, wildcards and all values are fine
                    // normalize 32-63 ipv4 src 'mask' to a full bitmask
                    if((wildcards & OFPFW_NW_SRC_ALL) != 0)
                        wildcards |= OFPFW_NW_SRC_MASK;

                    // normalize 32-63 ipv4 dst 'mask' to a full bitmask
                    if((wildcards & OFPFW_NW_DST_ALL) != 0)
                        wildcards |= OFPFW_NW_DST_MASK;

                } else {
                    // normalize 32-63 ipv4 src 'mask' to a full bitmask
                    if((wildcards & OFPFW_NW_SRC_ALL) != 0)
                        wildcards |= OFPFW_NW_SRC_MASK;

                    // normalize 32-63 ipv4 dst 'mask' to a full bitmask
                    if((wildcards & OFPFW_NW_DST_ALL) != 0)
                        wildcards |= OFPFW_NW_DST_MASK;

                    // not TCP/UDP/ICMP -> Clear TP wildcards for the wire
                    wildcards |= (OFPFW_TP_SRC | OFPFW_TP_DST);
                    tcpSrc = TransportPort.NONE;
                    tcpDst = TransportPort.NONE;
                }
            } else if (ethType.equals(EthType.ARP)) {
                // normalize 32-63 ipv4 src 'mask' to a full bitmask
                if((wildcards & OFPFW_NW_SRC_ALL) != 0)
                    wildcards |= OFPFW_NW_SRC_MASK;

                // normalize 32-63 ipv4 dst 'mask' to a full bitmask
                if((wildcards & OFPFW_NW_DST_ALL) != 0)
                    wildcards |= OFPFW_NW_DST_MASK;

                // ARP: clear NW_TOS / TP wildcards for the wire
                wildcards |= ( OFPFW_NW_TOS | OFPFW_TP_SRC | OFPFW_TP_DST);
                ipDscp = IpDscp.NONE;
                tcpSrc = TransportPort.NONE;
                tcpDst = TransportPort.NONE;
            } else {
                // not even IP. Clear NW/TP wildcards for the wire
                wildcards |= ( OFPFW_NW_TOS | OFPFW_NW_PROTO | OFPFW_NW_SRC_MASK | OFPFW_NW_DST_MASK | OFPFW_TP_SRC | OFPFW_TP_DST);
                ipDscp = IpDscp.NONE;
                ipProto = IpProtocol.NONE;
                ipv4Src = IPv4Address.NONE;
                ipv4Dst = IPv4Address.NONE;
                tcpSrc = TransportPort.NONE;
                tcpDst = TransportPort.NONE;
            }
                return new OFMatchV1Ver10(
                    wildcards,
                    inPort,
                    ethSrc,
                    ethDst,
                    vlanVid,
                    vlanPcp,
                    ethType,
                    ipDscp,
                    ipProto,
                    ipv4Src,
                    ipv4Dst,
                    tcpSrc,
                    tcpDst
                );
        }
        @SuppressWarnings("unchecked")
        @Override
        public <F extends OFValueType<F>> F get(MatchField<F> field)
                throws UnsupportedOperationException {
            if (isFullyWildcarded(field))
                return null;

            Object result;
            switch (field.id) {
                case IN_PORT:
                    result = inPort;
                    break;
                case ETH_DST:
                    result = ethDst;
                    break;
                case ETH_SRC:
                    result = ethSrc;
                    break;
                case ETH_TYPE:
                    result = ethType;
                    break;
                case VLAN_VID:
                    result = vlanVid;
                    break;
                case VLAN_PCP:
                    result = vlanPcp;
                    break;
                case ARP_OP:
                    result = ArpOpcode.of(ipProto.getIpProtocolNumber());
                    break;
                case ARP_SPA:
                    result = ipv4Src;
                    break;
                case ARP_TPA:
                    result = ipv4Dst;
                    break;
                case IP_DSCP:
                    result = ipDscp;
                    break;
                case IP_PROTO:
                    result = ipProto;
                    break;
                case IPV4_SRC:
                    result = ipv4Src;
                    break;
                case IPV4_DST:
                    result = ipv4Dst;
                    break;
                case TCP_SRC:
                    result = tcpSrc;
                    break;
                case TCP_DST:
                    result = tcpDst;
                    break;
                case UDP_SRC:
                    result = tcpSrc;
                    break;
                case UDP_DST:
                    result = tcpDst;
                    break;
                case SCTP_SRC:
                    result = tcpSrc;
                    break;
                case SCTP_DST:
                    result = tcpDst;
                    break;
                case ICMPV4_TYPE:
                    result = tcpSrc;
                    break;
                case ICMPV4_CODE:
                    result = tcpDst;
                    break;
                // NOT SUPPORTED:
                default:
                    throw new UnsupportedOperationException("OFMatch does not support matching on field " + field.getName());
            }
            return (F)result;
        }

        @SuppressWarnings("unchecked")
        @Override
        public <F extends OFValueType<F>> Masked<F> getMasked(MatchField<F> field)
                throws UnsupportedOperationException {
            if (!isPartiallyMasked(field))
                return null;
            Object result;
            switch (field.id) {
                case IPV4_SRC:
                case ARP_SPA:
                    int srcBitMask = (-1) << (32 - getIpv4SrcCidrMaskLen());
                    result = IPv4AddressWithMask.of(ipv4Src, IPv4Address.of(srcBitMask));
                    break;
                case IPV4_DST:
                case ARP_TPA:
                    int dstMaskedBits = Math.min(32, (wildcards & OFPFW_NW_DST_MASK) >> OFPFW_NW_DST_SHIFT);
                    int dstBitMask = (-1) << (32 - getIpv4DstCidrMaskLen());

                    result = IPv4AddressWithMask.of(ipv4Dst, IPv4Address.of(dstBitMask));
                    break;
                default:
                    throw new UnsupportedOperationException("OFMatch does not support masked matching on field " + field.getName());
            }
            return (Masked<F>)result;
        }

        @Override
        public boolean supports(MatchField<?> field) {
            switch (field.id) {
                case IN_PORT:
                case ETH_DST:
                case ETH_SRC:
                case ETH_TYPE:
                case VLAN_VID:
                case VLAN_PCP:
                case ARP_OP:
                case ARP_SPA:
                case ARP_TPA:
                case IP_DSCP:
                case IP_PROTO:
                case IPV4_SRC:
                case IPV4_DST:
                case TCP_SRC:
                case TCP_DST:
                case UDP_SRC:
                case UDP_DST:
                case SCTP_SRC:
                case SCTP_DST:
                case ICMPV4_TYPE:
                case ICMPV4_CODE:
                    return true;
                default:
                    return false;
            }
        }

        @Override
        public boolean supportsMasked(MatchField<?> field) {
            switch (field.id) {
                case ARP_SPA:
                case ARP_TPA:
                case IPV4_SRC:
                case IPV4_DST:
                    return true;
                default:
                    return false;
            }
        }

        @Override
        public boolean isExact(MatchField<?> field) {
            switch (field.id) {
                case IN_PORT:
                    return (this.wildcards & OFPFW_IN_PORT) == 0;
                case ETH_DST:
                    return (this.wildcards & OFPFW_DL_DST) == 0;
                case ETH_SRC:
                    return (this.wildcards & OFPFW_DL_SRC) == 0;
                case ETH_TYPE:
                    return (this.wildcards & OFPFW_DL_TYPE) == 0;
                case VLAN_VID:
                    return (this.wildcards & OFPFW_DL_VLAN) == 0;
                case VLAN_PCP:
                    return (this.wildcards & OFPFW_DL_VLAN_PCP) == 0;
                case ARP_OP:
                    return (this.wildcards & OFPFW_NW_PROTO) == 0;
                case ARP_SPA:
                    return this.getIpv4SrcCidrMaskLen() >= 32;
                case ARP_TPA:
                    return this.getIpv4DstCidrMaskLen() >= 32;
                case IP_DSCP:
                    return (this.wildcards & OFPFW_NW_TOS) == 0;
                case IP_PROTO:
                    return (this.wildcards & OFPFW_NW_PROTO) == 0;
                case IPV4_SRC:
                    return this.getIpv4SrcCidrMaskLen() >= 32;
                case IPV4_DST:
                    return this.getIpv4DstCidrMaskLen() >= 32;
                case TCP_SRC:
                    return (this.wildcards & OFPFW_TP_SRC) == 0;
                case TCP_DST:
                    return (this.wildcards & OFPFW_TP_DST) == 0;
                case UDP_SRC:
                    return (this.wildcards & OFPFW_TP_SRC) == 0;
                case UDP_DST:
                    return (this.wildcards & OFPFW_TP_DST) == 0;
                case SCTP_SRC:
                    return (this.wildcards & OFPFW_TP_SRC) == 0;
                case SCTP_DST:
                    return (this.wildcards & OFPFW_TP_DST) == 0;
                case ICMPV4_TYPE:
                    return (this.wildcards & OFPFW_TP_SRC) == 0;
                case ICMPV4_CODE:
                    return (this.wildcards & OFPFW_TP_DST) == 0;
                default:
                    throw new UnsupportedOperationException("OFMatch does not support matching on field " + field.getName());
            }
        }

        /**
         * Parse this match's wildcard fields and return the number of significant
         * bits in the IP destination field. NOTE: this returns the number of bits
         * that are fixed, i.e., like CIDR, not the number of bits that are free
         * like OpenFlow encodes.
         *
         * @return A number between 0 (matches all IPs) and 32 (exact match)
         */
        public int getIpv4DstCidrMaskLen() {
            return Math.max(32 - ((wildcards & OFPFW_NW_DST_MASK) >> OFPFW_NW_DST_SHIFT),
                            0);
        }

        /**
         * Parse this match's wildcard fields and return the number of significant
         * bits in the IP destination field. NOTE: this returns the number of bits
         * that are fixed, i.e., like CIDR, not the number of bits that are free
         * like OpenFlow encodes.
         *
         * @return A number between 0 (matches all IPs) and 32 (exact match)
         */
        public int getIpv4SrcCidrMaskLen() {
            return Math.max(32 - ((wildcards & OFPFW_NW_SRC_MASK) >> OFPFW_NW_SRC_SHIFT),
                            0);
        }


        @Override
        public boolean isFullyWildcarded(MatchField<?> field) {
            switch (field.id) {
                case IN_PORT:
                    return (this.wildcards & OFPFW_IN_PORT) != 0;
                case ETH_DST:
                    return (this.wildcards & OFPFW_DL_DST) != 0;
                case ETH_SRC:
                    return (this.wildcards & OFPFW_DL_SRC) != 0;
                case ETH_TYPE:
                    return (this.wildcards & OFPFW_DL_TYPE) != 0;
                case VLAN_VID:
                    return (this.wildcards & OFPFW_DL_VLAN) != 0;
                case VLAN_PCP:
                    return (this.wildcards & OFPFW_DL_VLAN_PCP) != 0;
                case ARP_OP:
                    return (this.wildcards & OFPFW_NW_PROTO) != 0;
                case ARP_SPA:
                    return this.getIpv4SrcCidrMaskLen() <= 0;
                case ARP_TPA:
                    return this.getIpv4DstCidrMaskLen() <= 0;
                case IP_DSCP:
                    return (this.wildcards & OFPFW_NW_TOS) != 0;
                case IP_PROTO:
                    return (this.wildcards & OFPFW_NW_PROTO) != 0;
                case TCP_SRC:
                    return (this.wildcards & OFPFW_TP_SRC) != 0;
                case TCP_DST:
                    return (this.wildcards & OFPFW_TP_DST) != 0;
                case UDP_SRC:
                    return (this.wildcards & OFPFW_TP_SRC) != 0;
                case UDP_DST:
                    return (this.wildcards & OFPFW_TP_DST) != 0;
                case SCTP_SRC:
                    return (this.wildcards & OFPFW_TP_SRC) != 0;
                case SCTP_DST:
                    return (this.wildcards & OFPFW_TP_DST) != 0;
                case ICMPV4_TYPE:
                    return (this.wildcards & OFPFW_TP_SRC) != 0;
                case ICMPV4_CODE:
                    return (this.wildcards & OFPFW_TP_DST) != 0;
                case IPV4_SRC:
                    return this.getIpv4SrcCidrMaskLen() <= 0;
                case IPV4_DST:
                    return this.getIpv4DstCidrMaskLen() <= 0;
                default:
                    throw new UnsupportedOperationException("OFMatch does not support matching on field " + field.getName());
            }
        }

        @Override
        public boolean isPartiallyMasked(MatchField<?> field) {
            switch (field.id) {
                case ARP_SPA:
                case IPV4_SRC:
                    int srcCidrLen = getIpv4SrcCidrMaskLen();
                    return srcCidrLen > 0 && srcCidrLen < 32;
                case ARP_TPA:
                case IPV4_DST:
                    int dstCidrLen = getIpv4DstCidrMaskLen();
                    return dstCidrLen > 0 && dstCidrLen < 32;
                default:
                    throw new UnsupportedOperationException("OFMatch does not support masked matching on field " + field.getName());
            }
        }

        private final void initWildcards() {
            if(!wildcardsSet) {
                wildcards = parentMessage.wildcards;
FileLine
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteStrictVer10.java100
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteVer10.java100
net/onrc/openvirtex/messages/ver10/OVXFlowModifyStrictVer10.java100
net/onrc/openvirtex/messages/ver10/OVXFlowModifyVer10.java100
    private final Logger log = LogManager.getLogger(OVXFlowDeleteStrictVer10.class.getName());

    private OVXSwitch sw = null;
    private final List<OFAction> approvedActions = new LinkedList<OFAction>();

    private long ovxCookie = -1;

    @Override
    public void devirtualize(final OVXSwitch sw) {
        /* Drop LLDP-matching messages sent by some applications */
        if (((OFMatchV1)this.match).getEthType().getValue() == Ethernet.TYPE_LLDP) {
            return;
        }

        this.sw = sw;
        FlowTable ft = this.sw.getFlowTable();

        int bufferId = OFBufferId.NO_BUFFER.getInt();
        if (sw.getFromBufferMap(this.bufferId.getInt()) != null) {
            bufferId = sw.getFromBufferMap(this.bufferId.getInt()).getBufferId().getInt();
        }
        final short inport = ((OFMatchV1)this.getMatch()).getInPort().getShortPortNumber();

        /* let flow table process FlowMod, generate cookie as needed */
        boolean pflag = ft.handleFlowMods(this.clone());

        /* used by OFAction virtualization */
        OVXMatch ovxMatch = new OVXMatch((OFMatchV1)this.match);
        ovxCookie = ((OVXFlowTable) ft).getCookie(this, false);
        ovxMatch.setCookie(ovxCookie);
        this.cookie=U64.of(ovxMatch.getCookie());

        for (OFAction act : this.getActions()) {
            try {
            	if(act.getType().equals(OFActionType.SET_NW_DST))
                	act=OVXFactoryInst.myOVXFactory.buildOVXActionDataLayerDestination(((OFActionSetDlDst)act).getDlAddr());
                	else if(act.getType().equals(OFActionType.SET_NW_SRC))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionDataLayerSource(((OFActionSetDlSrc)act).getDlAddr());
                	else if(act.getType().equals(OFActionType.ENQUEUE))
                    	act=OVXFactoryInst.myOVXFactory.buildOVXActionEnqueue(((OFActionEnqueue)act).getPort(),((OFActionEnqueue)act).getQueueId());
                    	else if(act.getType().equals(OFActionType.SET_NW_DST))
                        act=OVXFactoryInst.myOVXFactory.buildOVXActionNetworkLayerDestination(((OFActionSetNwDst)act).getNwAddr());
                    	else if(act.getType().equals(OFActionType.SET_NW_SRC))
                        	act=OVXFactoryInst.myOVXFactory.buildOVXActionNetworkLayerSource(((OFActionSetNwSrc)act).getNwAddr());
                        	else if(act.getType().equals(OFActionType.SET_NW_TOS))
                            act=OVXFactoryInst.myOVXFactory.buildOVXActionNetworkTypeOfService(((OFActionSetNwTos)act).getNwTos());
                        	else if(act.getType().equals(OFActionType.OUTPUT))
                            	act=OVXFactoryInst.myOVXFactory.buildOVXActionOutput(((OFActionOutput)act).getPort(),((OFActionOutput)act).getMaxLen());
                            	else if(act.getType().equals(OFActionType.STRIP_VLAN))
                                act=OVXFactoryInst.myOVXFactory.buildOVXActionStripVirtualLan();
                            	else if(act.getType().equals(OFActionType.SET_TP_DST))
                                	act=OVXFactoryInst.myOVXFactory.buildOVXActionTransportLayerDestination(((OFActionSetTpDst)act).getTpPort());
                                	else if(act.getType().equals(OFActionType.SET_TP_SRC))
                                    act=OVXFactoryInst.myOVXFactory.buildOVXActionTransportLayerSource(((OFActionSetTpSrc)act).getTpPort());
                                	else if(act.getType().equals(OFActionType.SET_VLAN_VID))
                                		act=OVXFactoryInst.myOVXFactory.buildOVXActionVirtualLanIdentifier(((OFActionSetVlanVid)act).getVlanVid());
                                		else if(act.getType().equals(OFActionType.SET_VLAN_PCP))
                                		act=OVXFactoryInst.myOVXFactory.buildOVXActionVirtualLanPriorityCodePoint(((OFActionSetVlanPcp)act).getVlanPcp());
            	 
                ((VirtualizableAction) act).virtualize(sw,
                        this.approvedActions, ovxMatch);
            } catch (final ActionVirtualizationDenied e) {
                this.log.warn("Action {} could not be virtualized; error: {}",
                        act, e.getMessage());
                ft.deleteFlowMod(ovxCookie);
                sw.sendMsg(OVXMessageUtil.makeError(e.getErrorCode(), this), sw);
                return;
            } catch (final DroppedMessageException e) {
                this.log.warn("Dropping flowmod {} {}", this, e);
                ft.deleteFlowMod(ovxCookie);
                // TODO perhaps send error message to controller
                return;
            }
        }

        final OVXPort ovxInPort = sw.getPort(inport);
        this.bufferId=OFBufferId.of(bufferId);

        if (ovxInPort == null) {
            if (this.getMatch().isFullyWildcarded(MatchField.IN_PORT)) {
                /* expand match to all ports */
                for (OVXPort iport : sw.getPorts().values()) {
                    int wcard = ((OFMatchV1)this.match).getWildcards()
                            & (~OFMatchV1Ver10.OFPFW_IN_PORT);
                    
                    this.match=((OFMatchV1)this.match).createBuilder().setWildcards(wcard).build();
                    prepAndSendSouth(iport, pflag);
                }
            } else {
                this.log.error(
                        "Unknown virtual port id {}; dropping flowmod {}",
                        inport, this);
                sw.sendMsg(OVXMessageUtil.makeErrorMsg(
                        OFFlowModFailedCode.EPERM, this), sw);
                return;
            }
        } else {
            prepAndSendSouth(ovxInPort, pflag);
        }
    }

    private void prepAndSendSouth(OVXPort inPort, boolean pflag) {
        if (!inPort.isActive()) {
            log.warn("Virtual network {}: port {} on switch {} is down.",
                    sw.getTenantId(), inPort.getPortNo(),
                    sw.getSwitchName());
            return;
        }
        this.match=((OFMatchV1)this.getMatch()).createBuilder().setInPort(OFPort.ofShort(inPort.getPhysicalPortNumber())).build();
        OVXMessageUtil.translateXid(this, inPort);
        try {
            if (inPort.isEdge()) {
                this.prependRewriteActions();
            } else {
                IPMapper.rewriteMatch(sw.getTenantId(), this.match);
                // TODO: Verify why we have two send points... and if this is
                // the right place for the match rewriting
                if (inPort != null
                        && inPort.isLink()
                        && (!this.getMatch().isFullyWildcarded(MatchField.ETH_DST) || !this.getMatch().isFullyWildcarded(MatchField.ETH_SRC))) {
                    // rewrite the OFMatch with the values of the link
                    OVXPort dstPort = sw.getMap()
                            .getVirtualNetwork(sw.getTenantId())
                            .getNeighborPort(inPort);
                    OVXLink link = sw.getMap()
                            .getVirtualNetwork(sw.getTenantId())
                            .getLink(dstPort, inPort);
                    if (inPort != null && link != null) {
                        try {
                            Integer flowId = sw
                                    .getMap()
                                    .getVirtualNetwork(sw.getTenantId())
                                    .getFlowManager()
                                    .getFlowId(((OFMatchV1)this.match).getEthSrc().getBytes(),
                                            ((OFMatchV1)this.match).getEthDst().getBytes());
                            OVXLinkUtils lUtils = new OVXLinkUtils(
                                    sw.getTenantId(), link.getLinkId(), flowId);
                            lUtils.rewriteMatch(this.getMatch());
                        } catch (IndexOutOfBoundException e) {
                            log.error(
                                    "Too many host to generate the flow pairs in this virtual network {}. "
                                            + "Dropping flow-mod {} ",
                                            sw.getTenantId(), this);
                            throw new DroppedMessageException();
                        } 
                    }
                }
            }
        } catch (NetworkMappingException e) {
            log.warn(
                    "OVXFlowMod. Error retrieving the network with id {} for flowMod {}. Dropping packet...",
                    this.sw.getTenantId(), this);
        } catch (DroppedMessageException e) {
            log.warn(
                    "OVXFlowMod. Error retrieving flowId in network with id {} for flowMod {}. Dropping packet...",
                    this.sw.getTenantId(), this);
        }
        this.actions=this.approvedActions;
        if (pflag) {
            this.flags.add(OFFlowModFlags.SEND_FLOW_REM);
            sw.sendSouth(this, inPort);
        }
    }

   

    private void prependRewriteActions() {
        if (!this.getMatch().isFullyWildcarded(MatchField.IPV4_SRC)) {
            final OVXActionNetworkLayerSource srcAct =OVXFactoryInst.myOVXFactory.buildOVXActionNetworkLayerSource
            		(IPv4Address.of(IPMapper.getPhysicalIp(sw.getTenantId(),
                    ((OFMatchV1)this.match).getIpv4Src().getInt())));
            
            this.approvedActions.add(0, srcAct);
        }

        if (!this.getMatch().isFullyWildcarded(MatchField.IPV4_DST)) {
            final OVXActionNetworkLayerDestination dstAct =OVXFactoryInst.myOVXFactory.buildOVXActionNetworkLayerDestination
            		(IPv4Address.of(IPMapper.getPhysicalIp(sw.getTenantId(),
                            ((OFMatchV1)this.match).getIpv4Dst().getInt())));
            this.approvedActions.add(0, dstAct);
        }
    }

    /**
     * @param flagbit
     *            The OFFlowMod flag
     * @return true if the flag is set
     */
    public boolean hasFlag(short flagbit) {
        return (this.flags.contains(OFFlowModFlagsSerializerVer10.ofWireValue(flagbit)));
    }

    public OVXFlowMod clone() {
        OVXFlowMod flowMod = null;
        flowMod = OVXFactoryInst.myOVXFactory.buildOVXFlowDeleteStrict(this.getXid(),this.getMatch(), this.getCookie(), this.getIdleTimeout(), this.getHardTimeout(),this.getPriority(), this.getBufferId(), this.getOutPort(), this.getFlags(), this.getActions());
FileLine
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteStrictVer13.java72
net/onrc/openvirtex/messages/ver13/OVXFlowModifyStrictVer13.java72
    private final Logger log = LogManager.getLogger(OVXFlowDeleteStrictVer13.class.getName());

    private OVXSwitch sw = null;
    private final List<OFAction> approvedActions = new LinkedList<OFAction>();

    private long ovxCookie = -1;

    @Override
    public void devirtualize(final OVXSwitch sw) {
        /* Drop LLDP-matching messages sent by some applications */
        if (((OFMatchV3)this.getMatch()).get(MatchField.ETH_TYPE) != null) {
            if (((OFMatchV3)this.getMatch()).get(MatchField.ETH_TYPE).getValue() == Ethernet.TYPE_LLDP) {
                return;
            }
        }

        this.sw = sw;
        FlowTable ft = this.sw.getFlowTable();

        int bufferId = OFBufferId.NO_BUFFER.getInt();
        if (sw.getFromBufferMap(this.bufferId.getInt()) != null) {
            bufferId = sw.getFromBufferMap(this.bufferId.getInt()).getBufferId().getInt();
        }
        short inport = -1;
        if (((OFMatchV3)this.getMatch()).get(MatchField.IN_PORT) != null) {
            inport = ((OFMatchV3) this.getMatch()).get(MatchField.IN_PORT).getShortPortNumber();
        }
        /* let flow table process FlowMod, generate cookie as needed */
        boolean pflag = ft.handleFlowMods(this.clone());

        /* used by OFAction virtualization */
        OVXMatchV3 ovxMatch = new OVXMatchV3((OFMatchV3)this.getMatch());
        ovxCookie = ((OVXFlowTable) ft).getCookie(this, false);
        ovxMatch.setCookie(ovxCookie);
        this.cookie=U64.of(ovxMatch.getCookie());

        for (OFAction act: this.getActions()) {
            try {
                if (act.getType().equals(OFActionType.SET_FIELD)) {
                    OFOxm<?> oxmField = ((OFActionSetField)act).getField();
                    act  = OVXFactoryInst.myOVXFactory.buildOVXActionSetField(oxmField);
                } else if (act.getType().equals(OFActionType.OUTPUT)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionOutputV3(((OFActionOutput)act).getPort(),((OFActionOutput)act).getMaxLen());
                } else if (act.getType().equals(OFActionType.SET_QUEUE)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionSetQueue(((OFActionSetQueue)act).getQueueId());
                } else if (act.getType().equals(OFActionType.PUSH_VLAN)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionPushVlan(((OFActionPushVlan)act).getEthertype());
                } else if (act.getType().equals(OFActionType.POP_VLAN)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionPopVlan();
                }

                ((VirtualizableActionV3) act).virtualize(sw,
                        this.approvedActions, ovxMatch);
            } catch (final ActionVirtualizationDenied e) {
                this.log.warn("Action {} could not be virtualized; error: {}",
                        act, e.getMessage());
                ft.deleteFlowMod(ovxCookie);
                sw.sendMsg(OVXMessageUtil.makeError(e.getErrorCode(), this), sw);
                return;
            } catch (final DroppedMessageException e) {
                this.log.warn("Dropping flowmod {} {}", this, e);
                ft.deleteFlowMod(ovxCookie);
                // TODO perhaps send error message to controller
                return;
            }
        }

        final OVXPort ovxInPort = sw.getPort(inport);
        this.bufferId=OFBufferId.of(bufferId);

        if (ovxInPort == null) {
            if (this.getMatch().isFullyWildcarded(MatchField.IN_PORT)) {
                /* expand match to all ports */
                for (OVXPort iport : sw.getPorts().values()) {
                    this.match = addtoMatch((OFMatchV3)this.match, iport.getPortNo());
                    prepAndSendSouth(iport, pflag);
                }
            } else {
                this.log.error(
                        "Unknown virtual port id {}; dropping flowmod {}",
                        inport, this);
                sw.sendMsg(OVXMessageUtil.makeErrorMsg(
                        OFFlowModFailedCode.EPERM, this), sw);
                return;
            }
        } else {
            prepAndSendSouth(ovxInPort, pflag);
        }
    }

    private OFMatchV3 addtoMatch(OFMatchV3 myMatch, OFPort port) {
        OFMatchV3 newMatch;
        OFOxmList myList = myMatch.getOxmList();
        OFOxmInPort oxmInPort = new OFOxmInPortVer13(port);
        Map <MatchFields, OFOxm<?>> oxmMap = new LinkedHashMap<>();
        for (OFOxm<?> ofOxm : myList) {
            oxmMap.put(ofOxm.getMatchField().id, ofOxm);
        }
        oxmMap.put(MatchFields.IN_PORT, oxmInPort);
        OFOxmList oxmList = new OFOxmList(oxmMap);

        newMatch = OVXFactoryInst.myFactory.buildMatchV3().setOxmList(oxmList).build();
        return newMatch;

    }
    private void prepAndSendSouth(OVXPort inPort, boolean pflag) {
        if (!inPort.isActive()) {
            log.warn("Virtual network {}: port {} on switch {} is down.",
                    sw.getTenantId(), inPort.getPortNo(),
                    sw.getSwitchName());
            return;
        }
        this.match = addtoMatch((OFMatchV3)this.match,  OFPort.ofShort(inPort.getPhysicalPortNumber()));

        OVXMessageUtil.translateXid(this, inPort);
        try {
            if (inPort.isEdge()) {
                this.prependRewriteActions();
            } else {
                IPMapper.rewriteMatch(sw.getTenantId(), this.match);
                // TODO: Verify why we have two send points... and if this is
                // the right place for the match rewriting
                if (inPort != null
                        && inPort.isLink()
                        && (!this.getMatch().isFullyWildcarded(MatchField.ETH_DST) || !this.getMatch().isFullyWildcarded(MatchField.ETH_SRC))) {
                    // rewrite the OFMatch with the values of the link
                    OVXPort dstPort = sw.getMap()
                            .getVirtualNetwork(sw.getTenantId())
                            .getNeighborPort(inPort);
                    OVXLink link = sw.getMap()
                            .getVirtualNetwork(sw.getTenantId())
                            .getLink(dstPort, inPort);
                    if (inPort != null && link != null) {
                        try {
                            Integer flowId = sw
                                    .getMap()
                                    .getVirtualNetwork(sw.getTenantId())
                                    .getFlowManager()
                                    .getFlowId(((OFMatchV3)this.match).get(MatchField.ETH_SRC).getBytes(),
                                            ((OFMatchV3)this.match).get(MatchField.ETH_DST).getBytes());
                            OVXLinkUtils lUtils = new OVXLinkUtils(
                                    sw.getTenantId(), link.getLinkId(), flowId);
                            this.match = lUtils.rewriteMatch(this.getMatch());
                        } catch (IndexOutOfBoundException e) {
                            log.error(
                                    "Too many host to generate the flow pairs in this virtual network {}. "
                                            + "Dropping flow-mod {} ",
                                            sw.getTenantId(), this);
                            throw new DroppedMessageException();
                        } 
                    }
                }
            }
        } catch (NetworkMappingException e) {
            log.warn(
                    "OVXFlowMod. Error retrieving the network with id {} for flowMod {}. Dropping packet...",
                    this.sw.getTenantId(), this);
        } catch (DroppedMessageException e) {
            log.warn(
                    "OVXFlowMod. Error retrieving flowId in network with id {} for flowMod {}. Dropping packet...",
                    this.sw.getTenantId(), this);
        }
        this.setActions(this.approvedActions);
        if (pflag) {
            this.flags.add(OFFlowModFlags.SEND_FLOW_REM);
            sw.sendSouth(this, inPort);
        }
    }

    private void prependRewriteActions() {
        if (!this.getMatch().isFullyWildcarded(MatchField.IPV4_SRC)) {
            OFOxmIpv4Src oxmIpv4Src = new OFOxmIpv4SrcVer13(IPv4Address.of(IPMapper.getPhysicalIp(sw.getTenantId(),
                    ((OFMatchV3)this.match).get(MatchField.IPV4_SRC).getInt())));
            final OVXActionSetField srcAct = OVXFactoryInst.myOVXFactory.buildOVXActionSetField(oxmIpv4Src);
            this.approvedActions.add(0, srcAct);
        }

        if (!this.getMatch().isFullyWildcarded(MatchField.IPV4_DST)) {
            OFOxmIpv4Dst oxmIpv4Dst = new OFOxmIpv4DstVer13(IPv4Address.of(IPMapper.getPhysicalIp(sw.getTenantId(),
                    ((OFMatchV3)this.match).get(MatchField.IPV4_DST).getInt())));
            final OVXActionSetField dstAct = OVXFactoryInst.myOVXFactory.buildOVXActionSetField(oxmIpv4Dst);
            this.approvedActions.add(0, dstAct);
        }
    }

    /**
     * @param flagbit
     *            The OFFlowMod flag
     * @return true if the flag is set
     */
    public boolean hasFlag(short flagbit) {
        return (this.flags.contains(OFFlowModFlagsSerializerVer13.ofWireValue(flagbit)));
    }

    public OVXFlowMod clone() {
        OVXFlowMod flowMod = null;
        if (OVXFactoryInst.ofversion == 10) {
            flowMod = OVXFactoryInst.myOVXFactory.buildOVXFlowDeleteStrict(this.getXid(), this.getMatch(), this.getCookie(), this.getIdleTimeout(), this.getHardTimeout(), this.getPriority(), this.getBufferId(), this.getOutPort(), this.getFlags(), this.getActions());
FileLine
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteStrictVer13.java100
net/onrc/openvirtex/messages/ver13/OVXFlowModifyStrictVer13.java100
net/onrc/openvirtex/messages/ver13/OVXFlowModifyVer13.java105
        boolean pflag = ft.handleFlowMods(this.clone());

        /* used by OFAction virtualization */
        OVXMatchV3 ovxMatch = new OVXMatchV3((OFMatchV3)this.getMatch());
        ovxCookie = ((OVXFlowTable) ft).getCookie(this, false);
        ovxMatch.setCookie(ovxCookie);
        this.cookie=U64.of(ovxMatch.getCookie());

        for (OFAction act: this.getActions()) {
            try {
                if (act.getType().equals(OFActionType.SET_FIELD)) {
                    OFOxm<?> oxmField = ((OFActionSetField)act).getField();
                    act  = OVXFactoryInst.myOVXFactory.buildOVXActionSetField(oxmField);
                } else if (act.getType().equals(OFActionType.OUTPUT)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionOutputV3(((OFActionOutput)act).getPort(),((OFActionOutput)act).getMaxLen());
                } else if (act.getType().equals(OFActionType.SET_QUEUE)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionSetQueue(((OFActionSetQueue)act).getQueueId());
                } else if (act.getType().equals(OFActionType.PUSH_VLAN)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionPushVlan(((OFActionPushVlan)act).getEthertype());
                } else if (act.getType().equals(OFActionType.POP_VLAN)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionPopVlan();
                }

                ((VirtualizableActionV3) act).virtualize(sw,
                        this.approvedActions, ovxMatch);
            } catch (final ActionVirtualizationDenied e) {
                this.log.warn("Action {} could not be virtualized; error: {}",
                        act, e.getMessage());
                ft.deleteFlowMod(ovxCookie);
                sw.sendMsg(OVXMessageUtil.makeError(e.getErrorCode(), this), sw);
                return;
            } catch (final DroppedMessageException e) {
                this.log.warn("Dropping flowmod {} {}", this, e);
                ft.deleteFlowMod(ovxCookie);
                // TODO perhaps send error message to controller
                return;
            }
        }

        final OVXPort ovxInPort = sw.getPort(inport);
        this.bufferId=OFBufferId.of(bufferId);

        if (ovxInPort == null) {
            if (this.getMatch().isFullyWildcarded(MatchField.IN_PORT)) {
                /* expand match to all ports */
                for (OVXPort iport : sw.getPorts().values()) {
                    this.match = addtoMatch((OFMatchV3)this.match, iport.getPortNo());
                    prepAndSendSouth(iport, pflag);
                }
            } else {
                this.log.error(
                        "Unknown virtual port id {}; dropping flowmod {}",
                        inport, this);
                sw.sendMsg(OVXMessageUtil.makeErrorMsg(
                        OFFlowModFailedCode.EPERM, this), sw);
                return;
            }
        } else {
            prepAndSendSouth(ovxInPort, pflag);
        }
    }

    private OFMatchV3 addtoMatch(OFMatchV3 myMatch, OFPort port) {
        OFMatchV3 newMatch;
        OFOxmList myList = myMatch.getOxmList();
        OFOxmInPort oxmInPort = new OFOxmInPortVer13(port);
        Map <MatchFields, OFOxm<?>> oxmMap = new LinkedHashMap<>();
        for (OFOxm<?> ofOxm : myList) {
            oxmMap.put(ofOxm.getMatchField().id, ofOxm);
        }
        oxmMap.put(MatchFields.IN_PORT, oxmInPort);
        OFOxmList oxmList = new OFOxmList(oxmMap);

        newMatch = OVXFactoryInst.myFactory.buildMatchV3().setOxmList(oxmList).build();
        return newMatch;

    }
    private void prepAndSendSouth(OVXPort inPort, boolean pflag) {
        if (!inPort.isActive()) {
            log.warn("Virtual network {}: port {} on switch {} is down.",
                    sw.getTenantId(), inPort.getPortNo(),
                    sw.getSwitchName());
            return;
        }
        this.match = addtoMatch((OFMatchV3)this.match,  OFPort.ofShort(inPort.getPhysicalPortNumber()));

        OVXMessageUtil.translateXid(this, inPort);
        try {
            if (inPort.isEdge()) {
                this.prependRewriteActions();
            } else {
                IPMapper.rewriteMatch(sw.getTenantId(), this.match);
                // TODO: Verify why we have two send points... and if this is
                // the right place for the match rewriting
                if (inPort != null
                        && inPort.isLink()
                        && (!this.getMatch().isFullyWildcarded(MatchField.ETH_DST) || !this.getMatch().isFullyWildcarded(MatchField.ETH_SRC))) {
                    // rewrite the OFMatch with the values of the link
                    OVXPort dstPort = sw.getMap()
                            .getVirtualNetwork(sw.getTenantId())
                            .getNeighborPort(inPort);
                    OVXLink link = sw.getMap()
                            .getVirtualNetwork(sw.getTenantId())
                            .getLink(dstPort, inPort);
                    if (inPort != null && link != null) {
                        try {
                            Integer flowId = sw
                                    .getMap()
                                    .getVirtualNetwork(sw.getTenantId())
                                    .getFlowManager()
                                    .getFlowId(((OFMatchV3)this.match).get(MatchField.ETH_SRC).getBytes(),
                                            ((OFMatchV3)this.match).get(MatchField.ETH_DST).getBytes());
                            OVXLinkUtils lUtils = new OVXLinkUtils(
                                    sw.getTenantId(), link.getLinkId(), flowId);
                            this.match = lUtils.rewriteMatch(this.getMatch());
                        } catch (IndexOutOfBoundException e) {
                            log.error(
                                    "Too many host to generate the flow pairs in this virtual network {}. "
                                            + "Dropping flow-mod {} ",
                                            sw.getTenantId(), this);
                            throw new DroppedMessageException();
                        } 
                    }
                }
            }
        } catch (NetworkMappingException e) {
            log.warn(
                    "OVXFlowMod. Error retrieving the network with id {} for flowMod {}. Dropping packet...",
                    this.sw.getTenantId(), this);
        } catch (DroppedMessageException e) {
            log.warn(
                    "OVXFlowMod. Error retrieving flowId in network with id {} for flowMod {}. Dropping packet...",
                    this.sw.getTenantId(), this);
        }
        this.setActions(this.approvedActions);
        if (pflag) {
            this.flags.add(OFFlowModFlags.SEND_FLOW_REM);
            sw.sendSouth(this, inPort);
        }
    }

    private void prependRewriteActions() {
        if (!this.getMatch().isFullyWildcarded(MatchField.IPV4_SRC)) {
            OFOxmIpv4Src oxmIpv4Src = new OFOxmIpv4SrcVer13(IPv4Address.of(IPMapper.getPhysicalIp(sw.getTenantId(),
                    ((OFMatchV3)this.match).get(MatchField.IPV4_SRC).getInt())));
            final OVXActionSetField srcAct = OVXFactoryInst.myOVXFactory.buildOVXActionSetField(oxmIpv4Src);
            this.approvedActions.add(0, srcAct);
        }

        if (!this.getMatch().isFullyWildcarded(MatchField.IPV4_DST)) {
            OFOxmIpv4Dst oxmIpv4Dst = new OFOxmIpv4DstVer13(IPv4Address.of(IPMapper.getPhysicalIp(sw.getTenantId(),
                    ((OFMatchV3)this.match).get(MatchField.IPV4_DST).getInt())));
            final OVXActionSetField dstAct = OVXFactoryInst.myOVXFactory.buildOVXActionSetField(oxmIpv4Dst);
            this.approvedActions.add(0, dstAct);
        }
    }

    /**
     * @param flagbit
     *            The OFFlowMod flag
     * @return true if the flag is set
     */
    public boolean hasFlag(short flagbit) {
        return (this.flags.contains(OFFlowModFlagsSerializerVer13.ofWireValue(flagbit)));
    }

    public OVXFlowMod clone() {
        OVXFlowMod flowMod = null;
FileLine
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteVer13.java101
net/onrc/openvirtex/messages/ver13/OVXFlowModifyVer13.java102
        System.out.println("HandleFlowMod");
        boolean pflag = ft.handleFlowMods(this.clone());

        /* used by OFAction virtualization */
        OVXMatchV3 ovxMatch = new OVXMatchV3((OFMatchV3)this.getMatch());
        ovxCookie = ((OVXFlowTable) ft).getCookie(this, false);
        ovxMatch.setCookie(ovxCookie);
        this.cookie=U64.of(ovxMatch.getCookie());

        for (OFAction act: this.getActions()) {
            try {
                if (act.getType().equals(OFActionType.SET_FIELD)) {
                    OFOxm<?> oxmField = ((OFActionSetField)act).getField();
                    act  = OVXFactoryInst.myOVXFactory.buildOVXActionSetField(oxmField);
                } else if (act.getType().equals(OFActionType.OUTPUT)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionOutputV3(((OFActionOutput)act).getPort(),((OFActionOutput)act).getMaxLen());
                } else if (act.getType().equals(OFActionType.SET_QUEUE)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionSetQueue(((OFActionSetQueue)act).getQueueId());
                } else if (act.getType().equals(OFActionType.PUSH_VLAN)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionPushVlan(((OFActionPushVlan)act).getEthertype());
                } else if (act.getType().equals(OFActionType.POP_VLAN)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionPopVlan();
                }

                ((VirtualizableActionV3) act).virtualize(sw,
                        this.approvedActions, ovxMatch);
            } catch (final ActionVirtualizationDenied e) {
                this.log.warn("Action {} could not be virtualized; error: {}",
                        act, e.getMessage());
                ft.deleteFlowMod(ovxCookie);
                sw.sendMsg(OVXMessageUtil.makeError(e.getErrorCode(), this), sw);
                return;
            } catch (final DroppedMessageException e) {
                this.log.warn("Dropping flowmod {} {}", this, e);
                ft.deleteFlowMod(ovxCookie);
                // TODO perhaps send error message to controller
                return;
            }
        }


        final OVXPort ovxInPort = sw.getPort(inport);
        this.bufferId=OFBufferId.of(bufferId);

        if (ovxInPort == null) {
            if (this.getMatch().isFullyWildcarded(MatchField.IN_PORT)) {
                /* expand match to all ports */
                for (OVXPort iport : sw.getPorts().values()) {
                    this.match = addtoMatch((OFMatchV3)this.match, iport.getPortNo());
                    prepAndSendSouth(iport, pflag);
                }
            } else {
                this.log.error(
                        "Unknown virtual port id {}; dropping flowmod {}",
                        inport, this);
                sw.sendMsg(OVXMessageUtil.makeErrorMsg(
                        OFFlowModFailedCode.EPERM, this), sw);
                return;
            }
        } else {
            prepAndSendSouth(ovxInPort, pflag);
        }
    }

    private OFMatchV3 addtoMatch(OFMatchV3 myMatch, OFPort port) {
        OFMatchV3 newMatch;
        OFOxmList myList = myMatch.getOxmList();
        OFOxmInPort oxmInPort = new OFOxmInPortVer13(port);
        Map <MatchFields, OFOxm<?>> oxmMap = new LinkedHashMap<>();
        for (OFOxm<?> ofOxm : myList) {
            oxmMap.put(ofOxm.getMatchField().id, ofOxm);
        }
        oxmMap.put(MatchFields.IN_PORT, oxmInPort);
        OFOxmList oxmList = new OFOxmList(oxmMap);

        newMatch = OVXFactoryInst.myFactory.buildMatchV3().setOxmList(oxmList).build();
        return newMatch;

    }

    private void prepAndSendSouth(OVXPort inPort, boolean pflag) {
        if (!inPort.isActive()) {
            log.warn("Virtual network {}: port {} on switch {} is down.",
                    sw.getTenantId(), inPort.getPortNo(),
                    sw.getSwitchName());
            return;
        }
        this.match = addtoMatch((OFMatchV3)this.match,  OFPort.ofShort(inPort.getPhysicalPortNumber()));
        OVXMessageUtil.translateXid(this, inPort);
        try {
            if (inPort.isEdge()) {
                this.prependRewriteActions();
            } else {
                IPMapper.rewriteMatch(sw.getTenantId(), this.match);
                // TODO: Verify why we have two send points... and if this is
                // the right place for the match rewriting
                if (inPort != null
                        && inPort.isLink()
                        && (!this.getMatch().isFullyWildcarded(MatchField.ETH_DST) || !this.getMatch().isFullyWildcarded(MatchField.ETH_SRC))) {
                    // rewrite the OFMatch with the values of the link
                    OVXPort dstPort = sw.getMap()
                            .getVirtualNetwork(sw.getTenantId())
                            .getNeighborPort(inPort);
                    OVXLink link = sw.getMap()
                            .getVirtualNetwork(sw.getTenantId())
                            .getLink(dstPort, inPort);
                    if (inPort != null && link != null) {
                        try {
                            Integer flowId = sw
                                    .getMap()
                                    .getVirtualNetwork(sw.getTenantId())
                                    .getFlowManager()
                                    .getFlowId(((OFMatchV3)this.match).get(MatchField.ETH_SRC).getBytes(),
                                            ((OFMatchV3)this.match).get(MatchField.ETH_DST).getBytes());
                            OVXLinkUtils lUtils = new OVXLinkUtils(
                                    sw.getTenantId(), link.getLinkId(), flowId);
                            this.match = lUtils.rewriteMatch(this.getMatch());
                        } catch (IndexOutOfBoundException e) {
                            log.error(
                                    "Too many host to generate the flow pairs in this virtual network {}. "
                                            + "Dropping flow-mod {} ",
                                            sw.getTenantId(), this);
                            throw new DroppedMessageException();
                        } 
                    }
                }
            }
        } catch (NetworkMappingException e) {
            log.warn(
                    "OVXFlowMod. Error retrieving the network with id {} for flowMod {}. Dropping packet...",
                    this.sw.getTenantId(), this);
        } catch (DroppedMessageException e) {
            log.warn(
                    "OVXFlowMod. Error retrieving flowId in network with id {} for flowMod {}. Dropping packet...",
                    this.sw.getTenantId(), this);
        }
        this.setActions(this.approvedActions);
        if (pflag) {
            this.flags.add(OFFlowModFlags.SEND_FLOW_REM);
            sw.sendSouth(this, inPort);
        }
    }


    private void prependRewriteActions() {
        if (this.getMatch().get(MatchField.IPV4_SRC) != null) {
FileLine
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteStrictVer13.java100
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteVer13.java102
net/onrc/openvirtex/messages/ver13/OVXFlowModifyStrictVer13.java100
        boolean pflag = ft.handleFlowMods(this.clone());

        /* used by OFAction virtualization */
        OVXMatchV3 ovxMatch = new OVXMatchV3((OFMatchV3)this.getMatch());
        ovxCookie = ((OVXFlowTable) ft).getCookie(this, false);
        ovxMatch.setCookie(ovxCookie);
        this.cookie=U64.of(ovxMatch.getCookie());

        for (OFAction act: this.getActions()) {
            try {
                if (act.getType().equals(OFActionType.SET_FIELD)) {
                    OFOxm<?> oxmField = ((OFActionSetField)act).getField();
                    act  = OVXFactoryInst.myOVXFactory.buildOVXActionSetField(oxmField);
                } else if (act.getType().equals(OFActionType.OUTPUT)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionOutputV3(((OFActionOutput)act).getPort(),((OFActionOutput)act).getMaxLen());
                } else if (act.getType().equals(OFActionType.SET_QUEUE)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionSetQueue(((OFActionSetQueue)act).getQueueId());
                } else if (act.getType().equals(OFActionType.PUSH_VLAN)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionPushVlan(((OFActionPushVlan)act).getEthertype());
                } else if (act.getType().equals(OFActionType.POP_VLAN)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionPopVlan();
                }

                ((VirtualizableActionV3) act).virtualize(sw,
                        this.approvedActions, ovxMatch);
            } catch (final ActionVirtualizationDenied e) {
                this.log.warn("Action {} could not be virtualized; error: {}",
                        act, e.getMessage());
                ft.deleteFlowMod(ovxCookie);
                sw.sendMsg(OVXMessageUtil.makeError(e.getErrorCode(), this), sw);
                return;
            } catch (final DroppedMessageException e) {
                this.log.warn("Dropping flowmod {} {}", this, e);
                ft.deleteFlowMod(ovxCookie);
                // TODO perhaps send error message to controller
                return;
            }
        }

        final OVXPort ovxInPort = sw.getPort(inport);
        this.bufferId=OFBufferId.of(bufferId);

        if (ovxInPort == null) {
            if (this.getMatch().isFullyWildcarded(MatchField.IN_PORT)) {
                /* expand match to all ports */
                for (OVXPort iport : sw.getPorts().values()) {
                    this.match = addtoMatch((OFMatchV3)this.match, iport.getPortNo());
                    prepAndSendSouth(iport, pflag);
                }
            } else {
                this.log.error(
                        "Unknown virtual port id {}; dropping flowmod {}",
                        inport, this);
                sw.sendMsg(OVXMessageUtil.makeErrorMsg(
                        OFFlowModFailedCode.EPERM, this), sw);
                return;
            }
        } else {
            prepAndSendSouth(ovxInPort, pflag);
        }
    }

    private OFMatchV3 addtoMatch(OFMatchV3 myMatch, OFPort port) {
        OFMatchV3 newMatch;
        OFOxmList myList = myMatch.getOxmList();
        OFOxmInPort oxmInPort = new OFOxmInPortVer13(port);
        Map <MatchFields, OFOxm<?>> oxmMap = new LinkedHashMap<>();
        for (OFOxm<?> ofOxm : myList) {
            oxmMap.put(ofOxm.getMatchField().id, ofOxm);
        }
        oxmMap.put(MatchFields.IN_PORT, oxmInPort);
        OFOxmList oxmList = new OFOxmList(oxmMap);

        newMatch = OVXFactoryInst.myFactory.buildMatchV3().setOxmList(oxmList).build();
        return newMatch;

    }
    private void prepAndSendSouth(OVXPort inPort, boolean pflag) {
        if (!inPort.isActive()) {
            log.warn("Virtual network {}: port {} on switch {} is down.",
                    sw.getTenantId(), inPort.getPortNo(),
                    sw.getSwitchName());
            return;
        }
        this.match = addtoMatch((OFMatchV3)this.match,  OFPort.ofShort(inPort.getPhysicalPortNumber()));

        OVXMessageUtil.translateXid(this, inPort);
        try {
            if (inPort.isEdge()) {
                this.prependRewriteActions();
            } else {
                IPMapper.rewriteMatch(sw.getTenantId(), this.match);
                // TODO: Verify why we have two send points... and if this is
                // the right place for the match rewriting
                if (inPort != null
                        && inPort.isLink()
                        && (!this.getMatch().isFullyWildcarded(MatchField.ETH_DST) || !this.getMatch().isFullyWildcarded(MatchField.ETH_SRC))) {
                    // rewrite the OFMatch with the values of the link
                    OVXPort dstPort = sw.getMap()
                            .getVirtualNetwork(sw.getTenantId())
                            .getNeighborPort(inPort);
                    OVXLink link = sw.getMap()
                            .getVirtualNetwork(sw.getTenantId())
                            .getLink(dstPort, inPort);
                    if (inPort != null && link != null) {
                        try {
                            Integer flowId = sw
                                    .getMap()
                                    .getVirtualNetwork(sw.getTenantId())
                                    .getFlowManager()
                                    .getFlowId(((OFMatchV3)this.match).get(MatchField.ETH_SRC).getBytes(),
                                            ((OFMatchV3)this.match).get(MatchField.ETH_DST).getBytes());
                            OVXLinkUtils lUtils = new OVXLinkUtils(
                                    sw.getTenantId(), link.getLinkId(), flowId);
                            this.match = lUtils.rewriteMatch(this.getMatch());
                        } catch (IndexOutOfBoundException e) {
                            log.error(
                                    "Too many host to generate the flow pairs in this virtual network {}. "
                                            + "Dropping flow-mod {} ",
                                            sw.getTenantId(), this);
                            throw new DroppedMessageException();
                        } 
                    }
                }
            }
        } catch (NetworkMappingException e) {
            log.warn(
                    "OVXFlowMod. Error retrieving the network with id {} for flowMod {}. Dropping packet...",
                    this.sw.getTenantId(), this);
        } catch (DroppedMessageException e) {
            log.warn(
                    "OVXFlowMod. Error retrieving flowId in network with id {} for flowMod {}. Dropping packet...",
                    this.sw.getTenantId(), this);
        }
        this.setActions(this.approvedActions);
        if (pflag) {
            this.flags.add(OFFlowModFlags.SEND_FLOW_REM);
            sw.sendSouth(this, inPort);
        }
    }

    private void prependRewriteActions() {
        if (!this.getMatch().isFullyWildcarded(MatchField.IPV4_SRC)) {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java1224
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java2013
            switch (field.id) {
                case ETH_DST:
                    setEthDst((MacAddress) value);
                    wildcards &= ~OFPFW_DL_DST;
                    break;
                case ETH_SRC:
                    setEthSrc((MacAddress) value);
                    wildcards &= ~OFPFW_DL_SRC;
                    break;
                case ETH_TYPE:
                    setEthType((EthType) value);
                    wildcards &= ~OFPFW_DL_TYPE;
                    break;
                case ICMPV4_CODE:
                    setTcpDst(TransportPort.of(((ICMPv4Code)value).getCode()));
                    wildcards &= ~OFPFW_TP_DST;
                    break;
                case ICMPV4_TYPE:
                    setTcpSrc(TransportPort.of(((ICMPv4Type)value).getType()));
                    wildcards &= ~OFPFW_TP_SRC;
                    break;
                case IN_PORT:
                    setInPort((OFPort) value);
                    wildcards &= ~OFPFW_IN_PORT;
                    break;
                case ARP_OP:
                    setIpProto(IpProtocol.of((short)((ArpOpcode)value).getOpcode()));
                    wildcards &= ~OFPFW_NW_PROTO;
                    break;
                case ARP_TPA:
                case IPV4_DST:
                    setIpv4Dst((IPv4Address) value);
                    wildcards &= ~OFPFW_NW_DST_MASK;
                    break;
                case ARP_SPA:
                case IPV4_SRC:
                    setIpv4Src((IPv4Address) value);
                    wildcards &= ~OFPFW_NW_SRC_MASK;
                    break;
                case IP_DSCP:
                    setIpDscp((IpDscp) value);
                    wildcards &= ~OFPFW_NW_TOS;
                    break;
                case IP_PROTO:
                    setIpProto((IpProtocol) value);
                    wildcards &= ~OFPFW_NW_PROTO;
                    break;
                case SCTP_DST:
                    setTcpDst((TransportPort) value);
                    wildcards &= ~OFPFW_TP_DST;
                    break;
                case SCTP_SRC:
                    setTcpSrc((TransportPort) value);
                    wildcards &= ~OFPFW_TP_SRC;
                    break;
                case TCP_DST:
                    setTcpDst((TransportPort) value);
                    wildcards &= ~OFPFW_TP_DST;
                    break;
                case TCP_SRC:
                    setTcpSrc((TransportPort) value);
                    wildcards &= ~OFPFW_TP_SRC;
                    break;
                case UDP_DST:
                    setTcpDst((TransportPort) value);
                    wildcards &= ~OFPFW_TP_DST;
                    break;
                case UDP_SRC:
                    setTcpSrc((TransportPort) value);
                    wildcards &= ~OFPFW_TP_SRC;
                    break;
                case VLAN_PCP:
                    setVlanPcp((VlanPcp) value);
                    wildcards &= ~OFPFW_DL_VLAN_PCP;
                    break;
                case VLAN_VID:
                    setVlanVid((OFVlanVidMatch) value);
                    wildcards &= ~OFPFW_DL_VLAN;
                    break;
                default:
                    throw new UnsupportedOperationException(
                            "OFMatch does not support matching on field " + field.getName());
            }
            return this;
        }

        @Override
        public <F extends OFValueType<F>> Match.Builder setMasked(MatchField<F> field,
                F value, F mask) {
            initWildcards();
            switch (field.id) {
                case ARP_SPA:
                case ARP_TPA:
                case IPV4_DST:
                case IPV4_SRC:
                    Object valObj = value;
                    Object masObj = mask;
                    IPv4Address ip = ((IPv4Address)valObj);
                    int maskval = ((IPv4Address)masObj).getInt();
                    if (Integer.bitCount(~maskval + 1) != 1)
                        throw new UnsupportedOperationException("OFMatch only supports CIDR masks for IPv4");
                    int maskLen = 32 - Integer.bitCount(maskval);
                    switch(field.id) {
                        case ARP_TPA:
                        case IPV4_DST:
                            setIpv4Dst(ip);
                            wildcards = (wildcards &~OFPFW_NW_DST_MASK) | (maskLen << OFPFW_NW_DST_SHIFT);
                            break;
                        case ARP_SPA:
                        case IPV4_SRC:
                            setIpv4Src(ip);
                            wildcards = (wildcards &~OFPFW_NW_SRC_MASK) | (maskLen << OFPFW_NW_SRC_SHIFT);
                            break;
                        default:
                            // Cannot really get here
                            break;
                    }
                    break;
                default:
                    throw new UnsupportedOperationException("OFMatch does not support masked matching on field " + field.getName());
            }
            return this;
        }

        @Override
        public <F extends OFValueType<F>> Match.Builder setMasked(MatchField<F> field, Masked<F> valueWithMask)
                                                                       throws UnsupportedOperationException {
            return this.setMasked(field, valueWithMask.getValue(), valueWithMask.getMask());
        }

        @Override
        public <F extends OFValueType<F>> Match.Builder wildcard(MatchField<F> field) {
            initWildcards();
            switch (field.id) {
                case ETH_DST:
                    setEthDst(MacAddress.NONE);
                    wildcards |= OFPFW_DL_DST;
                    break;
                case ETH_SRC:
                    setEthSrc(MacAddress.NONE);
                    wildcards |= OFPFW_DL_SRC;
                    break;
                case ETH_TYPE:
                    setEthType(EthType.NONE);
                    wildcards |= OFPFW_DL_TYPE;
                    break;
                case ICMPV4_CODE:
                case TCP_DST:
                case UDP_DST:
                case SCTP_DST:
                    setTcpDst(TransportPort.NONE);
                    wildcards |= OFPFW_TP_DST;
                    break;
                case ICMPV4_TYPE:
                case TCP_SRC:
                case UDP_SRC:
                case SCTP_SRC:
                    setTcpSrc(TransportPort.NONE);
                    wildcards |= OFPFW_TP_SRC;
                    break;
                case IN_PORT:
                    setInPort(OFPort.of(0)); // NOTE: not 'NONE' -- that is 0xFF for ports
                    wildcards |= OFPFW_IN_PORT;
                    break;
                case ARP_TPA:
                case IPV4_DST:
                    setIpv4Dst(IPv4Address.NONE);
                    wildcards |= OFPFW_NW_DST_MASK;
                    break;
                case ARP_SPA:
                case IPV4_SRC:
                    setIpv4Src(IPv4Address.NONE);
                    wildcards |= OFPFW_NW_SRC_MASK;
                    break;
                case IP_DSCP:
                    setIpDscp(IpDscp.NONE);
                    wildcards |= OFPFW_NW_TOS;
                    break;
                case IP_PROTO:
                    setIpProto(IpProtocol.NONE);
                    wildcards |= OFPFW_NW_PROTO;
                    break;
                case VLAN_PCP:
                    setVlanPcp(VlanPcp.NONE);
                    wildcards |= OFPFW_DL_VLAN_PCP;
                    break;
                case VLAN_VID:
                    setVlanVid(OFVlanVidMatch.NONE);
                    wildcards |= OFPFW_DL_VLAN;
                    break;
                default:
                    throw new UnsupportedOperationException("OFMatch does not support matching on field " + field.getName());
            }
            return this;
        }

    }
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFMatchV2Ver11.java369
org/projectfloodlight/openflow/protocol/ver11/OFMatchV2Ver11.java802
    @Override
    public int getType() {
        return 0x0;
    }

    @Override
    public OFPort getInPort() {
        return inPort;
    }

    @Override
    public OFMatchV2.Builder setInPort(OFPort inPort) {
        this.inPort = inPort;
        this.inPortSet = true;
        return this;
    }
    @Override
    public int getWildcards() {
        return wildcards;
    }

    @Override
    public OFMatchV2.Builder setWildcards(int wildcards) {
        this.wildcards = wildcards;
        this.wildcardsSet = true;
        return this;
    }
    @Override
    public MacAddress getEthSrc() {
        return ethSrc;
    }

    @Override
    public OFMatchV2.Builder setEthSrc(MacAddress ethSrc) {
        this.ethSrc = ethSrc;
        this.ethSrcSet = true;
        return this;
    }
    @Override
    public MacAddress getEthSrcMask() {
        return ethSrcMask;
    }

    @Override
    public OFMatchV2.Builder setEthSrcMask(MacAddress ethSrcMask) {
        this.ethSrcMask = ethSrcMask;
        this.ethSrcMaskSet = true;
        return this;
    }
    @Override
    public MacAddress getEthDst() {
        return ethDst;
    }

    @Override
    public OFMatchV2.Builder setEthDst(MacAddress ethDst) {
        this.ethDst = ethDst;
        this.ethDstSet = true;
        return this;
    }
    @Override
    public MacAddress getEthDstMask() {
        return ethDstMask;
    }

    @Override
    public OFMatchV2.Builder setEthDstMask(MacAddress ethDstMask) {
        this.ethDstMask = ethDstMask;
        this.ethDstMaskSet = true;
        return this;
    }
    @Override
    public int getVlanVid() {
        return vlanVid;
    }

    @Override
    public OFMatchV2.Builder setVlanVid(int vlanVid) {
        this.vlanVid = vlanVid;
        this.vlanVidSet = true;
        return this;
    }
    @Override
    public short getVlanPcp() {
        return vlanPcp;
    }

    @Override
    public OFMatchV2.Builder setVlanPcp(short vlanPcp) {
        this.vlanPcp = vlanPcp;
        this.vlanPcpSet = true;
        return this;
    }
    @Override
    public int getEthType() {
        return ethType;
    }

    @Override
    public OFMatchV2.Builder setEthType(int ethType) {
        this.ethType = ethType;
        this.ethTypeSet = true;
        return this;
    }
    @Override
    public short getIpDscp() {
        return ipDscp;
    }

    @Override
    public OFMatchV2.Builder setIpDscp(short ipDscp) {
        this.ipDscp = ipDscp;
        this.ipDscpSet = true;
        return this;
    }
    @Override
    public short getIpProto() {
        return ipProto;
    }

    @Override
    public OFMatchV2.Builder setIpProto(short ipProto) {
        this.ipProto = ipProto;
        this.ipProtoSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Src() {
        return ipv4Src;
    }

    @Override
    public OFMatchV2.Builder setIpv4Src(IPv4Address ipv4Src) {
        this.ipv4Src = ipv4Src;
        this.ipv4SrcSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4SrcMask() {
        return ipv4SrcMask;
    }

    @Override
    public OFMatchV2.Builder setIpv4SrcMask(IPv4Address ipv4SrcMask) {
        this.ipv4SrcMask = ipv4SrcMask;
        this.ipv4SrcMaskSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Dst() {
        return ipv4Dst;
    }

    @Override
    public OFMatchV2.Builder setIpv4Dst(IPv4Address ipv4Dst) {
        this.ipv4Dst = ipv4Dst;
        this.ipv4DstSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4DstMask() {
        return ipv4DstMask;
    }

    @Override
    public OFMatchV2.Builder setIpv4DstMask(IPv4Address ipv4DstMask) {
        this.ipv4DstMask = ipv4DstMask;
        this.ipv4DstMaskSet = true;
        return this;
    }
    @Override
    public int getTcpSrc() {
        return tcpSrc;
    }

    @Override
    public OFMatchV2.Builder setTcpSrc(int tcpSrc) {
        this.tcpSrc = tcpSrc;
        this.tcpSrcSet = true;
        return this;
    }
    @Override
    public int getTcpDst() {
        return tcpDst;
    }

    @Override
    public OFMatchV2.Builder setTcpDst(int tcpDst) {
        this.tcpDst = tcpDst;
        this.tcpDstSet = true;
        return this;
    }
    @Override
    public long getMplsLabel() {
        return mplsLabel;
    }

    @Override
    public OFMatchV2.Builder setMplsLabel(long mplsLabel) {
        this.mplsLabel = mplsLabel;
        this.mplsLabelSet = true;
        return this;
    }
    @Override
    public short getMplsTc() {
        return mplsTc;
    }

    @Override
    public OFMatchV2.Builder setMplsTc(short mplsTc) {
        this.mplsTc = mplsTc;
        this.mplsTcSet = true;
        return this;
    }
    @Override
    public U64 getMetadata() {
        return metadata;
    }

    @Override
    public OFMatchV2.Builder setMetadata(U64 metadata) {
        this.metadata = metadata;
        this.metadataSet = true;
        return this;
    }
    @Override
    public U64 getMetadataMask() {
        return metadataMask;
    }

    @Override
    public OFMatchV2.Builder setMetadataMask(U64 metadataMask) {
        this.metadataMask = metadataMask;
        this.metadataMaskSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }



        @Override
        public OFMatchV2 build() {
                OFPort inPort = this.inPortSet ? this.inPort : parentMessage.inPort;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java229
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java229
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2bL;
    }

    @Override
    public short getConvergenceStatus() {
        return convergenceStatus;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setConvergenceStatus(short convergenceStatus) {
        this.convergenceStatus = convergenceStatus;
        this.convergenceStatusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorSysPriority(int actorSysPriority) {
        this.actorSysPriority = actorSysPriority;
        this.actorSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorSysMac(MacAddress actorSysMac) {
        this.actorSysMac = actorSysMac;
        this.actorSysMacSet = true;
        return this;
    }
    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorPortPriority(int actorPortPriority) {
        this.actorPortPriority = actorPortPriority;
        this.actorPortPrioritySet = true;
        return this;
    }
    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorPortNum(int actorPortNum) {
        this.actorPortNum = actorPortNum;
        this.actorPortNumSet = true;
        return this;
    }
    @Override
    public int getActorKey() {
        return actorKey;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorKey(int actorKey) {
        this.actorKey = actorKey;
        this.actorKeySet = true;
        return this;
    }
    @Override
    public int getPartnerSysPriority() {
        return partnerSysPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerSysPriority(int partnerSysPriority) {
        this.partnerSysPriority = partnerSysPriority;
        this.partnerSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getPartnerSysMac() {
        return partnerSysMac;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerSysMac(MacAddress partnerSysMac) {
        this.partnerSysMac = partnerSysMac;
        this.partnerSysMacSet = true;
        return this;
    }
    @Override
    public int getPartnerPortPriority() {
        return partnerPortPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerPortPriority(int partnerPortPriority) {
        this.partnerPortPriority = partnerPortPriority;
        this.partnerPortPrioritySet = true;
        return this;
    }
    @Override
    public int getPartnerPortNum() {
        return partnerPortNum;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerPortNum(int partnerPortNum) {
        this.partnerPortNum = partnerPortNum;
        this.partnerPortNumSet = true;
        return this;
    }
    @Override
    public int getPartnerKey() {
        return partnerKey;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerKey(int partnerKey) {
        this.partnerKey = partnerKey;
        this.partnerKeySet = true;
        return this;
    }


        @Override
        public OFBsnLacpConvergenceNotif build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                short convergenceStatus = this.convergenceStatusSet ? this.convergenceStatus : parentMessage.convergenceStatus;
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                int actorSysPriority = this.actorSysPrioritySet ? this.actorSysPriority : parentMessage.actorSysPriority;
                MacAddress actorSysMac = this.actorSysMacSet ? this.actorSysMac : parentMessage.actorSysMac;
                if(actorSysMac == null)
                    throw new NullPointerException("Property actorSysMac must not be null");
                int actorPortPriority = this.actorPortPrioritySet ? this.actorPortPriority : parentMessage.actorPortPriority;
                int actorPortNum = this.actorPortNumSet ? this.actorPortNum : parentMessage.actorPortNum;
                int actorKey = this.actorKeySet ? this.actorKey : parentMessage.actorKey;
                int partnerSysPriority = this.partnerSysPrioritySet ? this.partnerSysPriority : parentMessage.partnerSysPriority;
                MacAddress partnerSysMac = this.partnerSysMacSet ? this.partnerSysMac : parentMessage.partnerSysMac;
                if(partnerSysMac == null)
                    throw new NullPointerException("Property partnerSysMac must not be null");
                int partnerPortPriority = this.partnerPortPrioritySet ? this.partnerPortPriority : parentMessage.partnerPortPriority;
                int partnerPortNum = this.partnerPortNumSet ? this.partnerPortNum : parentMessage.partnerPortNum;
                int partnerKey = this.partnerKeySet ? this.partnerKey : parentMessage.partnerKey;

                //
                return new OFBsnLacpConvergenceNotifVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java900
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java900
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java900
        OFPortStatsEntryVer10 other = (OFPortStatsEntryVer10) obj;

        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if (rxPackets == null) {
            if (other.rxPackets != null)
                return false;
        } else if (!rxPackets.equals(other.rxPackets))
            return false;
        if (txPackets == null) {
            if (other.txPackets != null)
                return false;
        } else if (!txPackets.equals(other.txPackets))
            return false;
        if (rxBytes == null) {
            if (other.rxBytes != null)
                return false;
        } else if (!rxBytes.equals(other.rxBytes))
            return false;
        if (txBytes == null) {
            if (other.txBytes != null)
                return false;
        } else if (!txBytes.equals(other.txBytes))
            return false;
        if (rxDropped == null) {
            if (other.rxDropped != null)
                return false;
        } else if (!rxDropped.equals(other.rxDropped))
            return false;
        if (txDropped == null) {
            if (other.txDropped != null)
                return false;
        } else if (!txDropped.equals(other.txDropped))
            return false;
        if (rxErrors == null) {
            if (other.rxErrors != null)
                return false;
        } else if (!rxErrors.equals(other.rxErrors))
            return false;
        if (txErrors == null) {
            if (other.txErrors != null)
                return false;
        } else if (!txErrors.equals(other.txErrors))
            return false;
        if (rxFrameErr == null) {
            if (other.rxFrameErr != null)
                return false;
        } else if (!rxFrameErr.equals(other.rxFrameErr))
            return false;
        if (rxOverErr == null) {
            if (other.rxOverErr != null)
                return false;
        } else if (!rxOverErr.equals(other.rxOverErr))
            return false;
        if (rxCrcErr == null) {
            if (other.rxCrcErr != null)
                return false;
        } else if (!rxCrcErr.equals(other.rxCrcErr))
            return false;
        if (collisions == null) {
            if (other.collisions != null)
                return false;
        } else if (!collisions.equals(other.collisions))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime * result + ((rxPackets == null) ? 0 : rxPackets.hashCode());
        result = prime * result + ((txPackets == null) ? 0 : txPackets.hashCode());
        result = prime * result + ((rxBytes == null) ? 0 : rxBytes.hashCode());
        result = prime * result + ((txBytes == null) ? 0 : txBytes.hashCode());
        result = prime * result + ((rxDropped == null) ? 0 : rxDropped.hashCode());
        result = prime * result + ((txDropped == null) ? 0 : txDropped.hashCode());
        result = prime * result + ((rxErrors == null) ? 0 : rxErrors.hashCode());
        result = prime * result + ((txErrors == null) ? 0 : txErrors.hashCode());
        result = prime * result + ((rxFrameErr == null) ? 0 : rxFrameErr.hashCode());
        result = prime * result + ((rxOverErr == null) ? 0 : rxOverErr.hashCode());
        result = prime * result + ((rxCrcErr == null) ? 0 : rxCrcErr.hashCode());
        result = prime * result + ((collisions == null) ? 0 : collisions.hashCode());
        return result;
    }

}
FileLine
net/onrc/openvirtex/messages/ver10/OVXPacketInVer10.java387
net/onrc/openvirtex/messages/ver10/OVXPacketOutVer10.java254
    }

    /**
     * Initializes this Match structure with the corresponding data from the
     * specified packet. Must specify the input port, to ensure that
     * this.in_port is set correctly. Specify OFPort.NONE or OFPort.ANY if input
     * port not applicable or available
     *
     * @param packetData
     *            The packet's data
     * @param inputPort
     *            the port the packet arrived on
     */
    public Match loadFromPacket(final byte[] packetData, final short inputPort) {
        short scratch;
        int transportOffset = 34;
        final ByteBuffer packetDataBB = ByteBuffer.wrap(packetData);
        final int limit = packetDataBB.limit();

        
        Set<OFFlowWildcards> wildcards=new HashSet<OFFlowWildcards>();
        if (OFPort.ofShort(inputPort) == OFPort.ALL) {
        	wildcards.add(OFFlowWildcards.IN_PORT);
        }

        assert limit >= 14;
        // dl dst
       
        byte[] ethDst = new byte[6];
        packetDataBB.get(ethDst);
        // dl src
        byte[] ethSrc = new byte[6];
        packetDataBB.get(ethSrc);
        // dl type
        
        short ethType=packetDataBB.getShort();
        
        short vlanVid=0;
        byte vlanPcp=0;
        

        if (ethType != (short) 0x8100) { // need cast to avoid
                                                         // signed
            // bug
        	
            vlanVid=(short) 0xffff;
            vlanPcp=(byte) 0;
        } else {
            // has vlan tag
            scratch = packetDataBB.getShort();
            vlanVid=(short) (0xfff & scratch);
            vlanPcp=(byte) ((0xe000 & scratch) >> 13);
            ethType = packetDataBB.getShort();
        }
        byte ipDscp=0;
        byte ipProtocol=0;
        int ipv4Src=0;
        int ipv4Dst=0;

       
        
        switch (ethType) {
        case 0x0800:
            // ipv4
            // check packet length
            scratch = packetDataBB.get();
            scratch = (short) (0xf & scratch);
            transportOffset = packetDataBB.position() - 1 + scratch * 4;
            // nw tos (dscp)
            scratch = packetDataBB.get();
            ipDscp=(byte) ((0xfc & scratch) >> 2);
            // nw protocol
            packetDataBB.position(packetDataBB.position() + 7);
            ipProtocol = packetDataBB.get();
            // nw src
            packetDataBB.position(packetDataBB.position() + 2);
            ipv4Src = packetDataBB.getInt();
            // nw dst
            ipv4Dst = packetDataBB.getInt();
            packetDataBB.position(transportOffset);
            break;
        case 0x0806:
            // arp
            final int arpPos = packetDataBB.position();
            // opcode
            scratch = packetDataBB.getShort(arpPos + 6);
            ipDscp=(byte) (0xff & scratch);

            scratch = packetDataBB.getShort(arpPos + 2);
            // if ipv4 and addr len is 4
            if (scratch == 0x800 && packetDataBB.get(arpPos + 5) == 4) {
                // nw src
                ipv4Src = packetDataBB.getInt(arpPos + 14);
                // nw dst
                ipv4Dst = packetDataBB.getInt(arpPos + 24);
            } else {
                ipv4Src=0;
                ipv4Dst=0;
            }
            break;
        default:
            // Not ARP or IP. Wildcard NW_DST and NW_SRC
        	wildcards.add(OFFlowWildcards.NW_DST_ALL);
        	wildcards.add(OFFlowWildcards.NW_SRC_ALL);
        	wildcards.add(OFFlowWildcards.NW_PROTO);
        	wildcards.add(OFFlowWildcards.NW_TOS);
            ipDscp=(byte)0;
        	ipProtocol=(byte)0;
        	ipv4Src=0;
        	ipv4Dst=0;
            break;
        }
        
        short tcpSrc=0;
        short tcpDst=0;
        
        
        		
        switch (ipProtocol) {
        case 0x01:
            // icmp
            // type
            tcpSrc = U8.f(packetDataBB.get());
            // code
            tcpDst = U8.f(packetDataBB.get());
            break;
        case 0x06:
            // tcp
            // tcp src
            tcpSrc = packetDataBB.getShort();
            // tcp dest
            tcpDst = packetDataBB.getShort();
            break;
        case 0x11:
            // udp
            // udp src
            tcpSrc = packetDataBB.getShort();
            // udp dest
            tcpDst = packetDataBB.getShort();
            break;
        default:
            // Unknown network proto.
        	wildcards.add(OFFlowWildcards.TP_DST);
        	wildcards.add(OFFlowWildcards.TP_SRC);
        	
        	tcpDst = (short)0;
        	tcpSrc = (short)0;
        	break;
        }
		Match match_from_packet=OVXFactoryInst.myFactory.buildMatchV1()
        .setWildcards(OFFlowWildcardsSerializerVer10.toWireValue(wildcards))
        .setInPort(OFPort.ofShort(inputPort))
        .setEthDst(MacAddress.of(ethDst))
        .setEthSrc(MacAddress.of(ethSrc))
        .setEthType(EthType.of(ethType))
        .setVlanVid(OFVlanVidMatch.ofRawVid(vlanVid))
        .setVlanPcp(VlanPcp.of(vlanPcp))
        .setIpDscp(IpDscp.of(ipDscp))
        .setIpProto(IpProtocol.of(ipProtocol))
        .setIpv4Src(IPv4Address.of(ipv4Src))
        .setIpv4Dst(IPv4Address.of(ipv4Dst))
        .setTcpSrc(TransportPort.of(tcpSrc))
        .setTcpDst(TransportPort.of(tcpDst))
        .build();
        return match_from_packet;
    }
   

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortFeaturesSerializerVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFPortFeaturesSerializerVer14.java34
public class OFPortFeaturesSerializerVer13 {

    public final static int PF_10MB_HD_VAL = 0x1;
    public final static int PF_10MB_FD_VAL = 0x2;
    public final static int PF_100MB_HD_VAL = 0x4;
    public final static int PF_100MB_FD_VAL = 0x8;
    public final static int PF_1GB_HD_VAL = 0x10;
    public final static int PF_1GB_FD_VAL = 0x20;
    public final static int PF_10GB_FD_VAL = 0x40;
    public final static int PF_COPPER_VAL = 0x800;
    public final static int PF_FIBER_VAL = 0x1000;
    public final static int PF_AUTONEG_VAL = 0x2000;
    public final static int PF_PAUSE_VAL = 0x4000;
    public final static int PF_PAUSE_ASYM_VAL = 0x8000;
    public final static int PF_40GB_FD_VAL = 0x80;
    public final static int PF_100GB_FD_VAL = 0x100;
    public final static int PF_1TB_FD_VAL = 0x200;
    public final static int PF_OTHER_VAL = 0x400;
    public final static int PF_BSN_BREAKOUT_CAPABLE_VAL = (int) 0x80000000;

    public static Set<OFPortFeatures> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFPortFeatures> set) {
        bb.writeInt(toWireValue(set));
    }

    public static void putTo(Set<OFPortFeatures> set, PrimitiveSink sink) {
        sink.putInt(toWireValue(set));
    }


    public static Set<OFPortFeatures> ofWireValue(int val) {
        EnumSet<OFPortFeatures> set = EnumSet.noneOf(OFPortFeatures.class);

        if((val & PF_10MB_HD_VAL) != 0)
            set.add(OFPortFeatures.PF_10MB_HD);
        if((val & PF_10MB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_10MB_FD);
        if((val & PF_100MB_HD_VAL) != 0)
            set.add(OFPortFeatures.PF_100MB_HD);
        if((val & PF_100MB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_100MB_FD);
        if((val & PF_1GB_HD_VAL) != 0)
            set.add(OFPortFeatures.PF_1GB_HD);
        if((val & PF_1GB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_1GB_FD);
        if((val & PF_10GB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_10GB_FD);
        if((val & PF_COPPER_VAL) != 0)
            set.add(OFPortFeatures.PF_COPPER);
        if((val & PF_FIBER_VAL) != 0)
            set.add(OFPortFeatures.PF_FIBER);
        if((val & PF_AUTONEG_VAL) != 0)
            set.add(OFPortFeatures.PF_AUTONEG);
        if((val & PF_PAUSE_VAL) != 0)
            set.add(OFPortFeatures.PF_PAUSE);
        if((val & PF_PAUSE_ASYM_VAL) != 0)
            set.add(OFPortFeatures.PF_PAUSE_ASYM);
        if((val & PF_40GB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_40GB_FD);
        if((val & PF_100GB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_100GB_FD);
        if((val & PF_1TB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_1TB_FD);
        if((val & PF_OTHER_VAL) != 0)
            set.add(OFPortFeatures.PF_OTHER);
        if((val & PF_BSN_BREAKOUT_CAPABLE_VAL) != 0)
            set.add(OFPortFeatures.PF_BSN_BREAKOUT_CAPABLE);
        return Collections.unmodifiableSet(set);
    }

    public static int toWireValue(Set<OFPortFeatures> set) {
        int wireValue = 0;

        for(OFPortFeatures e: set) {
            switch(e) {
                case PF_10MB_HD:
                    wireValue |= PF_10MB_HD_VAL;
                    break;
                case PF_10MB_FD:
                    wireValue |= PF_10MB_FD_VAL;
                    break;
                case PF_100MB_HD:
                    wireValue |= PF_100MB_HD_VAL;
                    break;
                case PF_100MB_FD:
                    wireValue |= PF_100MB_FD_VAL;
                    break;
                case PF_1GB_HD:
                    wireValue |= PF_1GB_HD_VAL;
                    break;
                case PF_1GB_FD:
                    wireValue |= PF_1GB_FD_VAL;
                    break;
                case PF_10GB_FD:
                    wireValue |= PF_10GB_FD_VAL;
                    break;
                case PF_COPPER:
                    wireValue |= PF_COPPER_VAL;
                    break;
                case PF_FIBER:
                    wireValue |= PF_FIBER_VAL;
                    break;
                case PF_AUTONEG:
                    wireValue |= PF_AUTONEG_VAL;
                    break;
                case PF_PAUSE:
                    wireValue |= PF_PAUSE_VAL;
                    break;
                case PF_PAUSE_ASYM:
                    wireValue |= PF_PAUSE_ASYM_VAL;
                    break;
                case PF_40GB_FD:
                    wireValue |= PF_40GB_FD_VAL;
                    break;
                case PF_100GB_FD:
                    wireValue |= PF_100GB_FD_VAL;
                    break;
                case PF_1TB_FD:
                    wireValue |= PF_1TB_FD_VAL;
                    break;
                case PF_OTHER:
                    wireValue |= PF_OTHER_VAL;
                    break;
                case PF_BSN_BREAKOUT_CAPABLE:
                    wireValue |= PF_BSN_BREAKOUT_CAPABLE_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFPortFeatures in version 1.3: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java465
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java465
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2bL;
    }

    @Override
    public short getConvergenceStatus() {
        return convergenceStatus;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setConvergenceStatus(short convergenceStatus) {
        this.convergenceStatus = convergenceStatus;
        this.convergenceStatusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorSysPriority(int actorSysPriority) {
        this.actorSysPriority = actorSysPriority;
        this.actorSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorSysMac(MacAddress actorSysMac) {
        this.actorSysMac = actorSysMac;
        this.actorSysMacSet = true;
        return this;
    }
    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorPortPriority(int actorPortPriority) {
        this.actorPortPriority = actorPortPriority;
        this.actorPortPrioritySet = true;
        return this;
    }
    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorPortNum(int actorPortNum) {
        this.actorPortNum = actorPortNum;
        this.actorPortNumSet = true;
        return this;
    }
    @Override
    public int getActorKey() {
        return actorKey;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorKey(int actorKey) {
        this.actorKey = actorKey;
        this.actorKeySet = true;
        return this;
    }
    @Override
    public int getPartnerSysPriority() {
        return partnerSysPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerSysPriority(int partnerSysPriority) {
        this.partnerSysPriority = partnerSysPriority;
        this.partnerSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getPartnerSysMac() {
        return partnerSysMac;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerSysMac(MacAddress partnerSysMac) {
        this.partnerSysMac = partnerSysMac;
        this.partnerSysMacSet = true;
        return this;
    }
    @Override
    public int getPartnerPortPriority() {
        return partnerPortPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerPortPriority(int partnerPortPriority) {
        this.partnerPortPriority = partnerPortPriority;
        this.partnerPortPrioritySet = true;
        return this;
    }
    @Override
    public int getPartnerPortNum() {
        return partnerPortNum;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerPortNum(int partnerPortNum) {
        this.partnerPortNum = partnerPortNum;
        this.partnerPortNumSet = true;
        return this;
    }
    @Override
    public int getPartnerKey() {
        return partnerKey;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerKey(int partnerKey) {
        this.partnerKey = partnerKey;
        this.partnerKeySet = true;
        return this;
    }
//
        @Override
        public OFBsnLacpConvergenceNotif build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            short convergenceStatus = this.convergenceStatusSet ? this.convergenceStatus : DEFAULT_CONVERGENCE_STATUS;
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            int actorSysPriority = this.actorSysPrioritySet ? this.actorSysPriority : DEFAULT_ACTOR_SYS_PRIORITY;
            MacAddress actorSysMac = this.actorSysMacSet ? this.actorSysMac : DEFAULT_ACTOR_SYS_MAC;
            if(actorSysMac == null)
                throw new NullPointerException("Property actorSysMac must not be null");
            int actorPortPriority = this.actorPortPrioritySet ? this.actorPortPriority : DEFAULT_ACTOR_PORT_PRIORITY;
            int actorPortNum = this.actorPortNumSet ? this.actorPortNum : DEFAULT_ACTOR_PORT_NUM;
            int actorKey = this.actorKeySet ? this.actorKey : DEFAULT_ACTOR_KEY;
            int partnerSysPriority = this.partnerSysPrioritySet ? this.partnerSysPriority : DEFAULT_PARTNER_SYS_PRIORITY;
            MacAddress partnerSysMac = this.partnerSysMacSet ? this.partnerSysMac : DEFAULT_PARTNER_SYS_MAC;
            if(partnerSysMac == null)
                throw new NullPointerException("Property partnerSysMac must not be null");
            int partnerPortPriority = this.partnerPortPrioritySet ? this.partnerPortPriority : DEFAULT_PARTNER_PORT_PRIORITY;
            int partnerPortNum = this.partnerPortNumSet ? this.partnerPortNum : DEFAULT_PARTNER_PORT_NUM;
            int partnerKey = this.partnerKeySet ? this.partnerKey : DEFAULT_PARTNER_KEY;


            return new OFBsnLacpConvergenceNotifVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java215
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java215
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java215
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_REMOVED;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowRemoved.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowRemoved.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowRemoved.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public short getReason() {
        return reason;
    }

    @Override
    public OFFlowRemoved.Builder setReason(short reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowRemoved.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowRemoved.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowRemoved.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowRemoved.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowRemoved.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowRemoved.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFFlowRemoved build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                short reason = this.reasonSet ? this.reason : parentMessage.reason;
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                long durationSec = this.durationSecSet ? this.durationSec : parentMessage.durationSec;
                long durationNsec = this.durationNsecSet ? this.durationNsec : parentMessage.durationNsec;
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                U64 packetCount = this.packetCountSet ? this.packetCount : parentMessage.packetCount;
                if(packetCount == null)
                    throw new NullPointerException("Property packetCount must not be null");
                U64 byteCount = this.byteCountSet ? this.byteCount : parentMessage.byteCount;
                if(byteCount == null)
                    throw new NullPointerException("Property byteCount must not be null");
                Match match = this.matchSet ? this.match : parentMessage.match;
                if(match == null)
                    throw new NullPointerException("Property match must not be null");

                //
                return new OFFlowRemovedVer12(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortFeaturesSerializerVer11.java34
org/projectfloodlight/openflow/protocol/ver12/OFPortFeaturesSerializerVer12.java34
public class OFPortFeaturesSerializerVer11 {

    public final static int PF_10MB_HD_VAL = 0x1;
    public final static int PF_10MB_FD_VAL = 0x2;
    public final static int PF_100MB_HD_VAL = 0x4;
    public final static int PF_100MB_FD_VAL = 0x8;
    public final static int PF_1GB_HD_VAL = 0x10;
    public final static int PF_1GB_FD_VAL = 0x20;
    public final static int PF_10GB_FD_VAL = 0x40;
    public final static int PF_COPPER_VAL = 0x800;
    public final static int PF_FIBER_VAL = 0x1000;
    public final static int PF_AUTONEG_VAL = 0x2000;
    public final static int PF_PAUSE_VAL = 0x4000;
    public final static int PF_PAUSE_ASYM_VAL = 0x8000;
    public final static int PF_40GB_FD_VAL = 0x80;
    public final static int PF_100GB_FD_VAL = 0x100;
    public final static int PF_1TB_FD_VAL = 0x200;
    public final static int PF_OTHER_VAL = 0x400;

    public static Set<OFPortFeatures> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFPortFeatures> set) {
        bb.writeInt(toWireValue(set));
    }

    public static void putTo(Set<OFPortFeatures> set, PrimitiveSink sink) {
        sink.putInt(toWireValue(set));
    }


    public static Set<OFPortFeatures> ofWireValue(int val) {
        EnumSet<OFPortFeatures> set = EnumSet.noneOf(OFPortFeatures.class);

        if((val & PF_10MB_HD_VAL) != 0)
            set.add(OFPortFeatures.PF_10MB_HD);
        if((val & PF_10MB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_10MB_FD);
        if((val & PF_100MB_HD_VAL) != 0)
            set.add(OFPortFeatures.PF_100MB_HD);
        if((val & PF_100MB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_100MB_FD);
        if((val & PF_1GB_HD_VAL) != 0)
            set.add(OFPortFeatures.PF_1GB_HD);
        if((val & PF_1GB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_1GB_FD);
        if((val & PF_10GB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_10GB_FD);
        if((val & PF_COPPER_VAL) != 0)
            set.add(OFPortFeatures.PF_COPPER);
        if((val & PF_FIBER_VAL) != 0)
            set.add(OFPortFeatures.PF_FIBER);
        if((val & PF_AUTONEG_VAL) != 0)
            set.add(OFPortFeatures.PF_AUTONEG);
        if((val & PF_PAUSE_VAL) != 0)
            set.add(OFPortFeatures.PF_PAUSE);
        if((val & PF_PAUSE_ASYM_VAL) != 0)
            set.add(OFPortFeatures.PF_PAUSE_ASYM);
        if((val & PF_40GB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_40GB_FD);
        if((val & PF_100GB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_100GB_FD);
        if((val & PF_1TB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_1TB_FD);
        if((val & PF_OTHER_VAL) != 0)
            set.add(OFPortFeatures.PF_OTHER);
        return Collections.unmodifiableSet(set);
    }

    public static int toWireValue(Set<OFPortFeatures> set) {
        int wireValue = 0;

        for(OFPortFeatures e: set) {
            switch(e) {
                case PF_10MB_HD:
                    wireValue |= PF_10MB_HD_VAL;
                    break;
                case PF_10MB_FD:
                    wireValue |= PF_10MB_FD_VAL;
                    break;
                case PF_100MB_HD:
                    wireValue |= PF_100MB_HD_VAL;
                    break;
                case PF_100MB_FD:
                    wireValue |= PF_100MB_FD_VAL;
                    break;
                case PF_1GB_HD:
                    wireValue |= PF_1GB_HD_VAL;
                    break;
                case PF_1GB_FD:
                    wireValue |= PF_1GB_FD_VAL;
                    break;
                case PF_10GB_FD:
                    wireValue |= PF_10GB_FD_VAL;
                    break;
                case PF_COPPER:
                    wireValue |= PF_COPPER_VAL;
                    break;
                case PF_FIBER:
                    wireValue |= PF_FIBER_VAL;
                    break;
                case PF_AUTONEG:
                    wireValue |= PF_AUTONEG_VAL;
                    break;
                case PF_PAUSE:
                    wireValue |= PF_PAUSE_VAL;
                    break;
                case PF_PAUSE_ASYM:
                    wireValue |= PF_PAUSE_ASYM_VAL;
                    break;
                case PF_40GB_FD:
                    wireValue |= PF_40GB_FD_VAL;
                    break;
                case PF_100GB_FD:
                    wireValue |= PF_100GB_FD_VAL;
                    break;
                case PF_1TB_FD:
                    wireValue |= PF_1TB_FD_VAL;
                    break;
                case PF_OTHER:
                    wireValue |= PF_OTHER_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFPortFeatures in version 1.1: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java430
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java430
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java430
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_REMOVED;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowRemoved.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowRemoved.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowRemoved.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public short getReason() {
        return reason;
    }

    @Override
    public OFFlowRemoved.Builder setReason(short reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowRemoved.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowRemoved.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowRemoved.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowRemoved.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowRemoved.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowRemoved.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
//
        @Override
        public OFFlowRemoved build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            short reason = this.reasonSet ? this.reason : DEFAULT_REASON;
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            long durationSec = this.durationSecSet ? this.durationSec : DEFAULT_DURATION_SEC;
            long durationNsec = this.durationNsecSet ? this.durationNsec : DEFAULT_DURATION_NSEC;
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            U64 packetCount = this.packetCountSet ? this.packetCount : DEFAULT_PACKET_COUNT;
            if(packetCount == null)
                throw new NullPointerException("Property packetCount must not be null");
            U64 byteCount = this.byteCountSet ? this.byteCount : DEFAULT_BYTE_COUNT;
            if(byteCount == null)
                throw new NullPointerException("Property byteCount must not be null");
            Match match = this.matchSet ? this.match : DEFAULT_MATCH;
            if(match == null)
                throw new NullPointerException("Property match must not be null");


            return new OFFlowRemovedVer12(
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsReplyVer12.java209
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsReplyVer13.java209
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsReplyVer14.java209
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_FEATURES;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getTypes() {
        return types;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setTypes(long types) {
        this.types = types;
        this.typesSet = true;
        return this;
    }
    @Override
    public long getCapabilities() {
        return capabilities;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setCapabilities(long capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsAll() {
        return maxGroupsAll;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsAll(long maxGroupsAll) {
        this.maxGroupsAll = maxGroupsAll;
        this.maxGroupsAllSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsSelect() {
        return maxGroupsSelect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsSelect(long maxGroupsSelect) {
        this.maxGroupsSelect = maxGroupsSelect;
        this.maxGroupsSelectSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsIndirect() {
        return maxGroupsIndirect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsIndirect(long maxGroupsIndirect) {
        this.maxGroupsIndirect = maxGroupsIndirect;
        this.maxGroupsIndirectSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsFf() {
        return maxGroupsFf;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsFf(long maxGroupsFf) {
        this.maxGroupsFf = maxGroupsFf;
        this.maxGroupsFfSet = true;
        return this;
    }
    @Override
    public long getActionsAll() {
        return actionsAll;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsAll(long actionsAll) {
        this.actionsAll = actionsAll;
        this.actionsAllSet = true;
        return this;
    }
    @Override
    public long getActionsSelect() {
        return actionsSelect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsSelect(long actionsSelect) {
        this.actionsSelect = actionsSelect;
        this.actionsSelectSet = true;
        return this;
    }
    @Override
    public long getActionsIndirect() {
        return actionsIndirect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsIndirect(long actionsIndirect) {
        this.actionsIndirect = actionsIndirect;
        this.actionsIndirectSet = true;
        return this;
    }
    @Override
    public long getActionsFf() {
        return actionsFf;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsFf(long actionsFf) {
        this.actionsFf = actionsFf;
        this.actionsFfSet = true;
        return this;
    }


        @Override
        public OFGroupFeaturesStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                long types = this.typesSet ? this.types : parentMessage.types;
                long capabilities = this.capabilitiesSet ? this.capabilities : parentMessage.capabilities;
                long maxGroupsAll = this.maxGroupsAllSet ? this.maxGroupsAll : parentMessage.maxGroupsAll;
                long maxGroupsSelect = this.maxGroupsSelectSet ? this.maxGroupsSelect : parentMessage.maxGroupsSelect;
                long maxGroupsIndirect = this.maxGroupsIndirectSet ? this.maxGroupsIndirect : parentMessage.maxGroupsIndirect;
                long maxGroupsFf = this.maxGroupsFfSet ? this.maxGroupsFf : parentMessage.maxGroupsFf;
                long actionsAll = this.actionsAllSet ? this.actionsAll : parentMessage.actionsAll;
                long actionsSelect = this.actionsSelectSet ? this.actionsSelect : parentMessage.actionsSelect;
                long actionsIndirect = this.actionsIndirectSet ? this.actionsIndirect : parentMessage.actionsIndirect;
                long actionsFf = this.actionsFfSet ? this.actionsFf : parentMessage.actionsFf;

                //
                return new OFGroupFeaturesStatsReplyVer12(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescPropOpticalVer13.java280
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescPropOpticalVer13.java573
    @Override
    public int getType() {
        return 0x2;
    }

    @Override
    public Set<OFCalientOpticalPortAdminState> getInAdminStatus() {
        return inAdminStatus;
    }

    @Override
    public OFCalientPortDescPropOptical.Builder setInAdminStatus(Set<OFCalientOpticalPortAdminState> inAdminStatus) {
        this.inAdminStatus = inAdminStatus;
        this.inAdminStatusSet = true;
        return this;
    }
    @Override
    public Set<OFCalientOpticalPortOperState> getInOperStatus() {
        return inOperStatus;
    }

    @Override
    public OFCalientPortDescPropOptical.Builder setInOperStatus(Set<OFCalientOpticalPortOperState> inOperStatus) {
        this.inOperStatus = inOperStatus;
        this.inOperStatusSet = true;
        return this;
    }
    @Override
    public Set<OFCalientOpticalPortOperCapability> getInOperCapability() {
        return inOperCapability;
    }

    @Override
    public OFCalientPortDescPropOptical.Builder setInOperCapability(Set<OFCalientOpticalPortOperCapability> inOperCapability) {
        this.inOperCapability = inOperCapability;
        this.inOperCapabilitySet = true;
        return this;
    }
    @Override
    public Set<OFCalientOpticalPortAdminState> getOutAdminStatus() {
        return outAdminStatus;
    }

    @Override
    public OFCalientPortDescPropOptical.Builder setOutAdminStatus(Set<OFCalientOpticalPortAdminState> outAdminStatus) {
        this.outAdminStatus = outAdminStatus;
        this.outAdminStatusSet = true;
        return this;
    }
    @Override
    public Set<OFCalientOpticalPortOperState> getOutOperStatus() {
        return outOperStatus;
    }

    @Override
    public OFCalientPortDescPropOptical.Builder setOutOperStatus(Set<OFCalientOpticalPortOperState> outOperStatus) {
        this.outOperStatus = outOperStatus;
        this.outOperStatusSet = true;
        return this;
    }
    @Override
    public Set<OFCalientOpticalPortOperCapability> getOutOperCapability() {
        return outOperCapability;
    }

    @Override
    public OFCalientPortDescPropOptical.Builder setOutOperCapability(Set<OFCalientOpticalPortOperCapability> outOperCapability) {
        this.outOperCapability = outOperCapability;
        this.outOperCapabilitySet = true;
        return this;
    }
    @Override
    public String getInportPower() {
        return inportPower;
    }

    @Override
    public OFCalientPortDescPropOptical.Builder setInportPower(String inportPower) {
        this.inportPower = inportPower;
        this.inportPowerSet = true;
        return this;
    }
    @Override
    public String getOutportPower() {
        return outportPower;
    }

    @Override
    public OFCalientPortDescPropOptical.Builder setOutportPower(String outportPower) {
        this.outportPower = outportPower;
        this.outportPowerSet = true;
        return this;
    }
    @Override
    public U64 getInPeerNode() {
        return inPeerNode;
    }

    @Override
    public OFCalientPortDescPropOptical.Builder setInPeerNode(U64 inPeerNode) {
        this.inPeerNode = inPeerNode;
        this.inPeerNodeSet = true;
        return this;
    }
    @Override
    public U64 getOutPeerNode() {
        return outPeerNode;
    }

    @Override
    public OFCalientPortDescPropOptical.Builder setOutPeerNode(U64 outPeerNode) {
        this.outPeerNode = outPeerNode;
        this.outPeerNodeSet = true;
        return this;
    }
    @Override
    public int getInPeerPort() {
        return inPeerPort;
    }

    @Override
    public OFCalientPortDescPropOptical.Builder setInPeerPort(int inPeerPort) {
        this.inPeerPort = inPeerPort;
        this.inPeerPortSet = true;
        return this;
    }
    @Override
    public int getOutPeerPort() {
        return outPeerPort;
    }

    @Override
    public OFCalientPortDescPropOptical.Builder setOutPeerPort(int outPeerPort) {
        this.outPeerPort = outPeerPort;
        this.outPeerPortSet = true;
        return this;
    }
    @Override
    public String getInCircuitId() {
        return inCircuitId;
    }

    @Override
    public OFCalientPortDescPropOptical.Builder setInCircuitId(String inCircuitId) {
        this.inCircuitId = inCircuitId;
        this.inCircuitIdSet = true;
        return this;
    }
    @Override
    public String getOutCircuitId() {
        return outCircuitId;
    }

    @Override
    public OFCalientPortDescPropOptical.Builder setOutCircuitId(String outCircuitId) {
        this.outCircuitId = outCircuitId;
        this.outCircuitIdSet = true;
        return this;
    }
    @Override
    public String getInAlias() {
        return inAlias;
    }

    @Override
    public OFCalientPortDescPropOptical.Builder setInAlias(String inAlias) {
        this.inAlias = inAlias;
        this.inAliasSet = true;
        return this;
    }
    @Override
    public String getOutAlias() {
        return outAlias;
    }

    @Override
    public OFCalientPortDescPropOptical.Builder setOutAlias(String outAlias) {
        this.outAlias = outAlias;
        this.outAliasSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFCalientPortDescPropOptical build() {
                Set<OFCalientOpticalPortAdminState> inAdminStatus = this.inAdminStatusSet ? this.inAdminStatus : parentMessage.inAdminStatus;
FileLine
net/onrc/openvirtex/messages/ver13/OVXPacketInVer13.java445
net/onrc/openvirtex/messages/ver13/OVXPacketOutVer13.java230
    }

    /**
     * Initializes this Match structure with the corresponding data from the
     * specified packet. Must specify the input port, to ensure that
     * this.in_port is set correctly. Specify OFPort.NONE or OFPort.ANY if input
     * port not applicable or available
     *
     * @param packetData
     *            The packet's data
     * @param inputPort
     *            the port the packet arrived on
     */
    public Match loadFromPacket(final byte[] packetData, final short inputPort) {
        short scratch;
        int transportOffset = 34;
        final ByteBuffer packetDataBB = ByteBuffer.wrap(packetData);
        final int limit = packetDataBB.limit();

        HashMap<MatchField, OFOxm<?>> MatchMap = new HashMap<>();
        Set<OFFlowWildcards> wildcards=new HashSet<OFFlowWildcards>();
        if (OFPort.ofShort(inputPort) == OFPort.ALL) {
        	wildcards.add(OFFlowWildcards.IN_PORT);
        }

        System.out.println("Pravein : Printing packet Bytes");
        for (byte packetByte: packetData) {
            System.out.print (String.format("%02X ", packetByte));
        }
        System.out.println();
        assert limit >= 14;
        // dl dst
       
        byte[] ethDst = new byte[6];
        packetDataBB.get(ethDst);
        // dl src
        byte[] ethSrc = new byte[6];
        packetDataBB.get(ethSrc);
        // dl type
        
        short ethType=packetDataBB.getShort();
        
        short vlanVid=0;
        byte vlanPcp=0;
        

        if (ethType != (short) 0x8100) {
            /* Untagged value in OF 1.3 */
            vlanVid= 0x0000;
            vlanPcp=(byte) 0;
        } else {
            // has vlan tag
            scratch = packetDataBB.getShort();
            vlanVid=(short) (0xfff & scratch);
            vlanPcp=(byte) ((0xe000 & scratch) >> 13);
            ethType = packetDataBB.getShort();
        }
        byte ipDscp=0;
        byte ipProtocol=0;
        int ipv4Src=0;
        int ipv4Dst=0;

       
        
        switch (ethType) {
        case 0x0800:
            // ipv4
            // check packet length
            System.out.println("Got an IP Packet");
            scratch = packetDataBB.get();
            scratch = (short) (0xf & scratch);
            transportOffset = packetDataBB.position() - 1 + scratch * 4;
            // nw tos (dscp)
            scratch = packetDataBB.get();
            ipDscp=(byte) ((0xfc & scratch) >> 2);
            // nw protocol
            packetDataBB.position(packetDataBB.position() + 7);
            ipProtocol = packetDataBB.get();
            // nw src
            packetDataBB.position(packetDataBB.position() + 2);
            ipv4Src = packetDataBB.getInt();
            // nw dst
            ipv4Dst = packetDataBB.getInt();
            packetDataBB.position(transportOffset);
            break;
        case 0x0806:
            // arp
            System.out.println("Got an ARP Packet");

            final int arpPos = packetDataBB.position();
            // opcode
            scratch = packetDataBB.getShort(arpPos + 6);
            ipDscp=(byte) (0xff & scratch);

            scratch = packetDataBB.getShort(arpPos + 2);
            // if ipv4 and addr len is 4
            if (scratch == 0x800 && packetDataBB.get(arpPos + 5) == 4) {
                // nw src
                ipv4Src = packetDataBB.getInt(arpPos + 14);
                // nw dst
                ipv4Dst = packetDataBB.getInt(arpPos + 24);
            } else {
                ipv4Src=0;
                ipv4Dst=0;
            }
            break;
        default:
            // Not ARP or IP. Wildcard NW_DST and NW_SRC
        	wildcards.add(OFFlowWildcards.NW_DST_ALL);
        	wildcards.add(OFFlowWildcards.NW_SRC_ALL);
        	wildcards.add(OFFlowWildcards.NW_PROTO);
        	wildcards.add(OFFlowWildcards.NW_TOS);
            ipDscp=(byte)0;
        	ipProtocol=(byte)0;
        	ipv4Src=0;
        	ipv4Dst=0;
            break;
        }
        
        short tcpSrc=0;
        short tcpDst=0;
        
        
        		
        switch (ipProtocol) {
        case 0x01:
            // icmp
            // type
            tcpSrc = U8.f(packetDataBB.get());
            // code
            tcpDst = U8.f(packetDataBB.get());
            break;
        case 0x06:
            // tcp
            // tcp src
            tcpSrc = packetDataBB.getShort();
            // tcp dest
            tcpDst = packetDataBB.getShort();
            break;
        case 0x11:
            // udp
            // udp src
            tcpSrc = packetDataBB.getShort();
            // udp dest
            tcpDst = packetDataBB.getShort();
            break;
        default:
            // Unknown network proto.
        	wildcards.add(OFFlowWildcards.TP_DST);
        	wildcards.add(OFFlowWildcards.TP_SRC);
        	
        	tcpDst = (short)0;
        	tcpSrc = (short)0;
        	break;
        }
        Map <MatchFields, OFOxm<?>> oxmMap = new LinkedHashMap<>();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java266
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java548
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFCalientFlowStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFCalientFlowStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFCalientFlowStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFCalientFlowStatsEntry.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFCalientFlowStatsEntry.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFCalientFlowStatsEntry.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFCalientFlowStatsEntry.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFCalientFlowStatsEntry.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public Set<OFCalientCflowAdminState> getAdminStatus() {
        return adminStatus;
    }

    @Override
    public OFCalientFlowStatsEntry.Builder setAdminStatus(Set<OFCalientCflowAdminState> adminStatus) {
        this.adminStatus = adminStatus;
        this.adminStatusSet = true;
        return this;
    }
    @Override
    public Set<OFCalientCflowOperationalState> getOperStatus() {
        return operStatus;
    }

    @Override
    public OFCalientFlowStatsEntry.Builder setOperStatus(Set<OFCalientCflowOperationalState> operStatus) {
        this.operStatus = operStatus;
        this.operStatusSet = true;
        return this;
    }
    @Override
    public Set<OFCalientCflowCapability> getOperCapability() {
        return operCapability;
    }

    @Override
    public OFCalientFlowStatsEntry.Builder setOperCapability(Set<OFCalientCflowCapability> operCapability) {
        this.operCapability = operCapability;
        this.operCapabilitySet = true;
        return this;
    }
    @Override
    public Set<OFCalientOcsAlarm> getAlarm() {
        return alarm;
    }

    @Override
    public OFCalientFlowStatsEntry.Builder setAlarm(Set<OFCalientOcsAlarm> alarm) {
        this.alarm = alarm;
        this.alarmSet = true;
        return this;
    }
    @Override
    public String getPortPower() {
        return portPower;
    }

    @Override
    public OFCalientFlowStatsEntry.Builder setPortPower(String portPower) {
        this.portPower = portPower;
        this.portPowerSet = true;
        return this;
    }
    @Override
    public String getConnectedPortPower() {
        return connectedPortPower;
    }

    @Override
    public OFCalientFlowStatsEntry.Builder setConnectedPortPower(String connectedPortPower) {
        this.connectedPortPower = connectedPortPower;
        this.connectedPortPowerSet = true;
        return this;
    }
    @Override
    public String getCflowName() {
        return cflowName;
    }

    @Override
    public OFCalientFlowStatsEntry.Builder setCflowName(String cflowName) {
        this.cflowName = cflowName;
        this.cflowNameSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFCalientFlowStatsEntry.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFCalientFlowStatsEntry build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsReplyVer12.java421
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsReplyVer13.java421
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsReplyVer14.java421
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_FEATURES;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getTypes() {
        return types;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setTypes(long types) {
        this.types = types;
        this.typesSet = true;
        return this;
    }
    @Override
    public long getCapabilities() {
        return capabilities;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setCapabilities(long capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsAll() {
        return maxGroupsAll;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsAll(long maxGroupsAll) {
        this.maxGroupsAll = maxGroupsAll;
        this.maxGroupsAllSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsSelect() {
        return maxGroupsSelect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsSelect(long maxGroupsSelect) {
        this.maxGroupsSelect = maxGroupsSelect;
        this.maxGroupsSelectSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsIndirect() {
        return maxGroupsIndirect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsIndirect(long maxGroupsIndirect) {
        this.maxGroupsIndirect = maxGroupsIndirect;
        this.maxGroupsIndirectSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsFf() {
        return maxGroupsFf;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsFf(long maxGroupsFf) {
        this.maxGroupsFf = maxGroupsFf;
        this.maxGroupsFfSet = true;
        return this;
    }
    @Override
    public long getActionsAll() {
        return actionsAll;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsAll(long actionsAll) {
        this.actionsAll = actionsAll;
        this.actionsAllSet = true;
        return this;
    }
    @Override
    public long getActionsSelect() {
        return actionsSelect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsSelect(long actionsSelect) {
        this.actionsSelect = actionsSelect;
        this.actionsSelectSet = true;
        return this;
    }
    @Override
    public long getActionsIndirect() {
        return actionsIndirect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsIndirect(long actionsIndirect) {
        this.actionsIndirect = actionsIndirect;
        this.actionsIndirectSet = true;
        return this;
    }
    @Override
    public long getActionsFf() {
        return actionsFf;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsFf(long actionsFf) {
        this.actionsFf = actionsFf;
        this.actionsFfSet = true;
        return this;
    }
//
        @Override
        public OFGroupFeaturesStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            long types = this.typesSet ? this.types : DEFAULT_TYPES;
            long capabilities = this.capabilitiesSet ? this.capabilities : DEFAULT_CAPABILITIES;
            long maxGroupsAll = this.maxGroupsAllSet ? this.maxGroupsAll : DEFAULT_MAX_GROUPS_ALL;
            long maxGroupsSelect = this.maxGroupsSelectSet ? this.maxGroupsSelect : DEFAULT_MAX_GROUPS_SELECT;
            long maxGroupsIndirect = this.maxGroupsIndirectSet ? this.maxGroupsIndirect : DEFAULT_MAX_GROUPS_INDIRECT;
            long maxGroupsFf = this.maxGroupsFfSet ? this.maxGroupsFf : DEFAULT_MAX_GROUPS_FF;
            long actionsAll = this.actionsAllSet ? this.actionsAll : DEFAULT_ACTIONS_ALL;
            long actionsSelect = this.actionsSelectSet ? this.actionsSelect : DEFAULT_ACTIONS_SELECT;
            long actionsIndirect = this.actionsIndirectSet ? this.actionsIndirect : DEFAULT_ACTIONS_INDIRECT;
            long actionsFf = this.actionsFfSet ? this.actionsFf : DEFAULT_ACTIONS_FF;


            return new OFGroupFeaturesStatsReplyVer12(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsEntryVer13.java181
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsEntryVer13.java375
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property name not supported in version 1.3");
    }

    @Override
    public OFTableStatsEntry.Builder setName(String name) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property name not supported in version 1.3");
    }
    @Override
    public OFMatchBmap getMatch()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property match not supported in version 1.3");
    }

    @Override
    public OFTableStatsEntry.Builder setMatch(OFMatchBmap match) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property match not supported in version 1.3");
    }
    @Override
    public int getWildcards()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property wildcards not supported in version 1.3");
    }

    @Override
    public OFTableStatsEntry.Builder setWildcards(int wildcards) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property wildcards not supported in version 1.3");
    }
    @Override
    public long getWriteActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property writeActions not supported in version 1.3");
    }

    @Override
    public OFTableStatsEntry.Builder setWriteActions(long writeActions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property writeActions not supported in version 1.3");
    }
    @Override
    public long getApplyActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property applyActions not supported in version 1.3");
    }

    @Override
    public OFTableStatsEntry.Builder setApplyActions(long applyActions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property applyActions not supported in version 1.3");
    }
    @Override
    public U64 getWriteSetfields()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property writeSetfields not supported in version 1.3");
    }

    @Override
    public OFTableStatsEntry.Builder setWriteSetfields(U64 writeSetfields) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property writeSetfields not supported in version 1.3");
    }
    @Override
    public U64 getApplySetfields()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property applySetfields not supported in version 1.3");
    }

    @Override
    public OFTableStatsEntry.Builder setApplySetfields(U64 applySetfields) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property applySetfields not supported in version 1.3");
    }
    @Override
    public U64 getMetadataMatch()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property metadataMatch not supported in version 1.3");
    }

    @Override
    public OFTableStatsEntry.Builder setMetadataMatch(U64 metadataMatch) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property metadataMatch not supported in version 1.3");
    }
    @Override
    public U64 getMetadataWrite()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property metadataWrite not supported in version 1.3");
    }

    @Override
    public OFTableStatsEntry.Builder setMetadataWrite(U64 metadataWrite) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property metadataWrite not supported in version 1.3");
    }
    @Override
    public long getInstructions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property instructions not supported in version 1.3");
    }

    @Override
    public OFTableStatsEntry.Builder setInstructions(long instructions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property instructions not supported in version 1.3");
    }
    @Override
    public long getConfig()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property config not supported in version 1.3");
    }

    @Override
    public OFTableStatsEntry.Builder setConfig(long config) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property config not supported in version 1.3");
    }
    @Override
    public long getMaxEntries()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property maxEntries not supported in version 1.3");
    }

    @Override
    public OFTableStatsEntry.Builder setMaxEntries(long maxEntries) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property maxEntries not supported in version 1.3");
    }
    @Override
    public long getActiveCount() {
        return activeCount;
    }

    @Override
    public OFTableStatsEntry.Builder setActiveCount(long activeCount) {
        this.activeCount = activeCount;
        this.activeCountSet = true;
        return this;
    }
    @Override
    public U64 getLookupCount() {
        return lookupCount;
    }

    @Override
    public OFTableStatsEntry.Builder setLookupCount(U64 lookupCount) {
        this.lookupCount = lookupCount;
        this.lookupCountSet = true;
        return this;
    }
    @Override
    public U64 getMatchedCount() {
        return matchedCount;
    }

    @Override
    public OFTableStatsEntry.Builder setMatchedCount(U64 matchedCount) {
        this.matchedCount = matchedCount;
        this.matchedCountSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFTableStatsEntry build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsEntryVer14.java181
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsEntryVer14.java375
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property name not supported in version 1.4");
    }

    @Override
    public OFTableStatsEntry.Builder setName(String name) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property name not supported in version 1.4");
    }
    @Override
    public OFMatchBmap getMatch()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property match not supported in version 1.4");
    }

    @Override
    public OFTableStatsEntry.Builder setMatch(OFMatchBmap match) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property match not supported in version 1.4");
    }
    @Override
    public int getWildcards()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property wildcards not supported in version 1.4");
    }

    @Override
    public OFTableStatsEntry.Builder setWildcards(int wildcards) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property wildcards not supported in version 1.4");
    }
    @Override
    public long getWriteActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property writeActions not supported in version 1.4");
    }

    @Override
    public OFTableStatsEntry.Builder setWriteActions(long writeActions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property writeActions not supported in version 1.4");
    }
    @Override
    public long getApplyActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property applyActions not supported in version 1.4");
    }

    @Override
    public OFTableStatsEntry.Builder setApplyActions(long applyActions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property applyActions not supported in version 1.4");
    }
    @Override
    public U64 getWriteSetfields()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property writeSetfields not supported in version 1.4");
    }

    @Override
    public OFTableStatsEntry.Builder setWriteSetfields(U64 writeSetfields) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property writeSetfields not supported in version 1.4");
    }
    @Override
    public U64 getApplySetfields()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property applySetfields not supported in version 1.4");
    }

    @Override
    public OFTableStatsEntry.Builder setApplySetfields(U64 applySetfields) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property applySetfields not supported in version 1.4");
    }
    @Override
    public U64 getMetadataMatch()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property metadataMatch not supported in version 1.4");
    }

    @Override
    public OFTableStatsEntry.Builder setMetadataMatch(U64 metadataMatch) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property metadataMatch not supported in version 1.4");
    }
    @Override
    public U64 getMetadataWrite()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property metadataWrite not supported in version 1.4");
    }

    @Override
    public OFTableStatsEntry.Builder setMetadataWrite(U64 metadataWrite) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property metadataWrite not supported in version 1.4");
    }
    @Override
    public long getInstructions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property instructions not supported in version 1.4");
    }

    @Override
    public OFTableStatsEntry.Builder setInstructions(long instructions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property instructions not supported in version 1.4");
    }
    @Override
    public long getConfig()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property config not supported in version 1.4");
    }

    @Override
    public OFTableStatsEntry.Builder setConfig(long config) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property config not supported in version 1.4");
    }
    @Override
    public long getMaxEntries()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property maxEntries not supported in version 1.4");
    }

    @Override
    public OFTableStatsEntry.Builder setMaxEntries(long maxEntries) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property maxEntries not supported in version 1.4");
    }
    @Override
    public long getActiveCount() {
        return activeCount;
    }

    @Override
    public OFTableStatsEntry.Builder setActiveCount(long activeCount) {
        this.activeCount = activeCount;
        this.activeCountSet = true;
        return this;
    }
    @Override
    public U64 getLookupCount() {
        return lookupCount;
    }

    @Override
    public OFTableStatsEntry.Builder setLookupCount(U64 lookupCount) {
        this.lookupCount = lookupCount;
        this.lookupCountSet = true;
        return this;
    }
    @Override
    public U64 getMatchedCount() {
        return matchedCount;
    }

    @Override
    public OFTableStatsEntry.Builder setMatchedCount(U64 matchedCount) {
        this.matchedCount = matchedCount;
        this.matchedCountSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFTableStatsEntry build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowAddVer10.java236
org/projectfloodlight/openflow/protocol/ver10/OFFlowAddVer10.java473
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowAdd.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property cookieMask not supported in version 1.0");
    }

    @Override
    public OFFlowAdd.Builder setCookieMask(U64 cookieMask) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property cookieMask not supported in version 1.0");
    }
    @Override
    public TableId getTableId()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property tableId not supported in version 1.0");
    }

    @Override
    public OFFlowAdd.Builder setTableId(TableId tableId) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property tableId not supported in version 1.0");
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.ADD;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowAdd.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowAdd.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowAdd.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowAdd.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowAdd.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property outGroup not supported in version 1.0");
    }

    @Override
    public OFFlowAdd.Builder setOutGroup(OFGroup outGroup) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property outGroup not supported in version 1.0");
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowAdd.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowAdd.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property instructions not supported in version 1.0");
    }

    @Override
    public OFFlowAdd.Builder setInstructions(List<OFInstruction> instructions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property instructions not supported in version 1.0");
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFFlowAdd.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.0");
    }

    @Override
    public OFFlowAdd.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.0");
    }


        @Override
        public OFFlowAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteStrictVer10.java235
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteStrictVer10.java472
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowDeleteStrict.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowDeleteStrict.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property cookieMask not supported in version 1.0");
    }

    @Override
    public OFFlowDeleteStrict.Builder setCookieMask(U64 cookieMask) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property cookieMask not supported in version 1.0");
    }
    @Override
    public TableId getTableId()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property tableId not supported in version 1.0");
    }

    @Override
    public OFFlowDeleteStrict.Builder setTableId(TableId tableId) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property tableId not supported in version 1.0");
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.DELETE_STRICT;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowDeleteStrict.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowDeleteStrict.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowDeleteStrict.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowDeleteStrict.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowDeleteStrict.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property outGroup not supported in version 1.0");
    }

    @Override
    public OFFlowDeleteStrict.Builder setOutGroup(OFGroup outGroup) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property outGroup not supported in version 1.0");
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowDeleteStrict.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowDeleteStrict.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property instructions not supported in version 1.0");
    }

    @Override
    public OFFlowDeleteStrict.Builder setInstructions(List<OFInstruction> instructions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property instructions not supported in version 1.0");
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFFlowDeleteStrict.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.0");
    }

    @Override
    public OFFlowDeleteStrict.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.0");
    }


        @Override
        public OFFlowDeleteStrict build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteVer10.java235
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteVer10.java472
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowDelete.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property cookieMask not supported in version 1.0");
    }

    @Override
    public OFFlowDelete.Builder setCookieMask(U64 cookieMask) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property cookieMask not supported in version 1.0");
    }
    @Override
    public TableId getTableId()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property tableId not supported in version 1.0");
    }

    @Override
    public OFFlowDelete.Builder setTableId(TableId tableId) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property tableId not supported in version 1.0");
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.DELETE;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowDelete.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowDelete.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowDelete.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowDelete.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowDelete.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property outGroup not supported in version 1.0");
    }

    @Override
    public OFFlowDelete.Builder setOutGroup(OFGroup outGroup) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property outGroup not supported in version 1.0");
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowDelete.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowDelete.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property instructions not supported in version 1.0");
    }

    @Override
    public OFFlowDelete.Builder setInstructions(List<OFInstruction> instructions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property instructions not supported in version 1.0");
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFFlowDelete.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.0");
    }

    @Override
    public OFFlowDelete.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.0");
    }


        @Override
        public OFFlowDelete build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyStrictVer10.java235
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyStrictVer10.java472
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModifyStrict.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowModifyStrict.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property cookieMask not supported in version 1.0");
    }

    @Override
    public OFFlowModifyStrict.Builder setCookieMask(U64 cookieMask) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property cookieMask not supported in version 1.0");
    }
    @Override
    public TableId getTableId()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property tableId not supported in version 1.0");
    }

    @Override
    public OFFlowModifyStrict.Builder setTableId(TableId tableId) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property tableId not supported in version 1.0");
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.MODIFY_STRICT;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowModifyStrict.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowModifyStrict.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowModifyStrict.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowModifyStrict.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowModifyStrict.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property outGroup not supported in version 1.0");
    }

    @Override
    public OFFlowModifyStrict.Builder setOutGroup(OFGroup outGroup) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property outGroup not supported in version 1.0");
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowModifyStrict.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowModifyStrict.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property instructions not supported in version 1.0");
    }

    @Override
    public OFFlowModifyStrict.Builder setInstructions(List<OFInstruction> instructions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property instructions not supported in version 1.0");
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFFlowModifyStrict.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.0");
    }

    @Override
    public OFFlowModifyStrict.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.0");
    }


        @Override
        public OFFlowModifyStrict build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyVer10.java235
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyVer10.java472
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModify.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowModify.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property cookieMask not supported in version 1.0");
    }

    @Override
    public OFFlowModify.Builder setCookieMask(U64 cookieMask) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property cookieMask not supported in version 1.0");
    }
    @Override
    public TableId getTableId()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property tableId not supported in version 1.0");
    }

    @Override
    public OFFlowModify.Builder setTableId(TableId tableId) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property tableId not supported in version 1.0");
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.MODIFY;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowModify.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowModify.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowModify.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowModify.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowModify.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property outGroup not supported in version 1.0");
    }

    @Override
    public OFFlowModify.Builder setOutGroup(OFGroup outGroup) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property outGroup not supported in version 1.0");
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowModify.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowModify.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property instructions not supported in version 1.0");
    }

    @Override
    public OFFlowModify.Builder setInstructions(List<OFInstruction> instructions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property instructions not supported in version 1.0");
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFFlowModify.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.0");
    }

    @Override
    public OFFlowModify.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.0");
    }


        @Override
        public OFFlowModify build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsEntryVer10.java199
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsEntryVer10.java413
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFTableStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public OFMatchBmap getMatch()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property match not supported in version 1.0");
    }

    @Override
    public OFTableStatsEntry.Builder setMatch(OFMatchBmap match) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property match not supported in version 1.0");
    }
    @Override
    public int getWildcards() {
        return wildcards;
    }

    @Override
    public OFTableStatsEntry.Builder setWildcards(int wildcards) {
        this.wildcards = wildcards;
        this.wildcardsSet = true;
        return this;
    }
    @Override
    public long getWriteActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property writeActions not supported in version 1.0");
    }

    @Override
    public OFTableStatsEntry.Builder setWriteActions(long writeActions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property writeActions not supported in version 1.0");
    }
    @Override
    public long getApplyActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property applyActions not supported in version 1.0");
    }

    @Override
    public OFTableStatsEntry.Builder setApplyActions(long applyActions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property applyActions not supported in version 1.0");
    }
    @Override
    public U64 getWriteSetfields()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property writeSetfields not supported in version 1.0");
    }

    @Override
    public OFTableStatsEntry.Builder setWriteSetfields(U64 writeSetfields) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property writeSetfields not supported in version 1.0");
    }
    @Override
    public U64 getApplySetfields()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property applySetfields not supported in version 1.0");
    }

    @Override
    public OFTableStatsEntry.Builder setApplySetfields(U64 applySetfields) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property applySetfields not supported in version 1.0");
    }
    @Override
    public U64 getMetadataMatch()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property metadataMatch not supported in version 1.0");
    }

    @Override
    public OFTableStatsEntry.Builder setMetadataMatch(U64 metadataMatch) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property metadataMatch not supported in version 1.0");
    }
    @Override
    public U64 getMetadataWrite()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property metadataWrite not supported in version 1.0");
    }

    @Override
    public OFTableStatsEntry.Builder setMetadataWrite(U64 metadataWrite) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property metadataWrite not supported in version 1.0");
    }
    @Override
    public long getInstructions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property instructions not supported in version 1.0");
    }

    @Override
    public OFTableStatsEntry.Builder setInstructions(long instructions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property instructions not supported in version 1.0");
    }
    @Override
    public long getConfig()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property config not supported in version 1.0");
    }

    @Override
    public OFTableStatsEntry.Builder setConfig(long config) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property config not supported in version 1.0");
    }
    @Override
    public long getMaxEntries() {
        return maxEntries;
    }

    @Override
    public OFTableStatsEntry.Builder setMaxEntries(long maxEntries) {
        this.maxEntries = maxEntries;
        this.maxEntriesSet = true;
        return this;
    }
    @Override
    public long getActiveCount() {
        return activeCount;
    }

    @Override
    public OFTableStatsEntry.Builder setActiveCount(long activeCount) {
        this.activeCount = activeCount;
        this.activeCountSet = true;
        return this;
    }
    @Override
    public U64 getLookupCount() {
        return lookupCount;
    }

    @Override
    public OFTableStatsEntry.Builder setLookupCount(U64 lookupCount) {
        this.lookupCount = lookupCount;
        this.lookupCountSet = true;
        return this;
    }
    @Override
    public U64 getMatchedCount() {
        return matchedCount;
    }

    @Override
    public OFTableStatsEntry.Builder setMatchedCount(U64 matchedCount) {
        this.matchedCount = matchedCount;
        this.matchedCountSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }



        @Override
        public OFTableStatsEntry build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsEntryVer14.java244
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsEntryVer14.java500
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public U64 getRxPackets() {
        return rxPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setRxPackets(U64 rxPackets) {
        this.rxPackets = rxPackets;
        this.rxPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getRxBytes() {
        return rxBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setRxBytes(U64 rxBytes) {
        this.rxBytes = rxBytes;
        this.rxBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getRxDropped() {
        return rxDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setRxDropped(U64 rxDropped) {
        this.rxDropped = rxDropped;
        this.rxDroppedSet = true;
        return this;
    }
    @Override
    public U64 getTxDropped() {
        return txDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setTxDropped(U64 txDropped) {
        this.txDropped = txDropped;
        this.txDroppedSet = true;
        return this;
    }
    @Override
    public U64 getRxErrors() {
        return rxErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setRxErrors(U64 rxErrors) {
        this.rxErrors = rxErrors;
        this.rxErrorsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public U64 getRxFrameErr()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property rxFrameErr not supported in version 1.4");
    }

    @Override
    public OFPortStatsEntry.Builder setRxFrameErr(U64 rxFrameErr) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property rxFrameErr not supported in version 1.4");
    }
    @Override
    public U64 getRxOverErr()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property rxOverErr not supported in version 1.4");
    }

    @Override
    public OFPortStatsEntry.Builder setRxOverErr(U64 rxOverErr) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property rxOverErr not supported in version 1.4");
    }
    @Override
    public U64 getRxCrcErr()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property rxCrcErr not supported in version 1.4");
    }

    @Override
    public OFPortStatsEntry.Builder setRxCrcErr(U64 rxCrcErr) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property rxCrcErr not supported in version 1.4");
    }
    @Override
    public U64 getCollisions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property collisions not supported in version 1.4");
    }

    @Override
    public OFPortStatsEntry.Builder setCollisions(U64 collisions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property collisions not supported in version 1.4");
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFPortStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFPortStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public List<OFPortStatsProp> getProperties() {
        return properties;
    }

    @Override
    public OFPortStatsEntry.Builder setProperties(List<OFPortStatsProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFPortStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java257
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java525
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public U64 getRxPackets() {
        return rxPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setRxPackets(U64 rxPackets) {
        this.rxPackets = rxPackets;
        this.rxPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getRxBytes() {
        return rxBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setRxBytes(U64 rxBytes) {
        this.rxBytes = rxBytes;
        this.rxBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getRxDropped() {
        return rxDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setRxDropped(U64 rxDropped) {
        this.rxDropped = rxDropped;
        this.rxDroppedSet = true;
        return this;
    }
    @Override
    public U64 getTxDropped() {
        return txDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setTxDropped(U64 txDropped) {
        this.txDropped = txDropped;
        this.txDroppedSet = true;
        return this;
    }
    @Override
    public U64 getRxErrors() {
        return rxErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setRxErrors(U64 rxErrors) {
        this.rxErrors = rxErrors;
        this.rxErrorsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public U64 getRxFrameErr() {
        return rxFrameErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxFrameErr(U64 rxFrameErr) {
        this.rxFrameErr = rxFrameErr;
        this.rxFrameErrSet = true;
        return this;
    }
    @Override
    public U64 getRxOverErr() {
        return rxOverErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxOverErr(U64 rxOverErr) {
        this.rxOverErr = rxOverErr;
        this.rxOverErrSet = true;
        return this;
    }
    @Override
    public U64 getRxCrcErr() {
        return rxCrcErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxCrcErr(U64 rxCrcErr) {
        this.rxCrcErr = rxCrcErr;
        this.rxCrcErrSet = true;
        return this;
    }
    @Override
    public U64 getCollisions() {
        return collisions;
    }

    @Override
    public OFPortStatsEntry.Builder setCollisions(U64 collisions) {
        this.collisions = collisions;
        this.collisionsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.0");
    }

    @Override
    public OFPortStatsEntry.Builder setDurationSec(long durationSec) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property durationSec not supported in version 1.0");
    }
    @Override
    public long getDurationNsec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationNsec not supported in version 1.0");
    }

    @Override
    public OFPortStatsEntry.Builder setDurationNsec(long durationNsec) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property durationNsec not supported in version 1.0");
    }
    @Override
    public List<OFPortStatsProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.0");
    }

    @Override
    public OFPortStatsEntry.Builder setProperties(List<OFPortStatsProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.0");
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }



        @Override
        public OFPortStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java252
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java513
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowAdd.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowAdd.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowAdd.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.ADD;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowAdd.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowAdd.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowAdd.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowAdd.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowAdd.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowAdd.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowAdd.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowAdd.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowAdd.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
    }

    @Override
    public OFFlowAdd.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.1");
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }

    @Override
    public OFFlowAdd.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }


        @Override
        public OFFlowAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java252
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java513
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowDeleteStrict.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowDeleteStrict.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowDeleteStrict.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowDeleteStrict.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.DELETE_STRICT;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowDeleteStrict.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowDeleteStrict.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowDeleteStrict.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowDeleteStrict.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowDeleteStrict.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowDeleteStrict.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowDeleteStrict.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowDeleteStrict.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowDeleteStrict.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
    }

    @Override
    public OFFlowDeleteStrict.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.1");
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }

    @Override
    public OFFlowDeleteStrict.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }


        @Override
        public OFFlowDeleteStrict build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java252
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java513
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowDelete.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowDelete.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowDelete.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.DELETE;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowDelete.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowDelete.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowDelete.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowDelete.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowDelete.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowDelete.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowDelete.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowDelete.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowDelete.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
    }

    @Override
    public OFFlowDelete.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.1");
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }

    @Override
    public OFFlowDelete.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }


        @Override
        public OFFlowDelete build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java252
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java513
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModifyStrict.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowModifyStrict.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowModifyStrict.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModifyStrict.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.MODIFY_STRICT;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowModifyStrict.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowModifyStrict.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowModifyStrict.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowModifyStrict.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowModifyStrict.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowModifyStrict.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowModifyStrict.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowModifyStrict.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowModifyStrict.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
    }

    @Override
    public OFFlowModifyStrict.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.1");
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }

    @Override
    public OFFlowModifyStrict.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }


        @Override
        public OFFlowModifyStrict build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java252
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java513
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModify.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowModify.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowModify.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModify.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.MODIFY;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowModify.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowModify.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowModify.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowModify.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowModify.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowModify.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowModify.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowModify.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowModify.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
    }

    @Override
    public OFFlowModify.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.1");
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }

    @Override
    public OFFlowModify.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }


        @Override
        public OFFlowModify build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java257
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java525
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public U64 getRxPackets() {
        return rxPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setRxPackets(U64 rxPackets) {
        this.rxPackets = rxPackets;
        this.rxPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getRxBytes() {
        return rxBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setRxBytes(U64 rxBytes) {
        this.rxBytes = rxBytes;
        this.rxBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getRxDropped() {
        return rxDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setRxDropped(U64 rxDropped) {
        this.rxDropped = rxDropped;
        this.rxDroppedSet = true;
        return this;
    }
    @Override
    public U64 getTxDropped() {
        return txDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setTxDropped(U64 txDropped) {
        this.txDropped = txDropped;
        this.txDroppedSet = true;
        return this;
    }
    @Override
    public U64 getRxErrors() {
        return rxErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setRxErrors(U64 rxErrors) {
        this.rxErrors = rxErrors;
        this.rxErrorsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public U64 getRxFrameErr() {
        return rxFrameErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxFrameErr(U64 rxFrameErr) {
        this.rxFrameErr = rxFrameErr;
        this.rxFrameErrSet = true;
        return this;
    }
    @Override
    public U64 getRxOverErr() {
        return rxOverErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxOverErr(U64 rxOverErr) {
        this.rxOverErr = rxOverErr;
        this.rxOverErrSet = true;
        return this;
    }
    @Override
    public U64 getRxCrcErr() {
        return rxCrcErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxCrcErr(U64 rxCrcErr) {
        this.rxCrcErr = rxCrcErr;
        this.rxCrcErrSet = true;
        return this;
    }
    @Override
    public U64 getCollisions() {
        return collisions;
    }

    @Override
    public OFPortStatsEntry.Builder setCollisions(U64 collisions) {
        this.collisions = collisions;
        this.collisionsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.1");
    }

    @Override
    public OFPortStatsEntry.Builder setDurationSec(long durationSec) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property durationSec not supported in version 1.1");
    }
    @Override
    public long getDurationNsec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationNsec not supported in version 1.1");
    }

    @Override
    public OFPortStatsEntry.Builder setDurationNsec(long durationNsec) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property durationNsec not supported in version 1.1");
    }
    @Override
    public List<OFPortStatsProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.1");
    }

    @Override
    public OFPortStatsEntry.Builder setProperties(List<OFPortStatsProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.1");
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }



        @Override
        public OFPortStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java252
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java513
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowAdd.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowAdd.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowAdd.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.ADD;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowAdd.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowAdd.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowAdd.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowAdd.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowAdd.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowAdd.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowAdd.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowAdd.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowAdd.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.2");
    }

    @Override
    public OFFlowAdd.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.2");
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.2");
    }

    @Override
    public OFFlowAdd.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.2");
    }


        @Override
        public OFFlowAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java252
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java513
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowDeleteStrict.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowDeleteStrict.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowDeleteStrict.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowDeleteStrict.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.DELETE_STRICT;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowDeleteStrict.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowDeleteStrict.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowDeleteStrict.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowDeleteStrict.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowDeleteStrict.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowDeleteStrict.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowDeleteStrict.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowDeleteStrict.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowDeleteStrict.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.2");
    }

    @Override
    public OFFlowDeleteStrict.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.2");
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.2");
    }

    @Override
    public OFFlowDeleteStrict.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.2");
    }


        @Override
        public OFFlowDeleteStrict build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java252
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java513
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowDelete.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowDelete.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowDelete.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.DELETE;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowDelete.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowDelete.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowDelete.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowDelete.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowDelete.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowDelete.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowDelete.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowDelete.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowDelete.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.2");
    }

    @Override
    public OFFlowDelete.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.2");
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.2");
    }

    @Override
    public OFFlowDelete.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.2");
    }


        @Override
        public OFFlowDelete build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java252
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java513
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModifyStrict.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowModifyStrict.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowModifyStrict.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModifyStrict.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.MODIFY_STRICT;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowModifyStrict.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowModifyStrict.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowModifyStrict.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowModifyStrict.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowModifyStrict.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowModifyStrict.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowModifyStrict.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowModifyStrict.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowModifyStrict.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.2");
    }

    @Override
    public OFFlowModifyStrict.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.2");
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.2");
    }

    @Override
    public OFFlowModifyStrict.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.2");
    }


        @Override
        public OFFlowModifyStrict build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java252
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java513
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModify.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowModify.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowModify.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModify.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.MODIFY;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowModify.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowModify.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowModify.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowModify.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowModify.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowModify.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowModify.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowModify.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowModify.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.2");
    }

    @Override
    public OFFlowModify.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.2");
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.2");
    }

    @Override
    public OFFlowModify.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.2");
    }


        @Override
        public OFFlowModify build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java257
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java525
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public U64 getRxPackets() {
        return rxPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setRxPackets(U64 rxPackets) {
        this.rxPackets = rxPackets;
        this.rxPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getRxBytes() {
        return rxBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setRxBytes(U64 rxBytes) {
        this.rxBytes = rxBytes;
        this.rxBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getRxDropped() {
        return rxDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setRxDropped(U64 rxDropped) {
        this.rxDropped = rxDropped;
        this.rxDroppedSet = true;
        return this;
    }
    @Override
    public U64 getTxDropped() {
        return txDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setTxDropped(U64 txDropped) {
        this.txDropped = txDropped;
        this.txDroppedSet = true;
        return this;
    }
    @Override
    public U64 getRxErrors() {
        return rxErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setRxErrors(U64 rxErrors) {
        this.rxErrors = rxErrors;
        this.rxErrorsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public U64 getRxFrameErr() {
        return rxFrameErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxFrameErr(U64 rxFrameErr) {
        this.rxFrameErr = rxFrameErr;
        this.rxFrameErrSet = true;
        return this;
    }
    @Override
    public U64 getRxOverErr() {
        return rxOverErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxOverErr(U64 rxOverErr) {
        this.rxOverErr = rxOverErr;
        this.rxOverErrSet = true;
        return this;
    }
    @Override
    public U64 getRxCrcErr() {
        return rxCrcErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxCrcErr(U64 rxCrcErr) {
        this.rxCrcErr = rxCrcErr;
        this.rxCrcErrSet = true;
        return this;
    }
    @Override
    public U64 getCollisions() {
        return collisions;
    }

    @Override
    public OFPortStatsEntry.Builder setCollisions(U64 collisions) {
        this.collisions = collisions;
        this.collisionsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.2");
    }

    @Override
    public OFPortStatsEntry.Builder setDurationSec(long durationSec) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property durationSec not supported in version 1.2");
    }
    @Override
    public long getDurationNsec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationNsec not supported in version 1.2");
    }

    @Override
    public OFPortStatsEntry.Builder setDurationNsec(long durationNsec) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property durationNsec not supported in version 1.2");
    }
    @Override
    public List<OFPortStatsProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.2");
    }

    @Override
    public OFPortStatsEntry.Builder setProperties(List<OFPortStatsProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.2");
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFPortStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFMatchV3Ver12.java296
org/projectfloodlight/openflow/protocol/ver12/OFMatchV3Ver12.java439
                if(oxmList == null)
                    throw new NullPointerException("Property oxmList must not be null");

                //
                return new OFMatchV3Ver12(
                    oxmList
                );
        }

    private OFOxmList.Builder oxmListBuilder;

    private void initBuilder() {
        if (oxmListBuilder != null)
            return;
        oxmListBuilder = new OFOxmList.Builder();
    }

    private void updateOxmList() {
        this.oxmList = this.oxmListBuilder.build();
        this.oxmListSet = true;
    }

    private <F extends OFValueType<F>> OFOxm<F> getOxm(MatchField<F> field) {
        return this.oxmListSet ? this.oxmList.get(field) : null;
    }

    @Override
    public <F extends OFValueType<F>> F get(MatchField<F> field)
            throws UnsupportedOperationException {
        OFOxm<F> value = getOxm(field);
        if (value == null)
            return null;
        return value.getValue();
    }

    @Override
    public <F extends OFValueType<F>> Masked<F> getMasked(MatchField<F> field)
            throws UnsupportedOperationException {
        OFOxm<F> value = getOxm(field);
        if (value == null || !value.isMasked())
            return null;
        // TODO: If changing OXMs to extend Masked, then use it here
        return Masked.of(value.getValue(), value.getMask());
    }

    @Override
    public boolean supports(MatchField<?> field) {
        return supportsField(field);
    }

    @Override
    public boolean supportsMasked(MatchField<?> field) {
        return supportsField(field);
    }

    @Override
    public boolean isExact(MatchField<?> field) {
        OFOxm<?> value = getOxm(field);
        return (value != null && !value.isMasked());
    }

    @Override
    public boolean isFullyWildcarded(MatchField<?> field) {
        OFOxm<?> value = getOxm(field);
        return (value == null);
    }

    @Override
    public boolean isPartiallyMasked(MatchField<?> field) {
        OFOxm<?> value = getOxm(field);
        return (value != null && value.isMasked());
    }

    @Override
    public <F extends OFValueType<F>> Match.Builder setExact(
            MatchField<F> field, F value) {
        initBuilder();
        OFOxm<F> oxm = OFFactories.getFactory(OFVersion.OF_12).oxms().fromValue(value, field);
        this.oxmListBuilder.set(oxm);
        updateOxmList();
        return this;
    }

    @Override
    public <F extends OFValueType<F>> Match.Builder setMasked(
            MatchField<F> field, F value, F mask) {
        initBuilder();
        OFOxm<F> oxm = OFFactories.getFactory(OFVersion.OF_12).oxms().fromValueAndMask(value, mask, field);
        this.oxmListBuilder.set(oxm);
        updateOxmList();
        return this;
    }

    @Override
    public <F extends OFValueType<F>> Match.Builder setMasked(
            MatchField<F> field, Masked<F> valueWithMask) {
        initBuilder();
        OFOxm<F> oxm = OFFactories.getFactory(OFVersion.OF_12).oxms().fromMasked(valueWithMask, field);
        this.oxmListBuilder.set(oxm);
        updateOxmList();
        return this;
    }

    @Override
    public <F extends OFValueType<F>> Match.Builder wildcard(MatchField<F> field) {
        initBuilder();
        this.oxmListBuilder.unset(field);
        updateOxmList();
        return this;
    }

    }
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMatchV3Ver13.java296
org/projectfloodlight/openflow/protocol/ver13/OFMatchV3Ver13.java441
                if(oxmList == null)
                    throw new NullPointerException("Property oxmList must not be null");

                //
                return new OFMatchV3Ver13(
                    oxmList
                );
        }

    private OFOxmList.Builder oxmListBuilder;

    private void initBuilder() {
        if (oxmListBuilder != null)
            return;

        oxmListBuilder = new OFOxmList.Builder();
    }

    private void updateOxmList() {
        this.oxmList = this.oxmListBuilder.build();
        this.oxmListSet = true;
    }

    private <F extends OFValueType<F>> OFOxm<F> getOxm(MatchField<F> field) {
        return this.oxmListSet ? this.oxmList.get(field) : null;
    }

    @Override
    public <F extends OFValueType<F>> F get(MatchField<F> field)
            throws UnsupportedOperationException {
        OFOxm<F> value = getOxm(field);
        if (value == null)
            return null;
        return value.getValue();
    }

    @Override
    public <F extends OFValueType<F>> Masked<F> getMasked(MatchField<F> field)
            throws UnsupportedOperationException {
        OFOxm<F> value = getOxm(field);
        if (value == null || !value.isMasked())
            return null;
        // TODO: If changing OXMs to extend Masked, then use it here
        return Masked.of(value.getValue(), value.getMask());
    }

    @Override
    public boolean supports(MatchField<?> field) {
        return supportsField(field);
    }

    @Override
    public boolean supportsMasked(MatchField<?> field) {
        return supportsField(field);
    }

    @Override
    public boolean isExact(MatchField<?> field) {
        OFOxm<?> value = getOxm(field);
        return (value != null && !value.isMasked());
    }

    @Override
    public boolean isFullyWildcarded(MatchField<?> field) {
        OFOxm<?> value = getOxm(field);
        return (value == null);
    }

    @Override
    public boolean isPartiallyMasked(MatchField<?> field) {
        OFOxm<?> value = getOxm(field);
        return (value != null && value.isMasked());
    }

    @Override
    public <F extends OFValueType<F>> Match.Builder setExact(
            MatchField<F> field, F value) {
        initBuilder();

        OFOxm<F> oxm = OFFactories.getFactory(OFVersion.OF_13).oxms().fromValue(value, field);
        this.oxmListBuilder.set(oxm);
        updateOxmList();
        return this;
    }

    @Override
    public <F extends OFValueType<F>> Match.Builder setMasked(
            MatchField<F> field, F value, F mask) {
        initBuilder();
        OFOxm<F> oxm = OFFactories.getFactory(OFVersion.OF_13).oxms().fromValueAndMask(value, mask, field);
        this.oxmListBuilder.set(oxm);
        updateOxmList();
        return this;
    }

    @Override
    public <F extends OFValueType<F>> Match.Builder setMasked(
            MatchField<F> field, Masked<F> valueWithMask) {
        initBuilder();
        OFOxm<F> oxm = OFFactories.getFactory(OFVersion.OF_13).oxms().fromMasked(valueWithMask, field);
        this.oxmListBuilder.set(oxm);
        updateOxmList();
        return this;
    }

    @Override
    public <F extends OFValueType<F>> Match.Builder wildcard(MatchField<F> field) {
        initBuilder();
        this.oxmListBuilder.unset(field);
        updateOxmList();
        return this;
    }

    }
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java257
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java524
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowAdd.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowAdd.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowAdd.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.ADD;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowAdd.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowAdd.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowAdd.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowAdd.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowAdd.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowAdd.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowAdd.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowAdd.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowAdd.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.4");
    }

    @Override
    public OFFlowAdd.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.4");
    }
    @Override
    public int getImportance() {
        return importance;
    }

    @Override
    public OFFlowAdd.Builder setImportance(int importance) {
        this.importance = importance;
        this.importanceSet = true;
        return this;
    }


        @Override
        public OFFlowAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java257
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java524
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowDeleteStrict.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowDeleteStrict.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowDeleteStrict.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowDeleteStrict.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.DELETE_STRICT;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowDeleteStrict.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowDeleteStrict.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowDeleteStrict.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowDeleteStrict.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowDeleteStrict.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowDeleteStrict.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowDeleteStrict.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowDeleteStrict.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowDeleteStrict.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.4");
    }

    @Override
    public OFFlowDeleteStrict.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.4");
    }
    @Override
    public int getImportance() {
        return importance;
    }

    @Override
    public OFFlowDeleteStrict.Builder setImportance(int importance) {
        this.importance = importance;
        this.importanceSet = true;
        return this;
    }


        @Override
        public OFFlowDeleteStrict build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java257
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java524
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowDelete.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowDelete.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowDelete.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.DELETE;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowDelete.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowDelete.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowDelete.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowDelete.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowDelete.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowDelete.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowDelete.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowDelete.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowDelete.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.4");
    }

    @Override
    public OFFlowDelete.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.4");
    }
    @Override
    public int getImportance() {
        return importance;
    }

    @Override
    public OFFlowDelete.Builder setImportance(int importance) {
        this.importance = importance;
        this.importanceSet = true;
        return this;
    }


        @Override
        public OFFlowDelete build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java257
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java524
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModifyStrict.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowModifyStrict.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowModifyStrict.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModifyStrict.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.MODIFY_STRICT;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowModifyStrict.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowModifyStrict.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowModifyStrict.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowModifyStrict.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowModifyStrict.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowModifyStrict.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowModifyStrict.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowModifyStrict.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowModifyStrict.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.4");
    }

    @Override
    public OFFlowModifyStrict.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.4");
    }
    @Override
    public int getImportance() {
        return importance;
    }

    @Override
    public OFFlowModifyStrict.Builder setImportance(int importance) {
        this.importance = importance;
        this.importanceSet = true;
        return this;
    }


        @Override
        public OFFlowModifyStrict build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java257
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java524
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModify.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowModify.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowModify.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModify.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.MODIFY;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowModify.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowModify.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowModify.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowModify.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowModify.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowModify.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowModify.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowModify.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowModify.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.4");
    }

    @Override
    public OFFlowModify.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.4");
    }
    @Override
    public int getImportance() {
        return importance;
    }

    @Override
    public OFFlowModify.Builder setImportance(int importance) {
        this.importance = importance;
        this.importanceSet = true;
        return this;
    }


        @Override
        public OFFlowModify build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFMatchV3Ver14.java296
org/projectfloodlight/openflow/protocol/ver14/OFMatchV3Ver14.java439
                if(oxmList == null)
                    throw new NullPointerException("Property oxmList must not be null");

                //
                return new OFMatchV3Ver14(
                    oxmList
                );
        }

    private OFOxmList.Builder oxmListBuilder;

    private void initBuilder() {
        if (oxmListBuilder != null)
            return;
        oxmListBuilder = new OFOxmList.Builder();
    }

    private void updateOxmList() {
        this.oxmList = this.oxmListBuilder.build();
        this.oxmListSet = true;
    }

    private <F extends OFValueType<F>> OFOxm<F> getOxm(MatchField<F> field) {
        return this.oxmListSet ? this.oxmList.get(field) : null;
    }

    @Override
    public <F extends OFValueType<F>> F get(MatchField<F> field)
            throws UnsupportedOperationException {
        OFOxm<F> value = getOxm(field);
        if (value == null)
            return null;
        return value.getValue();
    }

    @Override
    public <F extends OFValueType<F>> Masked<F> getMasked(MatchField<F> field)
            throws UnsupportedOperationException {
        OFOxm<F> value = getOxm(field);
        if (value == null || !value.isMasked())
            return null;
        // TODO: If changing OXMs to extend Masked, then use it here
        return Masked.of(value.getValue(), value.getMask());
    }

    @Override
    public boolean supports(MatchField<?> field) {
        return supportsField(field);
    }

    @Override
    public boolean supportsMasked(MatchField<?> field) {
        return supportsField(field);
    }

    @Override
    public boolean isExact(MatchField<?> field) {
        OFOxm<?> value = getOxm(field);
        return (value != null && !value.isMasked());
    }

    @Override
    public boolean isFullyWildcarded(MatchField<?> field) {
        OFOxm<?> value = getOxm(field);
        return (value == null);
    }

    @Override
    public boolean isPartiallyMasked(MatchField<?> field) {
        OFOxm<?> value = getOxm(field);
        return (value != null && value.isMasked());
    }

    @Override
    public <F extends OFValueType<F>> Match.Builder setExact(
            MatchField<F> field, F value) {
        initBuilder();
        OFOxm<F> oxm = OFFactories.getFactory(OFVersion.OF_14).oxms().fromValue(value, field);
        this.oxmListBuilder.set(oxm);
        updateOxmList();
        return this;
    }

    @Override
    public <F extends OFValueType<F>> Match.Builder setMasked(
            MatchField<F> field, F value, F mask) {
        initBuilder();
        OFOxm<F> oxm = OFFactories.getFactory(OFVersion.OF_14).oxms().fromValueAndMask(value, mask, field);
        this.oxmListBuilder.set(oxm);
        updateOxmList();
        return this;
    }

    @Override
    public <F extends OFValueType<F>> Match.Builder setMasked(
            MatchField<F> field, Masked<F> valueWithMask) {
        initBuilder();
        OFOxm<F> oxm = OFFactories.getFactory(OFVersion.OF_14).oxms().fromMasked(valueWithMask, field);
        this.oxmListBuilder.set(oxm);
        updateOxmList();
        return this;
    }

    @Override
    public <F extends OFValueType<F>> Match.Builder wildcard(MatchField<F> field) {
        initBuilder();
        this.oxmListBuilder.unset(field);
        updateOxmList();
        return this;
    }

    }
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsEntryVer11.java222
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsEntryVer11.java468
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFTableStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public OFMatchBmap getMatch() {
        return match;
    }

    @Override
    public OFTableStatsEntry.Builder setMatch(OFMatchBmap match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public int getWildcards() {
        return wildcards;
    }

    @Override
    public OFTableStatsEntry.Builder setWildcards(int wildcards) {
        this.wildcards = wildcards;
        this.wildcardsSet = true;
        return this;
    }
    @Override
    public long getWriteActions() {
        return writeActions;
    }

    @Override
    public OFTableStatsEntry.Builder setWriteActions(long writeActions) {
        this.writeActions = writeActions;
        this.writeActionsSet = true;
        return this;
    }
    @Override
    public long getApplyActions() {
        return applyActions;
    }

    @Override
    public OFTableStatsEntry.Builder setApplyActions(long applyActions) {
        this.applyActions = applyActions;
        this.applyActionsSet = true;
        return this;
    }
    @Override
    public U64 getWriteSetfields()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property writeSetfields not supported in version 1.1");
    }

    @Override
    public OFTableStatsEntry.Builder setWriteSetfields(U64 writeSetfields) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property writeSetfields not supported in version 1.1");
    }
    @Override
    public U64 getApplySetfields()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property applySetfields not supported in version 1.1");
    }

    @Override
    public OFTableStatsEntry.Builder setApplySetfields(U64 applySetfields) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property applySetfields not supported in version 1.1");
    }
    @Override
    public U64 getMetadataMatch()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property metadataMatch not supported in version 1.1");
    }

    @Override
    public OFTableStatsEntry.Builder setMetadataMatch(U64 metadataMatch) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property metadataMatch not supported in version 1.1");
    }
    @Override
    public U64 getMetadataWrite()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property metadataWrite not supported in version 1.1");
    }

    @Override
    public OFTableStatsEntry.Builder setMetadataWrite(U64 metadataWrite) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property metadataWrite not supported in version 1.1");
    }
    @Override
    public long getInstructions() {
        return instructions;
    }

    @Override
    public OFTableStatsEntry.Builder setInstructions(long instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFTableStatsEntry.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public long getMaxEntries() {
        return maxEntries;
    }

    @Override
    public OFTableStatsEntry.Builder setMaxEntries(long maxEntries) {
        this.maxEntries = maxEntries;
        this.maxEntriesSet = true;
        return this;
    }
    @Override
    public long getActiveCount() {
        return activeCount;
    }

    @Override
    public OFTableStatsEntry.Builder setActiveCount(long activeCount) {
        this.activeCount = activeCount;
        this.activeCountSet = true;
        return this;
    }
    @Override
    public U64 getLookupCount() {
        return lookupCount;
    }

    @Override
    public OFTableStatsEntry.Builder setLookupCount(U64 lookupCount) {
        this.lookupCount = lookupCount;
        this.lookupCountSet = true;
        return this;
    }
    @Override
    public U64 getMatchedCount() {
        return matchedCount;
    }

    @Override
    public OFTableStatsEntry.Builder setMatchedCount(U64 matchedCount) {
        this.matchedCount = matchedCount;
        this.matchedCountSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }



        @Override
        public OFTableStatsEntry build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java267
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java547
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public U64 getRxPackets() {
        return rxPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setRxPackets(U64 rxPackets) {
        this.rxPackets = rxPackets;
        this.rxPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getRxBytes() {
        return rxBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setRxBytes(U64 rxBytes) {
        this.rxBytes = rxBytes;
        this.rxBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getRxDropped() {
        return rxDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setRxDropped(U64 rxDropped) {
        this.rxDropped = rxDropped;
        this.rxDroppedSet = true;
        return this;
    }
    @Override
    public U64 getTxDropped() {
        return txDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setTxDropped(U64 txDropped) {
        this.txDropped = txDropped;
        this.txDroppedSet = true;
        return this;
    }
    @Override
    public U64 getRxErrors() {
        return rxErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setRxErrors(U64 rxErrors) {
        this.rxErrors = rxErrors;
        this.rxErrorsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public U64 getRxFrameErr() {
        return rxFrameErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxFrameErr(U64 rxFrameErr) {
        this.rxFrameErr = rxFrameErr;
        this.rxFrameErrSet = true;
        return this;
    }
    @Override
    public U64 getRxOverErr() {
        return rxOverErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxOverErr(U64 rxOverErr) {
        this.rxOverErr = rxOverErr;
        this.rxOverErrSet = true;
        return this;
    }
    @Override
    public U64 getRxCrcErr() {
        return rxCrcErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxCrcErr(U64 rxCrcErr) {
        this.rxCrcErr = rxCrcErr;
        this.rxCrcErrSet = true;
        return this;
    }
    @Override
    public U64 getCollisions() {
        return collisions;
    }

    @Override
    public OFPortStatsEntry.Builder setCollisions(U64 collisions) {
        this.collisions = collisions;
        this.collisionsSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFPortStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFPortStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public List<OFPortStatsProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.3");
    }

    @Override
    public OFPortStatsEntry.Builder setProperties(List<OFPortStatsProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.3");
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFPortStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsEntryVer12.java254
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsEntryVer12.java532
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFTableStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public OFMatchBmap getMatch() {
        return match;
    }

    @Override
    public OFTableStatsEntry.Builder setMatch(OFMatchBmap match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public int getWildcards() {
        return wildcards;
    }

    @Override
    public OFTableStatsEntry.Builder setWildcards(int wildcards) {
        this.wildcards = wildcards;
        this.wildcardsSet = true;
        return this;
    }
    @Override
    public long getWriteActions() {
        return writeActions;
    }

    @Override
    public OFTableStatsEntry.Builder setWriteActions(long writeActions) {
        this.writeActions = writeActions;
        this.writeActionsSet = true;
        return this;
    }
    @Override
    public long getApplyActions() {
        return applyActions;
    }

    @Override
    public OFTableStatsEntry.Builder setApplyActions(long applyActions) {
        this.applyActions = applyActions;
        this.applyActionsSet = true;
        return this;
    }
    @Override
    public U64 getWriteSetfields() {
        return writeSetfields;
    }

    @Override
    public OFTableStatsEntry.Builder setWriteSetfields(U64 writeSetfields) {
        this.writeSetfields = writeSetfields;
        this.writeSetfieldsSet = true;
        return this;
    }
    @Override
    public U64 getApplySetfields() {
        return applySetfields;
    }

    @Override
    public OFTableStatsEntry.Builder setApplySetfields(U64 applySetfields) {
        this.applySetfields = applySetfields;
        this.applySetfieldsSet = true;
        return this;
    }
    @Override
    public U64 getMetadataMatch() {
        return metadataMatch;
    }

    @Override
    public OFTableStatsEntry.Builder setMetadataMatch(U64 metadataMatch) {
        this.metadataMatch = metadataMatch;
        this.metadataMatchSet = true;
        return this;
    }
    @Override
    public U64 getMetadataWrite() {
        return metadataWrite;
    }

    @Override
    public OFTableStatsEntry.Builder setMetadataWrite(U64 metadataWrite) {
        this.metadataWrite = metadataWrite;
        this.metadataWriteSet = true;
        return this;
    }
    @Override
    public long getInstructions() {
        return instructions;
    }

    @Override
    public OFTableStatsEntry.Builder setInstructions(long instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFTableStatsEntry.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public long getMaxEntries() {
        return maxEntries;
    }

    @Override
    public OFTableStatsEntry.Builder setMaxEntries(long maxEntries) {
        this.maxEntries = maxEntries;
        this.maxEntriesSet = true;
        return this;
    }
    @Override
    public long getActiveCount() {
        return activeCount;
    }

    @Override
    public OFTableStatsEntry.Builder setActiveCount(long activeCount) {
        this.activeCount = activeCount;
        this.activeCountSet = true;
        return this;
    }
    @Override
    public U64 getLookupCount() {
        return lookupCount;
    }

    @Override
    public OFTableStatsEntry.Builder setLookupCount(U64 lookupCount) {
        this.lookupCount = lookupCount;
        this.lookupCountSet = true;
        return this;
    }
    @Override
    public U64 getMatchedCount() {
        return matchedCount;
    }

    @Override
    public OFTableStatsEntry.Builder setMatchedCount(U64 matchedCount) {
        this.matchedCount = matchedCount;
        this.matchedCountSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFTableStatsEntry build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPktinFlagSerializerVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFBsnPktinFlagSerializerVer14.java34
public class OFBsnPktinFlagSerializerVer13 {

    public final static long BSN_PKTIN_FLAG_PDU_VAL = 0x1L;
    public final static long BSN_PKTIN_FLAG_NEW_HOST_VAL = 0x2L;
    public final static long BSN_PKTIN_FLAG_STATION_MOVE_VAL = 0x4L;
    public final static long BSN_PKTIN_FLAG_ARP_VAL = 0x8L;
    public final static long BSN_PKTIN_FLAG_DHCP_VAL = 0x10L;
    public final static long BSN_PKTIN_FLAG_L2_CPU_VAL = 0x20L;
    public final static long BSN_PKTIN_FLAG_DEBUG_VAL = 0x40L;
    public final static long BSN_PKTIN_FLAG_TTL_EXPIRED_VAL = 0x80L;
    public final static long BSN_PKTIN_FLAG_L3_MISS_VAL = 0x100L;
    public final static long BSN_PKTIN_FLAG_L3_CPU_VAL = 0x200L;
    public final static long BSN_PKTIN_FLAG_INGRESS_ACL_VAL = 0x400L;
    public final static long BSN_PKTIN_FLAG_SFLOW_VAL = 0x800L;
    public final static long BSN_PKTIN_FLAG_ARP_CACHE_VAL = 0x1000L;
    public final static long BSN_PKTIN_FLAG_ARP_TARGET_VAL = 0x2000L;

    public static Set<OFBsnPktinFlag> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readLong());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFBsnPktinFlag> set) {
        bb.writeLong(toWireValue(set));
    }

    public static void putTo(Set<OFBsnPktinFlag> set, PrimitiveSink sink) {
        sink.putLong(toWireValue(set));
    }


    public static Set<OFBsnPktinFlag> ofWireValue(long val) {
        EnumSet<OFBsnPktinFlag> set = EnumSet.noneOf(OFBsnPktinFlag.class);

        if((val & BSN_PKTIN_FLAG_PDU_VAL) != 0)
            set.add(OFBsnPktinFlag.BSN_PKTIN_FLAG_PDU);
        if((val & BSN_PKTIN_FLAG_NEW_HOST_VAL) != 0)
            set.add(OFBsnPktinFlag.BSN_PKTIN_FLAG_NEW_HOST);
        if((val & BSN_PKTIN_FLAG_STATION_MOVE_VAL) != 0)
            set.add(OFBsnPktinFlag.BSN_PKTIN_FLAG_STATION_MOVE);
        if((val & BSN_PKTIN_FLAG_ARP_VAL) != 0)
            set.add(OFBsnPktinFlag.BSN_PKTIN_FLAG_ARP);
        if((val & BSN_PKTIN_FLAG_DHCP_VAL) != 0)
            set.add(OFBsnPktinFlag.BSN_PKTIN_FLAG_DHCP);
        if((val & BSN_PKTIN_FLAG_L2_CPU_VAL) != 0)
            set.add(OFBsnPktinFlag.BSN_PKTIN_FLAG_L2_CPU);
        if((val & BSN_PKTIN_FLAG_DEBUG_VAL) != 0)
            set.add(OFBsnPktinFlag.BSN_PKTIN_FLAG_DEBUG);
        if((val & BSN_PKTIN_FLAG_TTL_EXPIRED_VAL) != 0)
            set.add(OFBsnPktinFlag.BSN_PKTIN_FLAG_TTL_EXPIRED);
        if((val & BSN_PKTIN_FLAG_L3_MISS_VAL) != 0)
            set.add(OFBsnPktinFlag.BSN_PKTIN_FLAG_L3_MISS);
        if((val & BSN_PKTIN_FLAG_L3_CPU_VAL) != 0)
            set.add(OFBsnPktinFlag.BSN_PKTIN_FLAG_L3_CPU);
        if((val & BSN_PKTIN_FLAG_INGRESS_ACL_VAL) != 0)
            set.add(OFBsnPktinFlag.BSN_PKTIN_FLAG_INGRESS_ACL);
        if((val & BSN_PKTIN_FLAG_SFLOW_VAL) != 0)
            set.add(OFBsnPktinFlag.BSN_PKTIN_FLAG_SFLOW);
        if((val & BSN_PKTIN_FLAG_ARP_CACHE_VAL) != 0)
            set.add(OFBsnPktinFlag.BSN_PKTIN_FLAG_ARP_CACHE);
        if((val & BSN_PKTIN_FLAG_ARP_TARGET_VAL) != 0)
            set.add(OFBsnPktinFlag.BSN_PKTIN_FLAG_ARP_TARGET);
        return Collections.unmodifiableSet(set);
    }

    public static long toWireValue(Set<OFBsnPktinFlag> set) {
        long wireValue = 0;

        for(OFBsnPktinFlag e: set) {
            switch(e) {
                case BSN_PKTIN_FLAG_PDU:
                    wireValue |= BSN_PKTIN_FLAG_PDU_VAL;
                    break;
                case BSN_PKTIN_FLAG_NEW_HOST:
                    wireValue |= BSN_PKTIN_FLAG_NEW_HOST_VAL;
                    break;
                case BSN_PKTIN_FLAG_STATION_MOVE:
                    wireValue |= BSN_PKTIN_FLAG_STATION_MOVE_VAL;
                    break;
                case BSN_PKTIN_FLAG_ARP:
                    wireValue |= BSN_PKTIN_FLAG_ARP_VAL;
                    break;
                case BSN_PKTIN_FLAG_DHCP:
                    wireValue |= BSN_PKTIN_FLAG_DHCP_VAL;
                    break;
                case BSN_PKTIN_FLAG_L2_CPU:
                    wireValue |= BSN_PKTIN_FLAG_L2_CPU_VAL;
                    break;
                case BSN_PKTIN_FLAG_DEBUG:
                    wireValue |= BSN_PKTIN_FLAG_DEBUG_VAL;
                    break;
                case BSN_PKTIN_FLAG_TTL_EXPIRED:
                    wireValue |= BSN_PKTIN_FLAG_TTL_EXPIRED_VAL;
                    break;
                case BSN_PKTIN_FLAG_L3_MISS:
                    wireValue |= BSN_PKTIN_FLAG_L3_MISS_VAL;
                    break;
                case BSN_PKTIN_FLAG_L3_CPU:
                    wireValue |= BSN_PKTIN_FLAG_L3_CPU_VAL;
                    break;
                case BSN_PKTIN_FLAG_INGRESS_ACL:
                    wireValue |= BSN_PKTIN_FLAG_INGRESS_ACL_VAL;
                    break;
                case BSN_PKTIN_FLAG_SFLOW:
                    wireValue |= BSN_PKTIN_FLAG_SFLOW_VAL;
                    break;
                case BSN_PKTIN_FLAG_ARP_CACHE:
                    wireValue |= BSN_PKTIN_FLAG_ARP_CACHE_VAL;
                    break;
                case BSN_PKTIN_FLAG_ARP_TARGET:
                    wireValue |= BSN_PKTIN_FLAG_ARP_TARGET_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFBsnPktinFlag in version 1.3: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java941
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java941
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java941
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java941
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java941
        OFFlowAddVer14 other = (OFFlowAddVer14) obj;

        if( xid != other.xid)
            return false;
        if (cookie == null) {
            if (other.cookie != null)
                return false;
        } else if (!cookie.equals(other.cookie))
            return false;
        if (cookieMask == null) {
            if (other.cookieMask != null)
                return false;
        } else if (!cookieMask.equals(other.cookieMask))
            return false;
        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if( idleTimeout != other.idleTimeout)
            return false;
        if( hardTimeout != other.hardTimeout)
            return false;
        if( priority != other.priority)
            return false;
        if (bufferId == null) {
            if (other.bufferId != null)
                return false;
        } else if (!bufferId.equals(other.bufferId))
            return false;
        if (outPort == null) {
            if (other.outPort != null)
                return false;
        } else if (!outPort.equals(other.outPort))
            return false;
        if (outGroup == null) {
            if (other.outGroup != null)
                return false;
        } else if (!outGroup.equals(other.outGroup))
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if( importance != other.importance)
            return false;
        if (match == null) {
            if (other.match != null)
                return false;
        } else if (!match.equals(other.match))
            return false;
        if (instructions == null) {
            if (other.instructions != null)
                return false;
        } else if (!instructions.equals(other.instructions))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((cookie == null) ? 0 : cookie.hashCode());
        result = prime * result + ((cookieMask == null) ? 0 : cookieMask.hashCode());
        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime * result + idleTimeout;
        result = prime * result + hardTimeout;
        result = prime * result + priority;
        result = prime * result + ((bufferId == null) ? 0 : bufferId.hashCode());
        result = prime * result + ((outPort == null) ? 0 : outPort.hashCode());
        result = prime * result + ((outGroup == null) ? 0 : outGroup.hashCode());
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + importance;
        result = prime * result + ((match == null) ? 0 : match.hashCode());
        result = prime * result + ((instructions == null) ? 0 : instructions.hashCode());
        return result;
    }

}
FileLine
net/onrc/openvirtex/messages/ver10/OVXFlowAddVer10.java169
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteStrictVer10.java124
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteVer10.java124
net/onrc/openvirtex/messages/ver10/OVXFlowModifyStrictVer10.java124
net/onrc/openvirtex/messages/ver10/OVXFlowModifyVer10.java124
        boolean pflag = ft.handleFlowMods(this.clone());

        /* used by OFAction virtualization */
        OVXMatch ovxMatch = new OVXMatch((OFMatchV1)this.match);
        ovxCookie = ((OVXFlowTable) ft).getCookie(this, false);
        ovxMatch.setCookie(ovxCookie);
        this.cookie=U64.of(ovxMatch.getCookie());

        for (OFAction act : this.getActions()) {
            try {
            	if(act.getType().equals(OFActionType.SET_NW_DST))
                	act=OVXFactoryInst.myOVXFactory.buildOVXActionDataLayerDestination(((OFActionSetDlDst)act).getDlAddr());
                else if(act.getType().equals(OFActionType.SET_NW_SRC))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionDataLayerSource(((OFActionSetDlSrc)act).getDlAddr());
                else if(act.getType().equals(OFActionType.ENQUEUE))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionEnqueue(((OFActionEnqueue)act).getPort(),((OFActionEnqueue)act).getQueueId());
                else if(act.getType().equals(OFActionType.SET_NW_DST))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionNetworkLayerDestination(((OFActionSetNwDst)act).getNwAddr());
                else if(act.getType().equals(OFActionType.SET_NW_SRC))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionNetworkLayerSource(((OFActionSetNwSrc)act).getNwAddr());
                else if(act.getType().equals(OFActionType.SET_NW_TOS))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionNetworkTypeOfService(((OFActionSetNwTos)act).getNwTos());
                else if(act.getType().equals(OFActionType.OUTPUT))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionOutput(((OFActionOutput)act).getPort(),((OFActionOutput)act).getMaxLen());
                else if(act.getType().equals(OFActionType.STRIP_VLAN))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionStripVirtualLan();
                else if(act.getType().equals(OFActionType.SET_TP_DST))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionTransportLayerDestination(((OFActionSetTpDst)act).getTpPort());
                else if(act.getType().equals(OFActionType.SET_TP_SRC))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionTransportLayerSource(((OFActionSetTpSrc)act).getTpPort());
                else if(act.getType().equals(OFActionType.SET_VLAN_VID))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionVirtualLanIdentifier(((OFActionSetVlanVid)act).getVlanVid());
                else if(act.getType().equals(OFActionType.SET_VLAN_PCP))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionVirtualLanPriorityCodePoint(((OFActionSetVlanPcp)act).getVlanPcp());
                //System.out.println("Match before virtualize: "+ ovxMatch.toString());
                ((VirtualizableAction) act).virtualize(sw,
                        this.approvedActions, ovxMatch);
            } catch (final ActionVirtualizationDenied e) {
                this.log.warn("Action {} could not be virtualized; error: {}",
                        act, e.getMessage());
                ft.deleteFlowMod(ovxCookie);
                sw.sendMsg(OVXMessageUtil.makeError(e.getErrorCode(), this), sw);
                return;
            } catch (final DroppedMessageException e) {
                this.log.warn("Dropping flowmod {} {}", this, e);
                ft.deleteFlowMod(ovxCookie);
                // TODO perhaps send error message to controller
                return;
            }
        }
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java477
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java477
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java477
                return new OFPortStatsEntryVer10(
                    portNo,
                    rxPackets,
                    txPackets,
                    rxBytes,
                    txBytes,
                    rxDropped,
                    txDropped,
                    rxErrors,
                    txErrors,
                    rxFrameErr,
                    rxOverErr,
                    rxCrcErr,
                    collisions
                );
        }

    }

    static class Builder implements OFPortStatsEntry.Builder {
        // OF message fields
        private boolean portNoSet;
        private OFPort portNo;
        private boolean rxPacketsSet;
        private U64 rxPackets;
        private boolean txPacketsSet;
        private U64 txPackets;
        private boolean rxBytesSet;
        private U64 rxBytes;
        private boolean txBytesSet;
        private U64 txBytes;
        private boolean rxDroppedSet;
        private U64 rxDropped;
        private boolean txDroppedSet;
        private U64 txDropped;
        private boolean rxErrorsSet;
        private U64 rxErrors;
        private boolean txErrorsSet;
        private U64 txErrors;
        private boolean rxFrameErrSet;
        private U64 rxFrameErr;
        private boolean rxOverErrSet;
        private U64 rxOverErr;
        private boolean rxCrcErrSet;
        private U64 rxCrcErr;
        private boolean collisionsSet;
        private U64 collisions;

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public U64 getRxPackets() {
        return rxPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setRxPackets(U64 rxPackets) {
        this.rxPackets = rxPackets;
        this.rxPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getRxBytes() {
        return rxBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setRxBytes(U64 rxBytes) {
        this.rxBytes = rxBytes;
        this.rxBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getRxDropped() {
        return rxDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setRxDropped(U64 rxDropped) {
        this.rxDropped = rxDropped;
        this.rxDroppedSet = true;
        return this;
    }
    @Override
    public U64 getTxDropped() {
        return txDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setTxDropped(U64 txDropped) {
        this.txDropped = txDropped;
        this.txDroppedSet = true;
        return this;
    }
    @Override
    public U64 getRxErrors() {
        return rxErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setRxErrors(U64 rxErrors) {
        this.rxErrors = rxErrors;
        this.rxErrorsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public U64 getRxFrameErr() {
        return rxFrameErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxFrameErr(U64 rxFrameErr) {
        this.rxFrameErr = rxFrameErr;
        this.rxFrameErrSet = true;
        return this;
    }
    @Override
    public U64 getRxOverErr() {
        return rxOverErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxOverErr(U64 rxOverErr) {
        this.rxOverErr = rxOverErr;
        this.rxOverErrSet = true;
        return this;
    }
    @Override
    public U64 getRxCrcErr() {
        return rxCrcErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxCrcErr(U64 rxCrcErr) {
        this.rxCrcErr = rxCrcErr;
        this.rxCrcErrSet = true;
        return this;
    }
    @Override
    public U64 getCollisions() {
        return collisions;
    }

    @Override
    public OFPortStatsEntry.Builder setCollisions(U64 collisions) {
        this.collisions = collisions;
        this.collisionsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.0");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java925
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java925
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java925
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java925
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java925
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java925
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java925
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java925
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java925
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java925
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java969
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java965
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java964
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java965
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java963
        OFFlowAddVer11 other = (OFFlowAddVer11) obj;

        if( xid != other.xid)
            return false;
        if (cookie == null) {
            if (other.cookie != null)
                return false;
        } else if (!cookie.equals(other.cookie))
            return false;
        if (cookieMask == null) {
            if (other.cookieMask != null)
                return false;
        } else if (!cookieMask.equals(other.cookieMask))
            return false;
        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if( idleTimeout != other.idleTimeout)
            return false;
        if( hardTimeout != other.hardTimeout)
            return false;
        if( priority != other.priority)
            return false;
        if (bufferId == null) {
            if (other.bufferId != null)
                return false;
        } else if (!bufferId.equals(other.bufferId))
            return false;
        if (outPort == null) {
            if (other.outPort != null)
                return false;
        } else if (!outPort.equals(other.outPort))
            return false;
        if (outGroup == null) {
            if (other.outGroup != null)
                return false;
        } else if (!outGroup.equals(other.outGroup))
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if (match == null) {
            if (other.match != null)
                return false;
        } else if (!match.equals(other.match))
            return false;
        if (instructions == null) {
            if (other.instructions != null)
                return false;
        } else if (!instructions.equals(other.instructions))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((cookie == null) ? 0 : cookie.hashCode());
        result = prime * result + ((cookieMask == null) ? 0 : cookieMask.hashCode());
        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime * result + idleTimeout;
        result = prime * result + hardTimeout;
        result = prime * result + priority;
        result = prime * result + ((bufferId == null) ? 0 : bufferId.hashCode());
        result = prime * result + ((outPort == null) ? 0 : outPort.hashCode());
        result = prime * result + ((outGroup == null) ? 0 : outGroup.hashCode());
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((match == null) ? 0 : match.hashCode());
        result = prime * result + ((instructions == null) ? 0 : instructions.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterSerializerVer14.java30
public class OFBsnPortCounterSerializerVer13 {

    public final static byte BSN_PORT_COUNTER_RX_BYTES_VAL = (byte) 0x0;
    public final static byte BSN_PORT_COUNTER_RX_PACKETS_UNICAST_VAL = (byte) 0x1;
    public final static byte BSN_PORT_COUNTER_RX_PACKETS_BROADCAST_VAL = (byte) 0x2;
    public final static byte BSN_PORT_COUNTER_RX_PACKETS_MULTICAST_VAL = (byte) 0x3;
    public final static byte BSN_PORT_COUNTER_RX_DROPPED_VAL = (byte) 0x4;
    public final static byte BSN_PORT_COUNTER_RX_ERRORS_VAL = (byte) 0x5;
    public final static byte BSN_PORT_COUNTER_TX_BYTES_VAL = (byte) 0x6;
    public final static byte BSN_PORT_COUNTER_TX_PACKETS_UNICAST_VAL = (byte) 0x7;
    public final static byte BSN_PORT_COUNTER_TX_PACKETS_BROADCAST_VAL = (byte) 0x8;
    public final static byte BSN_PORT_COUNTER_TX_PACKETS_MULTICAST_VAL = (byte) 0x9;
    public final static byte BSN_PORT_COUNTER_TX_DROPPED_VAL = (byte) 0xa;
    public final static byte BSN_PORT_COUNTER_TX_ERRORS_VAL = (byte) 0xb;
    public final static byte BSN_PORT_COUNTER_RX_RUNTS_VAL = (byte) 0xc;
    public final static byte BSN_PORT_COUNTER_RX_GIANTS_VAL = (byte) 0xd;
    public final static byte BSN_PORT_COUNTER_RX_CRC_ERRORS_VAL = (byte) 0xe;
    public final static byte BSN_PORT_COUNTER_RX_ALIGNMENT_ERRORS_VAL = (byte) 0xf;
    public final static byte BSN_PORT_COUNTER_RX_SYMBOL_ERRORS_VAL = (byte) 0x10;
    public final static byte BSN_PORT_COUNTER_RX_PAUSE_INPUT_VAL = (byte) 0x11;
    public final static byte BSN_PORT_COUNTER_TX_COLLISIONS_VAL = (byte) 0x12;
    public final static byte BSN_PORT_COUNTER_TX_LATE_COLLISIONS_VAL = (byte) 0x13;
    public final static byte BSN_PORT_COUNTER_TX_DEFERRED_VAL = (byte) 0x14;
    public final static byte BSN_PORT_COUNTER_TX_PAUSE_OUTPUT_VAL = (byte) 0x15;
    public final static byte BSN_PORT_COUNTER_RX_PACKETS_VAL = (byte) 0x16;
    public final static byte BSN_PORT_COUNTER_TX_PACKETS_VAL = (byte) 0x17;
    public final static byte BSN_PORT_COUNTER_RX_LENGTH_ERRORS_VAL = (byte) 0x18;
    public final static byte BSN_PORT_COUNTER_RX_OVERFLOW_ERRORS_VAL = (byte) 0x19;
    public final static byte BSN_PORT_COUNTER_TX_CARRIER_ERRORS_VAL = (byte) 0x1a;
    public final static byte BSN_PORT_COUNTER_RX_PACKETS_BAD_VLAN_VAL = (byte) 0x1b;

    public static OFBsnPortCounter readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBsnPortCounter e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFBsnPortCounter e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFBsnPortCounter ofWireValue(byte val) {
        switch(val) {
            case BSN_PORT_COUNTER_RX_BYTES_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_RX_BYTES;
            case BSN_PORT_COUNTER_RX_PACKETS_UNICAST_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_RX_PACKETS_UNICAST;
            case BSN_PORT_COUNTER_RX_PACKETS_BROADCAST_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_RX_PACKETS_BROADCAST;
            case BSN_PORT_COUNTER_RX_PACKETS_MULTICAST_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_RX_PACKETS_MULTICAST;
            case BSN_PORT_COUNTER_RX_DROPPED_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_RX_DROPPED;
            case BSN_PORT_COUNTER_RX_ERRORS_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_RX_ERRORS;
            case BSN_PORT_COUNTER_TX_BYTES_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_TX_BYTES;
            case BSN_PORT_COUNTER_TX_PACKETS_UNICAST_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_TX_PACKETS_UNICAST;
            case BSN_PORT_COUNTER_TX_PACKETS_BROADCAST_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_TX_PACKETS_BROADCAST;
            case BSN_PORT_COUNTER_TX_PACKETS_MULTICAST_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_TX_PACKETS_MULTICAST;
            case BSN_PORT_COUNTER_TX_DROPPED_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_TX_DROPPED;
            case BSN_PORT_COUNTER_TX_ERRORS_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_TX_ERRORS;
            case BSN_PORT_COUNTER_RX_RUNTS_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_RX_RUNTS;
            case BSN_PORT_COUNTER_RX_GIANTS_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_RX_GIANTS;
            case BSN_PORT_COUNTER_RX_CRC_ERRORS_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_RX_CRC_ERRORS;
            case BSN_PORT_COUNTER_RX_ALIGNMENT_ERRORS_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_RX_ALIGNMENT_ERRORS;
            case BSN_PORT_COUNTER_RX_SYMBOL_ERRORS_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_RX_SYMBOL_ERRORS;
            case BSN_PORT_COUNTER_RX_PAUSE_INPUT_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_RX_PAUSE_INPUT;
            case BSN_PORT_COUNTER_TX_COLLISIONS_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_TX_COLLISIONS;
            case BSN_PORT_COUNTER_TX_LATE_COLLISIONS_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_TX_LATE_COLLISIONS;
            case BSN_PORT_COUNTER_TX_DEFERRED_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_TX_DEFERRED;
            case BSN_PORT_COUNTER_TX_PAUSE_OUTPUT_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_TX_PAUSE_OUTPUT;
            case BSN_PORT_COUNTER_RX_PACKETS_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_RX_PACKETS;
            case BSN_PORT_COUNTER_TX_PACKETS_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_TX_PACKETS;
            case BSN_PORT_COUNTER_RX_LENGTH_ERRORS_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_RX_LENGTH_ERRORS;
            case BSN_PORT_COUNTER_RX_OVERFLOW_ERRORS_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_RX_OVERFLOW_ERRORS;
            case BSN_PORT_COUNTER_TX_CARRIER_ERRORS_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_TX_CARRIER_ERRORS;
            case BSN_PORT_COUNTER_RX_PACKETS_BAD_VLAN_VAL:
                return OFBsnPortCounter.BSN_PORT_COUNTER_RX_PACKETS_BAD_VLAN;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFBsnPortCounter in version 1.3: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportL2GreVer10.java398
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreVer11.java398
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreVer12.java398
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreVer13.java398
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreVer14.java398
                return new OFBsnVportL2GreVer10(
                    flags,
                    portNo,
                    loopbackPortNo,
                    localMac,
                    nhMac,
                    srcIp,
                    dstIp,
                    dscp,
                    ttl,
                    vpn,
                    rateLimit,
                    ifName
                );
        }

    }

    static class Builder implements OFBsnVportL2Gre.Builder {
        // OF message fields
        private boolean flagsSet;
        private Set<OFBsnVportL2GreFlags> flags;
        private boolean portNoSet;
        private OFPort portNo;
        private boolean loopbackPortNoSet;
        private OFPort loopbackPortNo;
        private boolean localMacSet;
        private MacAddress localMac;
        private boolean nhMacSet;
        private MacAddress nhMac;
        private boolean srcIpSet;
        private IPv4Address srcIp;
        private boolean dstIpSet;
        private IPv4Address dstIp;
        private boolean dscpSet;
        private short dscp;
        private boolean ttlSet;
        private short ttl;
        private boolean vpnSet;
        private long vpn;
        private boolean rateLimitSet;
        private long rateLimit;
        private boolean ifNameSet;
        private String ifName;

    @Override
    public int getType() {
        return 0x1;
    }

    @Override
    public Set<OFBsnVportL2GreFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVportL2Gre.Builder setFlags(Set<OFBsnVportL2GreFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnVportL2Gre.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public OFPort getLoopbackPortNo() {
        return loopbackPortNo;
    }

    @Override
    public OFBsnVportL2Gre.Builder setLoopbackPortNo(OFPort loopbackPortNo) {
        this.loopbackPortNo = loopbackPortNo;
        this.loopbackPortNoSet = true;
        return this;
    }
    @Override
    public MacAddress getLocalMac() {
        return localMac;
    }

    @Override
    public OFBsnVportL2Gre.Builder setLocalMac(MacAddress localMac) {
        this.localMac = localMac;
        this.localMacSet = true;
        return this;
    }
    @Override
    public MacAddress getNhMac() {
        return nhMac;
    }

    @Override
    public OFBsnVportL2Gre.Builder setNhMac(MacAddress nhMac) {
        this.nhMac = nhMac;
        this.nhMacSet = true;
        return this;
    }
    @Override
    public IPv4Address getSrcIp() {
        return srcIp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setSrcIp(IPv4Address srcIp) {
        this.srcIp = srcIp;
        this.srcIpSet = true;
        return this;
    }
    @Override
    public IPv4Address getDstIp() {
        return dstIp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setDstIp(IPv4Address dstIp) {
        this.dstIp = dstIp;
        this.dstIpSet = true;
        return this;
    }
    @Override
    public short getDscp() {
        return dscp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setDscp(short dscp) {
        this.dscp = dscp;
        this.dscpSet = true;
        return this;
    }
    @Override
    public short getTtl() {
        return ttl;
    }

    @Override
    public OFBsnVportL2Gre.Builder setTtl(short ttl) {
        this.ttl = ttl;
        this.ttlSet = true;
        return this;
    }
    @Override
    public long getVpn() {
        return vpn;
    }

    @Override
    public OFBsnVportL2Gre.Builder setVpn(long vpn) {
        this.vpn = vpn;
        this.vpnSet = true;
        return this;
    }
    @Override
    public long getRateLimit() {
        return rateLimit;
    }

    @Override
    public OFBsnVportL2Gre.Builder setRateLimit(long rateLimit) {
        this.rateLimit = rateLimit;
        this.rateLimitSet = true;
        return this;
    }
    @Override
    public String getIfName() {
        return ifName;
    }

    @Override
    public OFBsnVportL2Gre.Builder setIfName(String ifName) {
        this.ifName = ifName;
        this.ifNameSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java754
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java754
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java754
        OFPortDescVer11 other = (OFPortDescVer11) obj;

        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if (hwAddr == null) {
            if (other.hwAddr != null)
                return false;
        } else if (!hwAddr.equals(other.hwAddr))
            return false;
        if (name == null) {
            if (other.name != null)
                return false;
        } else if (!name.equals(other.name))
            return false;
        if (config == null) {
            if (other.config != null)
                return false;
        } else if (!config.equals(other.config))
            return false;
        if (state == null) {
            if (other.state != null)
                return false;
        } else if (!state.equals(other.state))
            return false;
        if (curr == null) {
            if (other.curr != null)
                return false;
        } else if (!curr.equals(other.curr))
            return false;
        if (advertised == null) {
            if (other.advertised != null)
                return false;
        } else if (!advertised.equals(other.advertised))
            return false;
        if (supported == null) {
            if (other.supported != null)
                return false;
        } else if (!supported.equals(other.supported))
            return false;
        if (peer == null) {
            if (other.peer != null)
                return false;
        } else if (!peer.equals(other.peer))
            return false;
        if( currSpeed != other.currSpeed)
            return false;
        if( maxSpeed != other.maxSpeed)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime * result + ((hwAddr == null) ? 0 : hwAddr.hashCode());
        result = prime * result + ((name == null) ? 0 : name.hashCode());
        result = prime * result + ((config == null) ? 0 : config.hashCode());
        result = prime * result + ((state == null) ? 0 : state.hashCode());
        result = prime * result + ((curr == null) ? 0 : curr.hashCode());
        result = prime * result + ((advertised == null) ? 0 : advertised.hashCode());
        result = prime * result + ((supported == null) ? 0 : supported.hashCode());
        result = prime * result + ((peer == null) ? 0 : peer.hashCode());
        result = prime *  (int) (currSpeed ^ (currSpeed >>> 32));
        result = prime *  (int) (maxSpeed ^ (maxSpeed >>> 32));
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java396
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java396
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java396
                return new OFPortDescVer11(
                    portNo,
                    hwAddr,
                    name,
                    config,
                    state,
                    curr,
                    advertised,
                    supported,
                    peer,
                    currSpeed,
                    maxSpeed
                );
        }

    }

    static class Builder implements OFPortDesc.Builder {
        // OF message fields
        private boolean portNoSet;
        private OFPort portNo;
        private boolean hwAddrSet;
        private MacAddress hwAddr;
        private boolean nameSet;
        private String name;
        private boolean configSet;
        private Set<OFPortConfig> config;
        private boolean stateSet;
        private Set<OFPortState> state;
        private boolean currSet;
        private Set<OFPortFeatures> curr;
        private boolean advertisedSet;
        private Set<OFPortFeatures> advertised;
        private boolean supportedSet;
        private Set<OFPortFeatures> supported;
        private boolean peerSet;
        private Set<OFPortFeatures> peer;
        private boolean currSpeedSet;
        private long currSpeed;
        private boolean maxSpeedSet;
        private long maxSpeed;

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortDesc.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortDesc.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFPortDesc.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public Set<OFPortConfig> getConfig() {
        return config;
    }

    @Override
    public OFPortDesc.Builder setConfig(Set<OFPortConfig> config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public Set<OFPortState> getState() {
        return state;
    }

    @Override
    public OFPortDesc.Builder setState(Set<OFPortState> state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getCurr() {
        return curr;
    }

    @Override
    public OFPortDesc.Builder setCurr(Set<OFPortFeatures> curr) {
        this.curr = curr;
        this.currSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getAdvertised() {
        return advertised;
    }

    @Override
    public OFPortDesc.Builder setAdvertised(Set<OFPortFeatures> advertised) {
        this.advertised = advertised;
        this.advertisedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getSupported() {
        return supported;
    }

    @Override
    public OFPortDesc.Builder setSupported(Set<OFPortFeatures> supported) {
        this.supported = supported;
        this.supportedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getPeer() {
        return peer;
    }

    @Override
    public OFPortDesc.Builder setPeer(Set<OFPortFeatures> peer) {
        this.peer = peer;
        this.peerSet = true;
        return this;
    }
    @Override
    public long getCurrSpeed() {
        return currSpeed;
    }

    @Override
    public OFPortDesc.Builder setCurrSpeed(long currSpeed) {
        this.currSpeed = currSpeed;
        this.currSpeedSet = true;
        return this;
    }
    @Override
    public long getMaxSpeed() {
        return maxSpeed;
    }

    @Override
    public OFPortDesc.Builder setMaxSpeed(long maxSpeed) {
        this.maxSpeed = maxSpeed;
        this.maxSpeedSet = true;
        return this;
    }
    @Override
    public List<OFPortDescProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsEntryVer10.java217
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsEntryVer10.java441
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowStatsEntry.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsEntry.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsEntry.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property instructions not supported in version 1.0");
    }

    @Override
    public OFFlowStatsEntry.Builder setInstructions(List<OFInstruction> instructions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property instructions not supported in version 1.0");
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFFlowStatsEntry.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property flags not supported in version 1.0");
    }

    @Override
    public OFFlowStatsEntry.Builder setFlags(Set<OFFlowModFlags> flags) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property flags not supported in version 1.0");
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.0");
    }

    @Override
    public OFFlowStatsEntry.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.0");
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }



        @Override
        public OFFlowStatsEntry build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java217
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java441
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowStatsEntry.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsEntry.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsEntry.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowStatsEntry.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
    }

    @Override
    public OFFlowStatsEntry.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.1");
    }
    @Override
    public Set<OFFlowModFlags> getFlags()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property flags not supported in version 1.1");
    }

    @Override
    public OFFlowStatsEntry.Builder setFlags(Set<OFFlowModFlags> flags) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property flags not supported in version 1.1");
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }

    @Override
    public OFFlowStatsEntry.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }



        @Override
        public OFFlowStatsEntry build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java217
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java441
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowStatsEntry.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsEntry.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsEntry.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowStatsEntry.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.2");
    }

    @Override
    public OFFlowStatsEntry.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.2");
    }
    @Override
    public Set<OFFlowModFlags> getFlags()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property flags not supported in version 1.2");
    }

    @Override
    public OFFlowStatsEntry.Builder setFlags(Set<OFFlowModFlags> flags) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property flags not supported in version 1.2");
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.2");
    }

    @Override
    public OFFlowStatsEntry.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.2");
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFFlowStatsEntry build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java226
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java458
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowStatsEntry.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsEntry.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsEntry.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowStatsEntry.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.3");
    }

    @Override
    public OFFlowStatsEntry.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.3");
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsEntry.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.3");
    }

    @Override
    public OFFlowStatsEntry.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.3");
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFFlowStatsEntry build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java231
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java469
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowStatsEntry.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsEntry.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsEntry.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowStatsEntry.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.4");
    }

    @Override
    public OFFlowStatsEntry.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.4");
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsEntry.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public int getImportance() {
        return importance;
    }

    @Override
    public OFFlowStatsEntry.Builder setImportance(int importance) {
        this.importance = importance;
        this.importanceSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFFlowStatsEntry build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java362
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java362
                return new OFBsnLacpStatsEntryVer13(
                    portNo,
                    actorSysPriority,
                    actorSysMac,
                    actorPortPriority,
                    actorPortNum,
                    actorKey,
                    convergenceStatus,
                    partnerSysPriority,
                    partnerSysMac,
                    partnerPortPriority,
                    partnerPortNum,
                    partnerKey
                );
        }

    }

    static class Builder implements OFBsnLacpStatsEntry.Builder {
        // OF message fields
        private boolean portNoSet;
        private OFPort portNo;
        private boolean actorSysPrioritySet;
        private int actorSysPriority;
        private boolean actorSysMacSet;
        private MacAddress actorSysMac;
        private boolean actorPortPrioritySet;
        private int actorPortPriority;
        private boolean actorPortNumSet;
        private int actorPortNum;
        private boolean actorKeySet;
        private int actorKey;
        private boolean convergenceStatusSet;
        private short convergenceStatus;
        private boolean partnerSysPrioritySet;
        private int partnerSysPriority;
        private boolean partnerSysMacSet;
        private MacAddress partnerSysMac;
        private boolean partnerPortPrioritySet;
        private int partnerPortPriority;
        private boolean partnerPortNumSet;
        private int partnerPortNum;
        private boolean partnerKeySet;
        private int partnerKey;

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorSysPriority(int actorSysPriority) {
        this.actorSysPriority = actorSysPriority;
        this.actorSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorSysMac(MacAddress actorSysMac) {
        this.actorSysMac = actorSysMac;
        this.actorSysMacSet = true;
        return this;
    }
    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorPortPriority(int actorPortPriority) {
        this.actorPortPriority = actorPortPriority;
        this.actorPortPrioritySet = true;
        return this;
    }
    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorPortNum(int actorPortNum) {
        this.actorPortNum = actorPortNum;
        this.actorPortNumSet = true;
        return this;
    }
    @Override
    public int getActorKey() {
        return actorKey;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorKey(int actorKey) {
        this.actorKey = actorKey;
        this.actorKeySet = true;
        return this;
    }
    @Override
    public short getConvergenceStatus() {
        return convergenceStatus;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setConvergenceStatus(short convergenceStatus) {
        this.convergenceStatus = convergenceStatus;
        this.convergenceStatusSet = true;
        return this;
    }
    @Override
    public int getPartnerSysPriority() {
        return partnerSysPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerSysPriority(int partnerSysPriority) {
        this.partnerSysPriority = partnerSysPriority;
        this.partnerSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getPartnerSysMac() {
        return partnerSysMac;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerSysMac(MacAddress partnerSysMac) {
        this.partnerSysMac = partnerSysMac;
        this.partnerSysMacSet = true;
        return this;
    }
    @Override
    public int getPartnerPortPriority() {
        return partnerPortPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerPortPriority(int partnerPortPriority) {
        this.partnerPortPriority = partnerPortPriority;
        this.partnerPortPrioritySet = true;
        return this;
    }
    @Override
    public int getPartnerPortNum() {
        return partnerPortNum;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerPortNum(int partnerPortNum) {
        this.partnerPortNum = partnerPortNum;
        this.partnerPortNumSet = true;
        return this;
    }
    @Override
    public int getPartnerKey() {
        return partnerKey;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerKey(int partnerKey) {
        this.partnerKey = partnerKey;
        this.partnerKeySet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportL2GreVer10.java790
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreVer11.java790
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreVer12.java790
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreVer13.java790
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreVer14.java790
        OFBsnVportL2GreVer10 other = (OFBsnVportL2GreVer10) obj;

        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if (loopbackPortNo == null) {
            if (other.loopbackPortNo != null)
                return false;
        } else if (!loopbackPortNo.equals(other.loopbackPortNo))
            return false;
        if (localMac == null) {
            if (other.localMac != null)
                return false;
        } else if (!localMac.equals(other.localMac))
            return false;
        if (nhMac == null) {
            if (other.nhMac != null)
                return false;
        } else if (!nhMac.equals(other.nhMac))
            return false;
        if (srcIp == null) {
            if (other.srcIp != null)
                return false;
        } else if (!srcIp.equals(other.srcIp))
            return false;
        if (dstIp == null) {
            if (other.dstIp != null)
                return false;
        } else if (!dstIp.equals(other.dstIp))
            return false;
        if( dscp != other.dscp)
            return false;
        if( ttl != other.ttl)
            return false;
        if( vpn != other.vpn)
            return false;
        if( rateLimit != other.rateLimit)
            return false;
        if (ifName == null) {
            if (other.ifName != null)
                return false;
        } else if (!ifName.equals(other.ifName))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime * result + ((loopbackPortNo == null) ? 0 : loopbackPortNo.hashCode());
        result = prime * result + ((localMac == null) ? 0 : localMac.hashCode());
        result = prime * result + ((nhMac == null) ? 0 : nhMac.hashCode());
        result = prime * result + ((srcIp == null) ? 0 : srcIp.hashCode());
        result = prime * result + ((dstIp == null) ? 0 : dstIp.hashCode());
        result = prime * result + dscp;
        result = prime * result + ttl;
        result = prime *  (int) (vpn ^ (vpn >>> 32));
        result = prime *  (int) (rateLimit ^ (rateLimit >>> 32));
        result = prime * result + ((ifName == null) ? 0 : ifName.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsEntryVer13.java242
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsEntryVer13.java483
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFCalientPortStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public Set<OFCalientOpticalPortAdminState> getInAdminStatus() {
        return inAdminStatus;
    }

    @Override
    public OFCalientPortStatsEntry.Builder setInAdminStatus(Set<OFCalientOpticalPortAdminState> inAdminStatus) {
        this.inAdminStatus = inAdminStatus;
        this.inAdminStatusSet = true;
        return this;
    }
    @Override
    public Set<OFCalientOpticalPortOperState> getInOperStatus() {
        return inOperStatus;
    }

    @Override
    public OFCalientPortStatsEntry.Builder setInOperStatus(Set<OFCalientOpticalPortOperState> inOperStatus) {
        this.inOperStatus = inOperStatus;
        this.inOperStatusSet = true;
        return this;
    }
    @Override
    public Set<OFCalientOpticalPortOperCapability> getInOperCapability() {
        return inOperCapability;
    }

    @Override
    public OFCalientPortStatsEntry.Builder setInOperCapability(Set<OFCalientOpticalPortOperCapability> inOperCapability) {
        this.inOperCapability = inOperCapability;
        this.inOperCapabilitySet = true;
        return this;
    }
    @Override
    public Set<OFCalientOcsAlarm> getInAlarm() {
        return inAlarm;
    }

    @Override
    public OFCalientPortStatsEntry.Builder setInAlarm(Set<OFCalientOcsAlarm> inAlarm) {
        this.inAlarm = inAlarm;
        this.inAlarmSet = true;
        return this;
    }
    @Override
    public String getInportPower() {
        return inportPower;
    }

    @Override
    public OFCalientPortStatsEntry.Builder setInportPower(String inportPower) {
        this.inportPower = inportPower;
        this.inportPowerSet = true;
        return this;
    }
    @Override
    public String getOutportPower() {
        return outportPower;
    }

    @Override
    public OFCalientPortStatsEntry.Builder setOutportPower(String outportPower) {
        this.outportPower = outportPower;
        this.outportPowerSet = true;
        return this;
    }
    @Override
    public Set<OFCalientOpticalPortAdminState> getOutAdminStatus() {
        return outAdminStatus;
    }

    @Override
    public OFCalientPortStatsEntry.Builder setOutAdminStatus(Set<OFCalientOpticalPortAdminState> outAdminStatus) {
        this.outAdminStatus = outAdminStatus;
        this.outAdminStatusSet = true;
        return this;
    }
    @Override
    public Set<OFCalientOpticalPortOperState> getOutOperStatus() {
        return outOperStatus;
    }

    @Override
    public OFCalientPortStatsEntry.Builder setOutOperStatus(Set<OFCalientOpticalPortOperState> outOperStatus) {
        this.outOperStatus = outOperStatus;
        this.outOperStatusSet = true;
        return this;
    }
    @Override
    public Set<OFCalientOpticalPortOperCapability> getOutOperCapability() {
        return outOperCapability;
    }

    @Override
    public OFCalientPortStatsEntry.Builder setOutOperCapability(Set<OFCalientOpticalPortOperCapability> outOperCapability) {
        this.outOperCapability = outOperCapability;
        this.outOperCapabilitySet = true;
        return this;
    }
    @Override
    public Set<OFCalientOcsAlarm> getOutAlarm() {
        return outAlarm;
    }

    @Override
    public OFCalientPortStatsEntry.Builder setOutAlarm(Set<OFCalientOcsAlarm> outAlarm) {
        this.outAlarm = outAlarm;
        this.outAlarmSet = true;
        return this;
    }
    @Override
    public String getInCircuitId() {
        return inCircuitId;
    }

    @Override
    public OFCalientPortStatsEntry.Builder setInCircuitId(String inCircuitId) {
        this.inCircuitId = inCircuitId;
        this.inCircuitIdSet = true;
        return this;
    }
    @Override
    public String getOutCircuitId() {
        return outCircuitId;
    }

    @Override
    public OFCalientPortStatsEntry.Builder setOutCircuitId(String outCircuitId) {
        this.outCircuitId = outCircuitId;
        this.outCircuitIdSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFCalientPortStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java270
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java544
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowAdd.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowAdd.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowAdd.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.ADD;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowAdd.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowAdd.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowAdd.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowAdd.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowAdd.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowAdd.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowAdd.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowAdd.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowAdd.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        if (!this.instructionsSet)
            return parentMessage.getActions();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java266
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java540
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowDeleteStrict.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowDeleteStrict.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowDeleteStrict.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowDeleteStrict.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.DELETE_STRICT;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowDeleteStrict.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowDeleteStrict.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowDeleteStrict.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowDeleteStrict.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowDeleteStrict.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowDeleteStrict.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowDeleteStrict.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowDeleteStrict.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowDeleteStrict.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        if (!this.instructionsSet)
            return parentMessage.getActions();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java265
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java539
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowDelete.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowDelete.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowDelete.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.DELETE;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowDelete.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowDelete.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowDelete.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowDelete.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowDelete.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowDelete.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowDelete.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowDelete.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowDelete.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        if (!this.instructionsSet)
            return parentMessage.getActions();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java266
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java540
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModifyStrict.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowModifyStrict.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowModifyStrict.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModifyStrict.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.MODIFY_STRICT;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowModifyStrict.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowModifyStrict.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowModifyStrict.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowModifyStrict.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowModifyStrict.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowModifyStrict.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowModifyStrict.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowModifyStrict.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowModifyStrict.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        if (!this.instructionsSet)
            return parentMessage.getActions();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java264
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java538
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModify.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowModify.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowModify.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModify.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.MODIFY;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowModify.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowModify.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowModify.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowModify.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowModify.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowModify.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowModify.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowModify.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowModify.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        if (!this.instructionsSet)
            return parentMessage.getActions();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java226
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java462
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2bL;
    }

    @Override
    public short getConvergenceStatus() {
        return convergenceStatus;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setConvergenceStatus(short convergenceStatus) {
        this.convergenceStatus = convergenceStatus;
        this.convergenceStatusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorSysPriority(int actorSysPriority) {
        this.actorSysPriority = actorSysPriority;
        this.actorSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorSysMac(MacAddress actorSysMac) {
        this.actorSysMac = actorSysMac;
        this.actorSysMacSet = true;
        return this;
    }
    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorPortPriority(int actorPortPriority) {
        this.actorPortPriority = actorPortPriority;
        this.actorPortPrioritySet = true;
        return this;
    }
    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorPortNum(int actorPortNum) {
        this.actorPortNum = actorPortNum;
        this.actorPortNumSet = true;
        return this;
    }
    @Override
    public int getActorKey() {
        return actorKey;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorKey(int actorKey) {
        this.actorKey = actorKey;
        this.actorKeySet = true;
        return this;
    }
    @Override
    public int getPartnerSysPriority() {
        return partnerSysPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerSysPriority(int partnerSysPriority) {
        this.partnerSysPriority = partnerSysPriority;
        this.partnerSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getPartnerSysMac() {
        return partnerSysMac;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerSysMac(MacAddress partnerSysMac) {
        this.partnerSysMac = partnerSysMac;
        this.partnerSysMacSet = true;
        return this;
    }
    @Override
    public int getPartnerPortPriority() {
        return partnerPortPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerPortPriority(int partnerPortPriority) {
        this.partnerPortPriority = partnerPortPriority;
        this.partnerPortPrioritySet = true;
        return this;
    }
    @Override
    public int getPartnerPortNum() {
        return partnerPortNum;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerPortNum(int partnerPortNum) {
        this.partnerPortNum = partnerPortNum;
        this.partnerPortNumSet = true;
        return this;
    }
    @Override
    public int getPartnerKey() {
        return partnerKey;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerKey(int partnerKey) {
        this.partnerKey = partnerKey;
        this.partnerKeySet = true;
        return this;
    }


        @Override
        public OFBsnLacpConvergenceNotif build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java226
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java462
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2bL;
    }

    @Override
    public short getConvergenceStatus() {
        return convergenceStatus;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setConvergenceStatus(short convergenceStatus) {
        this.convergenceStatus = convergenceStatus;
        this.convergenceStatusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorSysPriority(int actorSysPriority) {
        this.actorSysPriority = actorSysPriority;
        this.actorSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorSysMac(MacAddress actorSysMac) {
        this.actorSysMac = actorSysMac;
        this.actorSysMacSet = true;
        return this;
    }
    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorPortPriority(int actorPortPriority) {
        this.actorPortPriority = actorPortPriority;
        this.actorPortPrioritySet = true;
        return this;
    }
    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorPortNum(int actorPortNum) {
        this.actorPortNum = actorPortNum;
        this.actorPortNumSet = true;
        return this;
    }
    @Override
    public int getActorKey() {
        return actorKey;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorKey(int actorKey) {
        this.actorKey = actorKey;
        this.actorKeySet = true;
        return this;
    }
    @Override
    public int getPartnerSysPriority() {
        return partnerSysPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerSysPriority(int partnerSysPriority) {
        this.partnerSysPriority = partnerSysPriority;
        this.partnerSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getPartnerSysMac() {
        return partnerSysMac;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerSysMac(MacAddress partnerSysMac) {
        this.partnerSysMac = partnerSysMac;
        this.partnerSysMacSet = true;
        return this;
    }
    @Override
    public int getPartnerPortPriority() {
        return partnerPortPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerPortPriority(int partnerPortPriority) {
        this.partnerPortPriority = partnerPortPriority;
        this.partnerPortPrioritySet = true;
        return this;
    }
    @Override
    public int getPartnerPortNum() {
        return partnerPortNum;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerPortNum(int partnerPortNum) {
        this.partnerPortNum = partnerPortNum;
        this.partnerPortNumSet = true;
        return this;
    }
    @Override
    public int getPartnerKey() {
        return partnerKey;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerKey(int partnerKey) {
        this.partnerKey = partnerKey;
        this.partnerKeySet = true;
        return this;
    }


        @Override
        public OFBsnLacpConvergenceNotif build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsRequestVer11.java187
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java187
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java187
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java187
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAggregateStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFAggregateStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFAggregateStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFAggregateStatsRequest.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFAggregateStatsRequest.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFAggregateStatsRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFAggregateStatsRequest.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFAggregateStatsRequest.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFAggregateStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                OFPort outPort = this.outPortSet ? this.outPort : parentMessage.outPort;
                if(outPort == null)
                    throw new NullPointerException("Property outPort must not be null");
                OFGroup outGroup = this.outGroupSet ? this.outGroup : parentMessage.outGroup;
                if(outGroup == null)
                    throw new NullPointerException("Property outGroup must not be null");
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                U64 cookieMask = this.cookieMaskSet ? this.cookieMask : parentMessage.cookieMask;
                if(cookieMask == null)
                    throw new NullPointerException("Property cookieMask must not be null");
                Match match = this.matchSet ? this.match : parentMessage.match;
                if(match == null)
                    throw new NullPointerException("Property match must not be null");

                //
                return new OFAggregateStatsRequestVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsRequestVer11.java187
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java187
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java187
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java187
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.FLOW;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowStatsRequest.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowStatsRequest.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowStatsRequest.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsRequest.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFFlowStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                OFPort outPort = this.outPortSet ? this.outPort : parentMessage.outPort;
                if(outPort == null)
                    throw new NullPointerException("Property outPort must not be null");
                OFGroup outGroup = this.outGroupSet ? this.outGroup : parentMessage.outGroup;
                if(outGroup == null)
                    throw new NullPointerException("Property outGroup must not be null");
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                U64 cookieMask = this.cookieMaskSet ? this.cookieMask : parentMessage.cookieMask;
                if(cookieMask == null)
                    throw new NullPointerException("Property cookieMask must not be null");
                Match match = this.matchSet ? this.match : parentMessage.match;
                if(match == null)
                    throw new NullPointerException("Property match must not be null");

                //
                return new OFFlowStatsRequestVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java255
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java516
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java255
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java516
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java260
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java527
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowAdd.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowAdd.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowAdd.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.ADD;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowAdd.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowAdd.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowAdd.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowAdd.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowAdd.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowAdd.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowAdd.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowAdd.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowAdd.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java255
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java516
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java255
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java516
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java260
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java527
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowDeleteStrict.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowDeleteStrict.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowDeleteStrict.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowDeleteStrict.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.DELETE_STRICT;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowDeleteStrict.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowDeleteStrict.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowDeleteStrict.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowDeleteStrict.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowDeleteStrict.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowDeleteStrict.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowDeleteStrict.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowDeleteStrict.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowDeleteStrict.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java255
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java516
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java255
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java516
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java260
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java527
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowDelete.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowDelete.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowDelete.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.DELETE;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowDelete.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowDelete.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowDelete.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowDelete.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowDelete.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowDelete.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowDelete.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowDelete.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowDelete.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java255
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java516
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java255
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java516
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java260
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java527
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModifyStrict.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowModifyStrict.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowModifyStrict.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModifyStrict.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.MODIFY_STRICT;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowModifyStrict.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowModifyStrict.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowModifyStrict.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowModifyStrict.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowModifyStrict.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowModifyStrict.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowModifyStrict.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowModifyStrict.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowModifyStrict.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java255
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java516
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java255
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java516
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java260
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java527
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModify.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowModify.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowModify.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModify.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.MODIFY;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowModify.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowModify.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowModify.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowModify.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowModify.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowModify.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowModify.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowModify.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowModify.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java229
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java465
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2bL;
    }

    @Override
    public short getConvergenceStatus() {
        return convergenceStatus;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setConvergenceStatus(short convergenceStatus) {
        this.convergenceStatus = convergenceStatus;
        this.convergenceStatusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorSysPriority(int actorSysPriority) {
        this.actorSysPriority = actorSysPriority;
        this.actorSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorSysMac(MacAddress actorSysMac) {
        this.actorSysMac = actorSysMac;
        this.actorSysMacSet = true;
        return this;
    }
    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorPortPriority(int actorPortPriority) {
        this.actorPortPriority = actorPortPriority;
        this.actorPortPrioritySet = true;
        return this;
    }
    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorPortNum(int actorPortNum) {
        this.actorPortNum = actorPortNum;
        this.actorPortNumSet = true;
        return this;
    }
    @Override
    public int getActorKey() {
        return actorKey;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorKey(int actorKey) {
        this.actorKey = actorKey;
        this.actorKeySet = true;
        return this;
    }
    @Override
    public int getPartnerSysPriority() {
        return partnerSysPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerSysPriority(int partnerSysPriority) {
        this.partnerSysPriority = partnerSysPriority;
        this.partnerSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getPartnerSysMac() {
        return partnerSysMac;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerSysMac(MacAddress partnerSysMac) {
        this.partnerSysMac = partnerSysMac;
        this.partnerSysMacSet = true;
        return this;
    }
    @Override
    public int getPartnerPortPriority() {
        return partnerPortPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerPortPriority(int partnerPortPriority) {
        this.partnerPortPriority = partnerPortPriority;
        this.partnerPortPrioritySet = true;
        return this;
    }
    @Override
    public int getPartnerPortNum() {
        return partnerPortNum;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerPortNum(int partnerPortNum) {
        this.partnerPortNum = partnerPortNum;
        this.partnerPortNumSet = true;
        return this;
    }
    @Override
    public int getPartnerKey() {
        return partnerKey;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerKey(int partnerKey) {
        this.partnerKey = partnerKey;
        this.partnerKeySet = true;
        return this;
    }


        @Override
        public OFBsnLacpConvergenceNotif build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java465
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java229
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2bL;
    }

    @Override
    public short getConvergenceStatus() {
        return convergenceStatus;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setConvergenceStatus(short convergenceStatus) {
        this.convergenceStatus = convergenceStatus;
        this.convergenceStatusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorSysPriority(int actorSysPriority) {
        this.actorSysPriority = actorSysPriority;
        this.actorSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorSysMac(MacAddress actorSysMac) {
        this.actorSysMac = actorSysMac;
        this.actorSysMacSet = true;
        return this;
    }
    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorPortPriority(int actorPortPriority) {
        this.actorPortPriority = actorPortPriority;
        this.actorPortPrioritySet = true;
        return this;
    }
    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorPortNum(int actorPortNum) {
        this.actorPortNum = actorPortNum;
        this.actorPortNumSet = true;
        return this;
    }
    @Override
    public int getActorKey() {
        return actorKey;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setActorKey(int actorKey) {
        this.actorKey = actorKey;
        this.actorKeySet = true;
        return this;
    }
    @Override
    public int getPartnerSysPriority() {
        return partnerSysPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerSysPriority(int partnerSysPriority) {
        this.partnerSysPriority = partnerSysPriority;
        this.partnerSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getPartnerSysMac() {
        return partnerSysMac;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerSysMac(MacAddress partnerSysMac) {
        this.partnerSysMac = partnerSysMac;
        this.partnerSysMacSet = true;
        return this;
    }
    @Override
    public int getPartnerPortPriority() {
        return partnerPortPriority;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerPortPriority(int partnerPortPriority) {
        this.partnerPortPriority = partnerPortPriority;
        this.partnerPortPrioritySet = true;
        return this;
    }
    @Override
    public int getPartnerPortNum() {
        return partnerPortNum;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerPortNum(int partnerPortNum) {
        this.partnerPortNum = partnerPortNum;
        this.partnerPortNumSet = true;
        return this;
    }
    @Override
    public int getPartnerKey() {
        return partnerKey;
    }

    @Override
    public OFBsnLacpConvergenceNotif.Builder setPartnerKey(int partnerKey) {
        this.partnerKey = partnerKey;
        this.partnerKeySet = true;
        return this;
    }
//
        @Override
        public OFBsnLacpConvergenceNotif build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java399
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java399
                return new OFFlowStatsEntryVer11(
                    tableId,
                    durationSec,
                    durationNsec,
                    priority,
                    idleTimeout,
                    hardTimeout,
                    cookie,
                    packetCount,
                    byteCount,
                    match,
                    instructions
                );
        }

    }

    static class Builder implements OFFlowStatsEntry.Builder {
        // OF message fields
        private boolean tableIdSet;
        private TableId tableId;
        private boolean durationSecSet;
        private long durationSec;
        private boolean durationNsecSet;
        private long durationNsec;
        private boolean prioritySet;
        private int priority;
        private boolean idleTimeoutSet;
        private int idleTimeout;
        private boolean hardTimeoutSet;
        private int hardTimeout;
        private boolean cookieSet;
        private U64 cookie;
        private boolean packetCountSet;
        private U64 packetCount;
        private boolean byteCountSet;
        private U64 byteCount;
        private boolean matchSet;
        private Match match;
        private boolean instructionsSet;
        private List<OFInstruction> instructions;

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowStatsEntry.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsEntry.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsEntry.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowStatsEntry.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java255
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java516
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java255
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java516
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java273
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java547
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java260
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java527
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowAdd.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowAdd.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowAdd.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.ADD;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowAdd.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowAdd.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowAdd.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowAdd.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowAdd.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowAdd.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowAdd.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowAdd.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowAdd.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java255
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java516
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java255
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java516
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java269
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java543
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java260
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java527
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowDeleteStrict.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowDeleteStrict.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowDeleteStrict.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowDeleteStrict.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.DELETE_STRICT;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowDeleteStrict.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowDeleteStrict.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowDeleteStrict.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowDeleteStrict.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowDeleteStrict.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowDeleteStrict.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowDeleteStrict.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowDeleteStrict.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowDeleteStrict.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java255
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java516
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java255
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java516
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java268
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java542
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java260
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java527
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowDelete.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowDelete.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowDelete.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.DELETE;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowDelete.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowDelete.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowDelete.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowDelete.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowDelete.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowDelete.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowDelete.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowDelete.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowDelete.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java255
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java516
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java255
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java516
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java269
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java543
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java260
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java527
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModifyStrict.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowModifyStrict.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowModifyStrict.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModifyStrict.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.MODIFY_STRICT;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowModifyStrict.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowModifyStrict.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowModifyStrict.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowModifyStrict.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowModifyStrict.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowModifyStrict.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowModifyStrict.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowModifyStrict.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowModifyStrict.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java255
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java516
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java255
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java516
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java267
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java541
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java260
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java527
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModify.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowModify.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowModify.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModify.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.MODIFY;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowModify.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowModify.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowModify.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowModify.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowModify.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowModify.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowModify.Builder setFlags(Set<OFFlowModFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowModify.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowModify.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFPortDescVer14.java193
org/projectfloodlight/openflow/protocol/ver14/OFPortDescVer14.java369
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortDesc.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortDesc.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFPortDesc.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public Set<OFPortConfig> getConfig() {
        return config;
    }

    @Override
    public OFPortDesc.Builder setConfig(Set<OFPortConfig> config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public Set<OFPortState> getState() {
        return state;
    }

    @Override
    public OFPortDesc.Builder setState(Set<OFPortState> state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getCurr()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property curr not supported in version 1.4");
    }

    @Override
    public OFPortDesc.Builder setCurr(Set<OFPortFeatures> curr) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property curr not supported in version 1.4");
    }
    @Override
    public Set<OFPortFeatures> getAdvertised()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property advertised not supported in version 1.4");
    }

    @Override
    public OFPortDesc.Builder setAdvertised(Set<OFPortFeatures> advertised) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property advertised not supported in version 1.4");
    }
    @Override
    public Set<OFPortFeatures> getSupported()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property supported not supported in version 1.4");
    }

    @Override
    public OFPortDesc.Builder setSupported(Set<OFPortFeatures> supported) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property supported not supported in version 1.4");
    }
    @Override
    public Set<OFPortFeatures> getPeer()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property peer not supported in version 1.4");
    }

    @Override
    public OFPortDesc.Builder setPeer(Set<OFPortFeatures> peer) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property peer not supported in version 1.4");
    }
    @Override
    public long getCurrSpeed()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property currSpeed not supported in version 1.4");
    }

    @Override
    public OFPortDesc.Builder setCurrSpeed(long currSpeed) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property currSpeed not supported in version 1.4");
    }
    @Override
    public long getMaxSpeed()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property maxSpeed not supported in version 1.4");
    }

    @Override
    public OFPortDesc.Builder setMaxSpeed(long maxSpeed) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property maxSpeed not supported in version 1.4");
    }
    @Override
    public List<OFPortDescProp> getProperties() {
        return properties;
    }

    @Override
    public OFPortDesc.Builder setProperties(List<OFPortDescProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFPortDesc build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsRequestVer11.java351
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java351
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java351
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java351
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAggregateStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFAggregateStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFAggregateStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFAggregateStatsRequest.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFAggregateStatsRequest.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFAggregateStatsRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFAggregateStatsRequest.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFAggregateStatsRequest.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
//
        @Override
        public OFAggregateStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            OFPort outPort = this.outPortSet ? this.outPort : DEFAULT_OUT_PORT;
            if(outPort == null)
                throw new NullPointerException("Property outPort must not be null");
            OFGroup outGroup = this.outGroupSet ? this.outGroup : DEFAULT_OUT_GROUP;
            if(outGroup == null)
                throw new NullPointerException("Property outGroup must not be null");
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            U64 cookieMask = this.cookieMaskSet ? this.cookieMask : DEFAULT_COOKIE_MASK;
            if(cookieMask == null)
                throw new NullPointerException("Property cookieMask must not be null");
            Match match = this.matchSet ? this.match : DEFAULT_MATCH;
            if(match == null)
                throw new NullPointerException("Property match must not be null");


            return new OFAggregateStatsRequestVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsRequestVer11.java351
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java351
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java351
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java351
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.FLOW;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowStatsRequest.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowStatsRequest.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowStatsRequest.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsRequest.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
//
        @Override
        public OFFlowStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            OFPort outPort = this.outPortSet ? this.outPort : DEFAULT_OUT_PORT;
            if(outPort == null)
                throw new NullPointerException("Property outPort must not be null");
            OFGroup outGroup = this.outGroupSet ? this.outGroup : DEFAULT_OUT_GROUP;
            if(outGroup == null)
                throw new NullPointerException("Property outGroup must not be null");
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            U64 cookieMask = this.cookieMaskSet ? this.cookieMask : DEFAULT_COOKIE_MASK;
            if(cookieMask == null)
                throw new NullPointerException("Property cookieMask must not be null");
            Match match = this.matchSet ? this.match : DEFAULT_MATCH;
            if(match == null)
                throw new NullPointerException("Property match must not be null");


            return new OFFlowStatsRequestVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java216
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java416
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortDesc.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortDesc.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFPortDesc.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public Set<OFPortConfig> getConfig() {
        return config;
    }

    @Override
    public OFPortDesc.Builder setConfig(Set<OFPortConfig> config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public Set<OFPortState> getState() {
        return state;
    }

    @Override
    public OFPortDesc.Builder setState(Set<OFPortState> state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getCurr() {
        return curr;
    }

    @Override
    public OFPortDesc.Builder setCurr(Set<OFPortFeatures> curr) {
        this.curr = curr;
        this.currSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getAdvertised() {
        return advertised;
    }

    @Override
    public OFPortDesc.Builder setAdvertised(Set<OFPortFeatures> advertised) {
        this.advertised = advertised;
        this.advertisedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getSupported() {
        return supported;
    }

    @Override
    public OFPortDesc.Builder setSupported(Set<OFPortFeatures> supported) {
        this.supported = supported;
        this.supportedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getPeer() {
        return peer;
    }

    @Override
    public OFPortDesc.Builder setPeer(Set<OFPortFeatures> peer) {
        this.peer = peer;
        this.peerSet = true;
        return this;
    }
    @Override
    public long getCurrSpeed()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property currSpeed not supported in version 1.0");
    }

    @Override
    public OFPortDesc.Builder setCurrSpeed(long currSpeed) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property currSpeed not supported in version 1.0");
    }
    @Override
    public long getMaxSpeed()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property maxSpeed not supported in version 1.0");
    }

    @Override
    public OFPortDesc.Builder setMaxSpeed(long maxSpeed) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property maxSpeed not supported in version 1.0");
    }
    @Override
    public List<OFPortDescProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.0");
    }

    @Override
    public OFPortDesc.Builder setProperties(List<OFPortDescProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.0");
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }



        @Override
        public OFPortDesc build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java226
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java438
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortDesc.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortDesc.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFPortDesc.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public Set<OFPortConfig> getConfig() {
        return config;
    }

    @Override
    public OFPortDesc.Builder setConfig(Set<OFPortConfig> config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public Set<OFPortState> getState() {
        return state;
    }

    @Override
    public OFPortDesc.Builder setState(Set<OFPortState> state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getCurr() {
        return curr;
    }

    @Override
    public OFPortDesc.Builder setCurr(Set<OFPortFeatures> curr) {
        this.curr = curr;
        this.currSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getAdvertised() {
        return advertised;
    }

    @Override
    public OFPortDesc.Builder setAdvertised(Set<OFPortFeatures> advertised) {
        this.advertised = advertised;
        this.advertisedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getSupported() {
        return supported;
    }

    @Override
    public OFPortDesc.Builder setSupported(Set<OFPortFeatures> supported) {
        this.supported = supported;
        this.supportedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getPeer() {
        return peer;
    }

    @Override
    public OFPortDesc.Builder setPeer(Set<OFPortFeatures> peer) {
        this.peer = peer;
        this.peerSet = true;
        return this;
    }
    @Override
    public long getCurrSpeed() {
        return currSpeed;
    }

    @Override
    public OFPortDesc.Builder setCurrSpeed(long currSpeed) {
        this.currSpeed = currSpeed;
        this.currSpeedSet = true;
        return this;
    }
    @Override
    public long getMaxSpeed() {
        return maxSpeed;
    }

    @Override
    public OFPortDesc.Builder setMaxSpeed(long maxSpeed) {
        this.maxSpeed = maxSpeed;
        this.maxSpeedSet = true;
        return this;
    }
    @Override
    public List<OFPortDescProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.1");
    }

    @Override
    public OFPortDesc.Builder setProperties(List<OFPortDescProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.1");
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }



        @Override
        public OFPortDesc build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java226
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java438
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortDesc.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortDesc.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFPortDesc.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public Set<OFPortConfig> getConfig() {
        return config;
    }

    @Override
    public OFPortDesc.Builder setConfig(Set<OFPortConfig> config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public Set<OFPortState> getState() {
        return state;
    }

    @Override
    public OFPortDesc.Builder setState(Set<OFPortState> state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getCurr() {
        return curr;
    }

    @Override
    public OFPortDesc.Builder setCurr(Set<OFPortFeatures> curr) {
        this.curr = curr;
        this.currSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getAdvertised() {
        return advertised;
    }

    @Override
    public OFPortDesc.Builder setAdvertised(Set<OFPortFeatures> advertised) {
        this.advertised = advertised;
        this.advertisedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getSupported() {
        return supported;
    }

    @Override
    public OFPortDesc.Builder setSupported(Set<OFPortFeatures> supported) {
        this.supported = supported;
        this.supportedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getPeer() {
        return peer;
    }

    @Override
    public OFPortDesc.Builder setPeer(Set<OFPortFeatures> peer) {
        this.peer = peer;
        this.peerSet = true;
        return this;
    }
    @Override
    public long getCurrSpeed() {
        return currSpeed;
    }

    @Override
    public OFPortDesc.Builder setCurrSpeed(long currSpeed) {
        this.currSpeed = currSpeed;
        this.currSpeedSet = true;
        return this;
    }
    @Override
    public long getMaxSpeed() {
        return maxSpeed;
    }

    @Override
    public OFPortDesc.Builder setMaxSpeed(long maxSpeed) {
        this.maxSpeed = maxSpeed;
        this.maxSpeedSet = true;
        return this;
    }
    @Override
    public List<OFPortDescProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.2");
    }

    @Override
    public OFPortDesc.Builder setProperties(List<OFPortDescProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.2");
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFPortDesc build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java226
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java438
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortDesc.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortDesc.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFPortDesc.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public Set<OFPortConfig> getConfig() {
        return config;
    }

    @Override
    public OFPortDesc.Builder setConfig(Set<OFPortConfig> config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public Set<OFPortState> getState() {
        return state;
    }

    @Override
    public OFPortDesc.Builder setState(Set<OFPortState> state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getCurr() {
        return curr;
    }

    @Override
    public OFPortDesc.Builder setCurr(Set<OFPortFeatures> curr) {
        this.curr = curr;
        this.currSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getAdvertised() {
        return advertised;
    }

    @Override
    public OFPortDesc.Builder setAdvertised(Set<OFPortFeatures> advertised) {
        this.advertised = advertised;
        this.advertisedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getSupported() {
        return supported;
    }

    @Override
    public OFPortDesc.Builder setSupported(Set<OFPortFeatures> supported) {
        this.supported = supported;
        this.supportedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getPeer() {
        return peer;
    }

    @Override
    public OFPortDesc.Builder setPeer(Set<OFPortFeatures> peer) {
        this.peer = peer;
        this.peerSet = true;
        return this;
    }
    @Override
    public long getCurrSpeed() {
        return currSpeed;
    }

    @Override
    public OFPortDesc.Builder setCurrSpeed(long currSpeed) {
        this.currSpeed = currSpeed;
        this.currSpeedSet = true;
        return this;
    }
    @Override
    public long getMaxSpeed() {
        return maxSpeed;
    }

    @Override
    public OFPortDesc.Builder setMaxSpeed(long maxSpeed) {
        this.maxSpeed = maxSpeed;
        this.maxSpeedSet = true;
        return this;
    }
    @Override
    public List<OFPortDescProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.3");
    }

    @Override
    public OFPortDesc.Builder setProperties(List<OFPortDescProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.3");
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFPortDesc build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java660
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java1451
    @Override
    public int getWildcards() {
        return wildcards;
    }

    @Override
    public OFMatchV1.Builder setWildcards(int wildcards) {
        this.wildcards = wildcards;
        this.wildcardsSet = true;
        return this;
    }
    @Override
    public OFPort getInPort() {
        return inPort;
    }

    @Override
    public OFMatchV1.Builder setInPort(OFPort inPort) {
        this.inPort = inPort;
        this.inPortSet = true;
        return this;
    }
    @Override
    public MacAddress getEthSrc() {
        return ethSrc;
    }

    @Override
    public OFMatchV1.Builder setEthSrc(MacAddress ethSrc) {
        this.ethSrc = ethSrc;
        this.ethSrcSet = true;
        return this;
    }
    @Override
    public MacAddress getEthDst() {
        return ethDst;
    }

    @Override
    public OFMatchV1.Builder setEthDst(MacAddress ethDst) {
        this.ethDst = ethDst;
        this.ethDstSet = true;
        return this;
    }
    @Override
    public OFVlanVidMatch getVlanVid() {
        return vlanVid;
    }

    @Override
    public OFMatchV1.Builder setVlanVid(OFVlanVidMatch vlanVid) {
        this.vlanVid = vlanVid;
        this.vlanVidSet = true;
        return this;
    }
    @Override
    public VlanPcp getVlanPcp() {
        return vlanPcp;
    }

    @Override
    public OFMatchV1.Builder setVlanPcp(VlanPcp vlanPcp) {
        this.vlanPcp = vlanPcp;
        this.vlanPcpSet = true;
        return this;
    }
    @Override
    public EthType getEthType() {
        return ethType;
    }

    @Override
    public OFMatchV1.Builder setEthType(EthType ethType) {
        this.ethType = ethType;
        this.ethTypeSet = true;
        return this;
    }
    @Override
    public IpDscp getIpDscp() {
        return ipDscp;
    }

    @Override
    public OFMatchV1.Builder setIpDscp(IpDscp ipDscp) {
        this.ipDscp = ipDscp;
        this.ipDscpSet = true;
        return this;
    }
    @Override
    public IpProtocol getIpProto() {
        return ipProto;
    }

    @Override
    public OFMatchV1.Builder setIpProto(IpProtocol ipProto) {
        this.ipProto = ipProto;
        this.ipProtoSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Src() {
        return ipv4Src;
    }

    @Override
    public OFMatchV1.Builder setIpv4Src(IPv4Address ipv4Src) {
        this.ipv4Src = ipv4Src;
        this.ipv4SrcSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Dst() {
        return ipv4Dst;
    }

    @Override
    public OFMatchV1.Builder setIpv4Dst(IPv4Address ipv4Dst) {
        this.ipv4Dst = ipv4Dst;
        this.ipv4DstSet = true;
        return this;
    }
    @Override
    public TransportPort getTcpSrc() {
        return tcpSrc;
    }

    @Override
    public OFMatchV1.Builder setTcpSrc(TransportPort tcpSrc) {
        this.tcpSrc = tcpSrc;
        this.tcpSrcSet = true;
        return this;
    }
    @Override
    public TransportPort getTcpDst() {
        return tcpDst;
    }

    @Override
    public OFMatchV1.Builder setTcpDst(TransportPort tcpDst) {
        this.tcpDst = tcpDst;
        this.tcpDstSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }



        @Override
        public OFMatchV1 build() {
                int wildcards = this.wildcardsSet ? this.wildcards : parentMessage.wildcards;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsReplyVer12.java206
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsReplyVer12.java418
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_FEATURES;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getTypes() {
        return types;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setTypes(long types) {
        this.types = types;
        this.typesSet = true;
        return this;
    }
    @Override
    public long getCapabilities() {
        return capabilities;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setCapabilities(long capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsAll() {
        return maxGroupsAll;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsAll(long maxGroupsAll) {
        this.maxGroupsAll = maxGroupsAll;
        this.maxGroupsAllSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsSelect() {
        return maxGroupsSelect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsSelect(long maxGroupsSelect) {
        this.maxGroupsSelect = maxGroupsSelect;
        this.maxGroupsSelectSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsIndirect() {
        return maxGroupsIndirect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsIndirect(long maxGroupsIndirect) {
        this.maxGroupsIndirect = maxGroupsIndirect;
        this.maxGroupsIndirectSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsFf() {
        return maxGroupsFf;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsFf(long maxGroupsFf) {
        this.maxGroupsFf = maxGroupsFf;
        this.maxGroupsFfSet = true;
        return this;
    }
    @Override
    public long getActionsAll() {
        return actionsAll;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsAll(long actionsAll) {
        this.actionsAll = actionsAll;
        this.actionsAllSet = true;
        return this;
    }
    @Override
    public long getActionsSelect() {
        return actionsSelect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsSelect(long actionsSelect) {
        this.actionsSelect = actionsSelect;
        this.actionsSelectSet = true;
        return this;
    }
    @Override
    public long getActionsIndirect() {
        return actionsIndirect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsIndirect(long actionsIndirect) {
        this.actionsIndirect = actionsIndirect;
        this.actionsIndirectSet = true;
        return this;
    }
    @Override
    public long getActionsFf() {
        return actionsFf;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsFf(long actionsFf) {
        this.actionsFf = actionsFf;
        this.actionsFfSet = true;
        return this;
    }


        @Override
        public OFGroupFeaturesStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsReplyVer13.java206
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsReplyVer13.java418
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_FEATURES;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getTypes() {
        return types;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setTypes(long types) {
        this.types = types;
        this.typesSet = true;
        return this;
    }
    @Override
    public long getCapabilities() {
        return capabilities;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setCapabilities(long capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsAll() {
        return maxGroupsAll;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsAll(long maxGroupsAll) {
        this.maxGroupsAll = maxGroupsAll;
        this.maxGroupsAllSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsSelect() {
        return maxGroupsSelect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsSelect(long maxGroupsSelect) {
        this.maxGroupsSelect = maxGroupsSelect;
        this.maxGroupsSelectSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsIndirect() {
        return maxGroupsIndirect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsIndirect(long maxGroupsIndirect) {
        this.maxGroupsIndirect = maxGroupsIndirect;
        this.maxGroupsIndirectSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsFf() {
        return maxGroupsFf;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsFf(long maxGroupsFf) {
        this.maxGroupsFf = maxGroupsFf;
        this.maxGroupsFfSet = true;
        return this;
    }
    @Override
    public long getActionsAll() {
        return actionsAll;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsAll(long actionsAll) {
        this.actionsAll = actionsAll;
        this.actionsAllSet = true;
        return this;
    }
    @Override
    public long getActionsSelect() {
        return actionsSelect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsSelect(long actionsSelect) {
        this.actionsSelect = actionsSelect;
        this.actionsSelectSet = true;
        return this;
    }
    @Override
    public long getActionsIndirect() {
        return actionsIndirect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsIndirect(long actionsIndirect) {
        this.actionsIndirect = actionsIndirect;
        this.actionsIndirectSet = true;
        return this;
    }
    @Override
    public long getActionsFf() {
        return actionsFf;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsFf(long actionsFf) {
        this.actionsFf = actionsFf;
        this.actionsFfSet = true;
        return this;
    }


        @Override
        public OFGroupFeaturesStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsReplyVer14.java206
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsReplyVer14.java418
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_FEATURES;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getTypes() {
        return types;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setTypes(long types) {
        this.types = types;
        this.typesSet = true;
        return this;
    }
    @Override
    public long getCapabilities() {
        return capabilities;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setCapabilities(long capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsAll() {
        return maxGroupsAll;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsAll(long maxGroupsAll) {
        this.maxGroupsAll = maxGroupsAll;
        this.maxGroupsAllSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsSelect() {
        return maxGroupsSelect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsSelect(long maxGroupsSelect) {
        this.maxGroupsSelect = maxGroupsSelect;
        this.maxGroupsSelectSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsIndirect() {
        return maxGroupsIndirect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsIndirect(long maxGroupsIndirect) {
        this.maxGroupsIndirect = maxGroupsIndirect;
        this.maxGroupsIndirectSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsFf() {
        return maxGroupsFf;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsFf(long maxGroupsFf) {
        this.maxGroupsFf = maxGroupsFf;
        this.maxGroupsFfSet = true;
        return this;
    }
    @Override
    public long getActionsAll() {
        return actionsAll;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsAll(long actionsAll) {
        this.actionsAll = actionsAll;
        this.actionsAllSet = true;
        return this;
    }
    @Override
    public long getActionsSelect() {
        return actionsSelect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsSelect(long actionsSelect) {
        this.actionsSelect = actionsSelect;
        this.actionsSelectSet = true;
        return this;
    }
    @Override
    public long getActionsIndirect() {
        return actionsIndirect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsIndirect(long actionsIndirect) {
        this.actionsIndirect = actionsIndirect;
        this.actionsIndirectSet = true;
        return this;
    }
    @Override
    public long getActionsFf() {
        return actionsFf;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsFf(long actionsFf) {
        this.actionsFf = actionsFf;
        this.actionsFfSet = true;
        return this;
    }


        @Override
        public OFGroupFeaturesStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java253
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java253
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java253
        BuilderWithParent(OFPortStatsEntryVer10 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public U64 getRxPackets() {
        return rxPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setRxPackets(U64 rxPackets) {
        this.rxPackets = rxPackets;
        this.rxPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getRxBytes() {
        return rxBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setRxBytes(U64 rxBytes) {
        this.rxBytes = rxBytes;
        this.rxBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getRxDropped() {
        return rxDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setRxDropped(U64 rxDropped) {
        this.rxDropped = rxDropped;
        this.rxDroppedSet = true;
        return this;
    }
    @Override
    public U64 getTxDropped() {
        return txDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setTxDropped(U64 txDropped) {
        this.txDropped = txDropped;
        this.txDroppedSet = true;
        return this;
    }
    @Override
    public U64 getRxErrors() {
        return rxErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setRxErrors(U64 rxErrors) {
        this.rxErrors = rxErrors;
        this.rxErrorsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public U64 getRxFrameErr() {
        return rxFrameErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxFrameErr(U64 rxFrameErr) {
        this.rxFrameErr = rxFrameErr;
        this.rxFrameErrSet = true;
        return this;
    }
    @Override
    public U64 getRxOverErr() {
        return rxOverErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxOverErr(U64 rxOverErr) {
        this.rxOverErr = rxOverErr;
        this.rxOverErrSet = true;
        return this;
    }
    @Override
    public U64 getRxCrcErr() {
        return rxCrcErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxCrcErr(U64 rxCrcErr) {
        this.rxCrcErr = rxCrcErr;
        this.rxCrcErrSet = true;
        return this;
    }
    @Override
    public U64 getCollisions() {
        return collisions;
    }

    @Override
    public OFPortStatsEntry.Builder setCollisions(U64 collisions) {
        this.collisions = collisions;
        this.collisionsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.0");
FileLine
net/onrc/openvirtex/messages/ver10/OVXFlowAddVer10.java177
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteStrictVer10.java132
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteVer10.java132
net/onrc/openvirtex/messages/ver10/OVXFlowModifyStrictVer10.java132
net/onrc/openvirtex/messages/ver10/OVXFlowModifyVer10.java132
net/onrc/openvirtex/messages/ver10/OVXPacketOutVer10.java162
        for (OFAction act : this.getActions()) {
            try {
            	if(act.getType().equals(OFActionType.SET_NW_DST))
                	act=OVXFactoryInst.myOVXFactory.buildOVXActionDataLayerDestination(((OFActionSetDlDst)act).getDlAddr());
                else if(act.getType().equals(OFActionType.SET_NW_SRC))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionDataLayerSource(((OFActionSetDlSrc)act).getDlAddr());
                else if(act.getType().equals(OFActionType.ENQUEUE))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionEnqueue(((OFActionEnqueue)act).getPort(),((OFActionEnqueue)act).getQueueId());
                else if(act.getType().equals(OFActionType.SET_NW_DST))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionNetworkLayerDestination(((OFActionSetNwDst)act).getNwAddr());
                else if(act.getType().equals(OFActionType.SET_NW_SRC))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionNetworkLayerSource(((OFActionSetNwSrc)act).getNwAddr());
                else if(act.getType().equals(OFActionType.SET_NW_TOS))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionNetworkTypeOfService(((OFActionSetNwTos)act).getNwTos());
                else if(act.getType().equals(OFActionType.OUTPUT))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionOutput(((OFActionOutput)act).getPort(),((OFActionOutput)act).getMaxLen());
                else if(act.getType().equals(OFActionType.STRIP_VLAN))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionStripVirtualLan();
                else if(act.getType().equals(OFActionType.SET_TP_DST))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionTransportLayerDestination(((OFActionSetTpDst)act).getTpPort());
                else if(act.getType().equals(OFActionType.SET_TP_SRC))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionTransportLayerSource(((OFActionSetTpSrc)act).getTpPort());
                else if(act.getType().equals(OFActionType.SET_VLAN_VID))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionVirtualLanIdentifier(((OFActionSetVlanVid)act).getVlanVid());
                else if(act.getType().equals(OFActionType.SET_VLAN_PCP))
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionVirtualLanPriorityCodePoint(((OFActionSetVlanPcp)act).getVlanPcp());
                //System.out.println("Match before virtualize: "+ ovxMatch.toString());
                ((VirtualizableAction) act).virtualize(sw,
                        this.approvedActions, ovxMatch);
            } catch (final ActionVirtualizationDenied e) {
                this.log.warn("Action {} could not be virtualized; error: {}",
                        act, e.getMessage());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportL2GreVer10.java222
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportL2GreVer10.java443
    @Override
    public int getType() {
        return 0x1;
    }

    @Override
    public Set<OFBsnVportL2GreFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVportL2Gre.Builder setFlags(Set<OFBsnVportL2GreFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnVportL2Gre.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public OFPort getLoopbackPortNo() {
        return loopbackPortNo;
    }

    @Override
    public OFBsnVportL2Gre.Builder setLoopbackPortNo(OFPort loopbackPortNo) {
        this.loopbackPortNo = loopbackPortNo;
        this.loopbackPortNoSet = true;
        return this;
    }
    @Override
    public MacAddress getLocalMac() {
        return localMac;
    }

    @Override
    public OFBsnVportL2Gre.Builder setLocalMac(MacAddress localMac) {
        this.localMac = localMac;
        this.localMacSet = true;
        return this;
    }
    @Override
    public MacAddress getNhMac() {
        return nhMac;
    }

    @Override
    public OFBsnVportL2Gre.Builder setNhMac(MacAddress nhMac) {
        this.nhMac = nhMac;
        this.nhMacSet = true;
        return this;
    }
    @Override
    public IPv4Address getSrcIp() {
        return srcIp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setSrcIp(IPv4Address srcIp) {
        this.srcIp = srcIp;
        this.srcIpSet = true;
        return this;
    }
    @Override
    public IPv4Address getDstIp() {
        return dstIp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setDstIp(IPv4Address dstIp) {
        this.dstIp = dstIp;
        this.dstIpSet = true;
        return this;
    }
    @Override
    public short getDscp() {
        return dscp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setDscp(short dscp) {
        this.dscp = dscp;
        this.dscpSet = true;
        return this;
    }
    @Override
    public short getTtl() {
        return ttl;
    }

    @Override
    public OFBsnVportL2Gre.Builder setTtl(short ttl) {
        this.ttl = ttl;
        this.ttlSet = true;
        return this;
    }
    @Override
    public long getVpn() {
        return vpn;
    }

    @Override
    public OFBsnVportL2Gre.Builder setVpn(long vpn) {
        this.vpn = vpn;
        this.vpnSet = true;
        return this;
    }
    @Override
    public long getRateLimit() {
        return rateLimit;
    }

    @Override
    public OFBsnVportL2Gre.Builder setRateLimit(long rateLimit) {
        this.rateLimit = rateLimit;
        this.rateLimitSet = true;
        return this;
    }
    @Override
    public String getIfName() {
        return ifName;
    }

    @Override
    public OFBsnVportL2Gre.Builder setIfName(String ifName) {
        this.ifName = ifName;
        this.ifNameSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }



        @Override
        public OFBsnVportL2Gre build() {
                Set<OFBsnVportL2GreFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java253
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java253
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java253
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java263
        BuilderWithParent(OFPortStatsEntryVer10 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public U64 getRxPackets() {
        return rxPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setRxPackets(U64 rxPackets) {
        this.rxPackets = rxPackets;
        this.rxPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getRxBytes() {
        return rxBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setRxBytes(U64 rxBytes) {
        this.rxBytes = rxBytes;
        this.rxBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getRxDropped() {
        return rxDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setRxDropped(U64 rxDropped) {
        this.rxDropped = rxDropped;
        this.rxDroppedSet = true;
        return this;
    }
    @Override
    public U64 getTxDropped() {
        return txDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setTxDropped(U64 txDropped) {
        this.txDropped = txDropped;
        this.txDroppedSet = true;
        return this;
    }
    @Override
    public U64 getRxErrors() {
        return rxErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setRxErrors(U64 rxErrors) {
        this.rxErrors = rxErrors;
        this.rxErrorsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public U64 getRxFrameErr() {
        return rxFrameErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxFrameErr(U64 rxFrameErr) {
        this.rxFrameErr = rxFrameErr;
        this.rxFrameErrSet = true;
        return this;
    }
    @Override
    public U64 getRxOverErr() {
        return rxOverErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxOverErr(U64 rxOverErr) {
        this.rxOverErr = rxOverErr;
        this.rxOverErrSet = true;
        return this;
    }
    @Override
    public U64 getRxCrcErr() {
        return rxCrcErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxCrcErr(U64 rxCrcErr) {
        this.rxCrcErr = rxCrcErr;
        this.rxCrcErrSet = true;
        return this;
    }
    @Override
    public U64 getCollisions() {
        return collisions;
    }

    @Override
    public OFPortStatsEntry.Builder setCollisions(U64 collisions) {
        this.collisions = collisions;
        this.collisionsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreVer11.java222
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreVer11.java443
    @Override
    public int getType() {
        return 0x1;
    }

    @Override
    public Set<OFBsnVportL2GreFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVportL2Gre.Builder setFlags(Set<OFBsnVportL2GreFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnVportL2Gre.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public OFPort getLoopbackPortNo() {
        return loopbackPortNo;
    }

    @Override
    public OFBsnVportL2Gre.Builder setLoopbackPortNo(OFPort loopbackPortNo) {
        this.loopbackPortNo = loopbackPortNo;
        this.loopbackPortNoSet = true;
        return this;
    }
    @Override
    public MacAddress getLocalMac() {
        return localMac;
    }

    @Override
    public OFBsnVportL2Gre.Builder setLocalMac(MacAddress localMac) {
        this.localMac = localMac;
        this.localMacSet = true;
        return this;
    }
    @Override
    public MacAddress getNhMac() {
        return nhMac;
    }

    @Override
    public OFBsnVportL2Gre.Builder setNhMac(MacAddress nhMac) {
        this.nhMac = nhMac;
        this.nhMacSet = true;
        return this;
    }
    @Override
    public IPv4Address getSrcIp() {
        return srcIp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setSrcIp(IPv4Address srcIp) {
        this.srcIp = srcIp;
        this.srcIpSet = true;
        return this;
    }
    @Override
    public IPv4Address getDstIp() {
        return dstIp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setDstIp(IPv4Address dstIp) {
        this.dstIp = dstIp;
        this.dstIpSet = true;
        return this;
    }
    @Override
    public short getDscp() {
        return dscp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setDscp(short dscp) {
        this.dscp = dscp;
        this.dscpSet = true;
        return this;
    }
    @Override
    public short getTtl() {
        return ttl;
    }

    @Override
    public OFBsnVportL2Gre.Builder setTtl(short ttl) {
        this.ttl = ttl;
        this.ttlSet = true;
        return this;
    }
    @Override
    public long getVpn() {
        return vpn;
    }

    @Override
    public OFBsnVportL2Gre.Builder setVpn(long vpn) {
        this.vpn = vpn;
        this.vpnSet = true;
        return this;
    }
    @Override
    public long getRateLimit() {
        return rateLimit;
    }

    @Override
    public OFBsnVportL2Gre.Builder setRateLimit(long rateLimit) {
        this.rateLimit = rateLimit;
        this.rateLimitSet = true;
        return this;
    }
    @Override
    public String getIfName() {
        return ifName;
    }

    @Override
    public OFBsnVportL2Gre.Builder setIfName(String ifName) {
        this.ifName = ifName;
        this.ifNameSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }



        @Override
        public OFBsnVportL2Gre build() {
                Set<OFBsnVportL2GreFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreVer12.java222
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreVer12.java443
    @Override
    public int getType() {
        return 0x1;
    }

    @Override
    public Set<OFBsnVportL2GreFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVportL2Gre.Builder setFlags(Set<OFBsnVportL2GreFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnVportL2Gre.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public OFPort getLoopbackPortNo() {
        return loopbackPortNo;
    }

    @Override
    public OFBsnVportL2Gre.Builder setLoopbackPortNo(OFPort loopbackPortNo) {
        this.loopbackPortNo = loopbackPortNo;
        this.loopbackPortNoSet = true;
        return this;
    }
    @Override
    public MacAddress getLocalMac() {
        return localMac;
    }

    @Override
    public OFBsnVportL2Gre.Builder setLocalMac(MacAddress localMac) {
        this.localMac = localMac;
        this.localMacSet = true;
        return this;
    }
    @Override
    public MacAddress getNhMac() {
        return nhMac;
    }

    @Override
    public OFBsnVportL2Gre.Builder setNhMac(MacAddress nhMac) {
        this.nhMac = nhMac;
        this.nhMacSet = true;
        return this;
    }
    @Override
    public IPv4Address getSrcIp() {
        return srcIp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setSrcIp(IPv4Address srcIp) {
        this.srcIp = srcIp;
        this.srcIpSet = true;
        return this;
    }
    @Override
    public IPv4Address getDstIp() {
        return dstIp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setDstIp(IPv4Address dstIp) {
        this.dstIp = dstIp;
        this.dstIpSet = true;
        return this;
    }
    @Override
    public short getDscp() {
        return dscp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setDscp(short dscp) {
        this.dscp = dscp;
        this.dscpSet = true;
        return this;
    }
    @Override
    public short getTtl() {
        return ttl;
    }

    @Override
    public OFBsnVportL2Gre.Builder setTtl(short ttl) {
        this.ttl = ttl;
        this.ttlSet = true;
        return this;
    }
    @Override
    public long getVpn() {
        return vpn;
    }

    @Override
    public OFBsnVportL2Gre.Builder setVpn(long vpn) {
        this.vpn = vpn;
        this.vpnSet = true;
        return this;
    }
    @Override
    public long getRateLimit() {
        return rateLimit;
    }

    @Override
    public OFBsnVportL2Gre.Builder setRateLimit(long rateLimit) {
        this.rateLimit = rateLimit;
        this.rateLimitSet = true;
        return this;
    }
    @Override
    public String getIfName() {
        return ifName;
    }

    @Override
    public OFBsnVportL2Gre.Builder setIfName(String ifName) {
        this.ifName = ifName;
        this.ifNameSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFBsnVportL2Gre build() {
                Set<OFBsnVportL2GreFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsReplyVer12.java209
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsReplyVer13.java421
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsReplyVer14.java421
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_FEATURES;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getTypes() {
        return types;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setTypes(long types) {
        this.types = types;
        this.typesSet = true;
        return this;
    }
    @Override
    public long getCapabilities() {
        return capabilities;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setCapabilities(long capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsAll() {
        return maxGroupsAll;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsAll(long maxGroupsAll) {
        this.maxGroupsAll = maxGroupsAll;
        this.maxGroupsAllSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsSelect() {
        return maxGroupsSelect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsSelect(long maxGroupsSelect) {
        this.maxGroupsSelect = maxGroupsSelect;
        this.maxGroupsSelectSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsIndirect() {
        return maxGroupsIndirect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsIndirect(long maxGroupsIndirect) {
        this.maxGroupsIndirect = maxGroupsIndirect;
        this.maxGroupsIndirectSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsFf() {
        return maxGroupsFf;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsFf(long maxGroupsFf) {
        this.maxGroupsFf = maxGroupsFf;
        this.maxGroupsFfSet = true;
        return this;
    }
    @Override
    public long getActionsAll() {
        return actionsAll;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsAll(long actionsAll) {
        this.actionsAll = actionsAll;
        this.actionsAllSet = true;
        return this;
    }
    @Override
    public long getActionsSelect() {
        return actionsSelect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsSelect(long actionsSelect) {
        this.actionsSelect = actionsSelect;
        this.actionsSelectSet = true;
        return this;
    }
    @Override
    public long getActionsIndirect() {
        return actionsIndirect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsIndirect(long actionsIndirect) {
        this.actionsIndirect = actionsIndirect;
        this.actionsIndirectSet = true;
        return this;
    }
    @Override
    public long getActionsFf() {
        return actionsFf;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsFf(long actionsFf) {
        this.actionsFf = actionsFf;
        this.actionsFfSet = true;
        return this;
    }


        @Override
        public OFGroupFeaturesStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsReplyVer12.java421
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsReplyVer13.java209
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsReplyVer14.java209
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_FEATURES;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getTypes() {
        return types;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setTypes(long types) {
        this.types = types;
        this.typesSet = true;
        return this;
    }
    @Override
    public long getCapabilities() {
        return capabilities;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setCapabilities(long capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsAll() {
        return maxGroupsAll;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsAll(long maxGroupsAll) {
        this.maxGroupsAll = maxGroupsAll;
        this.maxGroupsAllSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsSelect() {
        return maxGroupsSelect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsSelect(long maxGroupsSelect) {
        this.maxGroupsSelect = maxGroupsSelect;
        this.maxGroupsSelectSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsIndirect() {
        return maxGroupsIndirect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsIndirect(long maxGroupsIndirect) {
        this.maxGroupsIndirect = maxGroupsIndirect;
        this.maxGroupsIndirectSet = true;
        return this;
    }
    @Override
    public long getMaxGroupsFf() {
        return maxGroupsFf;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setMaxGroupsFf(long maxGroupsFf) {
        this.maxGroupsFf = maxGroupsFf;
        this.maxGroupsFfSet = true;
        return this;
    }
    @Override
    public long getActionsAll() {
        return actionsAll;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsAll(long actionsAll) {
        this.actionsAll = actionsAll;
        this.actionsAllSet = true;
        return this;
    }
    @Override
    public long getActionsSelect() {
        return actionsSelect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsSelect(long actionsSelect) {
        this.actionsSelect = actionsSelect;
        this.actionsSelectSet = true;
        return this;
    }
    @Override
    public long getActionsIndirect() {
        return actionsIndirect;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsIndirect(long actionsIndirect) {
        this.actionsIndirect = actionsIndirect;
        this.actionsIndirectSet = true;
        return this;
    }
    @Override
    public long getActionsFf() {
        return actionsFf;
    }

    @Override
    public OFGroupFeaturesStatsReply.Builder setActionsFf(long actionsFf) {
        this.actionsFf = actionsFf;
        this.actionsFfSet = true;
        return this;
    }
//
        @Override
        public OFGroupFeaturesStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreVer13.java222
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreVer13.java443
    @Override
    public int getType() {
        return 0x1;
    }

    @Override
    public Set<OFBsnVportL2GreFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVportL2Gre.Builder setFlags(Set<OFBsnVportL2GreFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnVportL2Gre.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public OFPort getLoopbackPortNo() {
        return loopbackPortNo;
    }

    @Override
    public OFBsnVportL2Gre.Builder setLoopbackPortNo(OFPort loopbackPortNo) {
        this.loopbackPortNo = loopbackPortNo;
        this.loopbackPortNoSet = true;
        return this;
    }
    @Override
    public MacAddress getLocalMac() {
        return localMac;
    }

    @Override
    public OFBsnVportL2Gre.Builder setLocalMac(MacAddress localMac) {
        this.localMac = localMac;
        this.localMacSet = true;
        return this;
    }
    @Override
    public MacAddress getNhMac() {
        return nhMac;
    }

    @Override
    public OFBsnVportL2Gre.Builder setNhMac(MacAddress nhMac) {
        this.nhMac = nhMac;
        this.nhMacSet = true;
        return this;
    }
    @Override
    public IPv4Address getSrcIp() {
        return srcIp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setSrcIp(IPv4Address srcIp) {
        this.srcIp = srcIp;
        this.srcIpSet = true;
        return this;
    }
    @Override
    public IPv4Address getDstIp() {
        return dstIp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setDstIp(IPv4Address dstIp) {
        this.dstIp = dstIp;
        this.dstIpSet = true;
        return this;
    }
    @Override
    public short getDscp() {
        return dscp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setDscp(short dscp) {
        this.dscp = dscp;
        this.dscpSet = true;
        return this;
    }
    @Override
    public short getTtl() {
        return ttl;
    }

    @Override
    public OFBsnVportL2Gre.Builder setTtl(short ttl) {
        this.ttl = ttl;
        this.ttlSet = true;
        return this;
    }
    @Override
    public long getVpn() {
        return vpn;
    }

    @Override
    public OFBsnVportL2Gre.Builder setVpn(long vpn) {
        this.vpn = vpn;
        this.vpnSet = true;
        return this;
    }
    @Override
    public long getRateLimit() {
        return rateLimit;
    }

    @Override
    public OFBsnVportL2Gre.Builder setRateLimit(long rateLimit) {
        this.rateLimit = rateLimit;
        this.rateLimitSet = true;
        return this;
    }
    @Override
    public String getIfName() {
        return ifName;
    }

    @Override
    public OFBsnVportL2Gre.Builder setIfName(String ifName) {
        this.ifName = ifName;
        this.ifNameSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFBsnVportL2Gre build() {
                Set<OFBsnVportL2GreFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreVer14.java222
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreVer14.java443
    @Override
    public int getType() {
        return 0x1;
    }

    @Override
    public Set<OFBsnVportL2GreFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVportL2Gre.Builder setFlags(Set<OFBsnVportL2GreFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnVportL2Gre.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public OFPort getLoopbackPortNo() {
        return loopbackPortNo;
    }

    @Override
    public OFBsnVportL2Gre.Builder setLoopbackPortNo(OFPort loopbackPortNo) {
        this.loopbackPortNo = loopbackPortNo;
        this.loopbackPortNoSet = true;
        return this;
    }
    @Override
    public MacAddress getLocalMac() {
        return localMac;
    }

    @Override
    public OFBsnVportL2Gre.Builder setLocalMac(MacAddress localMac) {
        this.localMac = localMac;
        this.localMacSet = true;
        return this;
    }
    @Override
    public MacAddress getNhMac() {
        return nhMac;
    }

    @Override
    public OFBsnVportL2Gre.Builder setNhMac(MacAddress nhMac) {
        this.nhMac = nhMac;
        this.nhMacSet = true;
        return this;
    }
    @Override
    public IPv4Address getSrcIp() {
        return srcIp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setSrcIp(IPv4Address srcIp) {
        this.srcIp = srcIp;
        this.srcIpSet = true;
        return this;
    }
    @Override
    public IPv4Address getDstIp() {
        return dstIp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setDstIp(IPv4Address dstIp) {
        this.dstIp = dstIp;
        this.dstIpSet = true;
        return this;
    }
    @Override
    public short getDscp() {
        return dscp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setDscp(short dscp) {
        this.dscp = dscp;
        this.dscpSet = true;
        return this;
    }
    @Override
    public short getTtl() {
        return ttl;
    }

    @Override
    public OFBsnVportL2Gre.Builder setTtl(short ttl) {
        this.ttl = ttl;
        this.ttlSet = true;
        return this;
    }
    @Override
    public long getVpn() {
        return vpn;
    }

    @Override
    public OFBsnVportL2Gre.Builder setVpn(long vpn) {
        this.vpn = vpn;
        this.vpnSet = true;
        return this;
    }
    @Override
    public long getRateLimit() {
        return rateLimit;
    }

    @Override
    public OFBsnVportL2Gre.Builder setRateLimit(long rateLimit) {
        this.rateLimit = rateLimit;
        this.rateLimitSet = true;
        return this;
    }
    @Override
    public String getIfName() {
        return ifName;
    }

    @Override
    public OFBsnVportL2Gre.Builder setIfName(String ifName) {
        this.ifName = ifName;
        this.ifNameSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFBsnVportL2Gre build() {
                Set<OFBsnVportL2GreFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java257
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java525
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java525
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public U64 getRxPackets() {
        return rxPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setRxPackets(U64 rxPackets) {
        this.rxPackets = rxPackets;
        this.rxPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getRxBytes() {
        return rxBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setRxBytes(U64 rxBytes) {
        this.rxBytes = rxBytes;
        this.rxBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getRxDropped() {
        return rxDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setRxDropped(U64 rxDropped) {
        this.rxDropped = rxDropped;
        this.rxDroppedSet = true;
        return this;
    }
    @Override
    public U64 getTxDropped() {
        return txDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setTxDropped(U64 txDropped) {
        this.txDropped = txDropped;
        this.txDroppedSet = true;
        return this;
    }
    @Override
    public U64 getRxErrors() {
        return rxErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setRxErrors(U64 rxErrors) {
        this.rxErrors = rxErrors;
        this.rxErrorsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public U64 getRxFrameErr() {
        return rxFrameErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxFrameErr(U64 rxFrameErr) {
        this.rxFrameErr = rxFrameErr;
        this.rxFrameErrSet = true;
        return this;
    }
    @Override
    public U64 getRxOverErr() {
        return rxOverErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxOverErr(U64 rxOverErr) {
        this.rxOverErr = rxOverErr;
        this.rxOverErrSet = true;
        return this;
    }
    @Override
    public U64 getRxCrcErr() {
        return rxCrcErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxCrcErr(U64 rxCrcErr) {
        this.rxCrcErr = rxCrcErr;
        this.rxCrcErrSet = true;
        return this;
    }
    @Override
    public U64 getCollisions() {
        return collisions;
    }

    @Override
    public OFPortStatsEntry.Builder setCollisions(U64 collisions) {
        this.collisions = collisions;
        this.collisionsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.0");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java525
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java257
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java257
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public U64 getRxPackets() {
        return rxPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setRxPackets(U64 rxPackets) {
        this.rxPackets = rxPackets;
        this.rxPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getRxBytes() {
        return rxBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setRxBytes(U64 rxBytes) {
        this.rxBytes = rxBytes;
        this.rxBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getRxDropped() {
        return rxDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setRxDropped(U64 rxDropped) {
        this.rxDropped = rxDropped;
        this.rxDroppedSet = true;
        return this;
    }
    @Override
    public U64 getTxDropped() {
        return txDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setTxDropped(U64 txDropped) {
        this.txDropped = txDropped;
        this.txDroppedSet = true;
        return this;
    }
    @Override
    public U64 getRxErrors() {
        return rxErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setRxErrors(U64 rxErrors) {
        this.rxErrors = rxErrors;
        this.rxErrorsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public U64 getRxFrameErr() {
        return rxFrameErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxFrameErr(U64 rxFrameErr) {
        this.rxFrameErr = rxFrameErr;
        this.rxFrameErrSet = true;
        return this;
    }
    @Override
    public U64 getRxOverErr() {
        return rxOverErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxOverErr(U64 rxOverErr) {
        this.rxOverErr = rxOverErr;
        this.rxOverErrSet = true;
        return this;
    }
    @Override
    public U64 getRxCrcErr() {
        return rxCrcErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxCrcErr(U64 rxCrcErr) {
        this.rxCrcErr = rxCrcErr;
        this.rxCrcErrSet = true;
        return this;
    }
    @Override
    public U64 getCollisions() {
        return collisions;
    }

    @Override
    public OFPortStatsEntry.Builder setCollisions(U64 collisions) {
        this.collisions = collisions;
        this.collisionsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.0");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowRemovedVer10.java199
org/projectfloodlight/openflow/protocol/ver10/OFFlowRemovedVer10.java400
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_REMOVED;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowRemoved.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowRemoved.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowRemoved.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public short getReason() {
        return reason;
    }

    @Override
    public OFFlowRemoved.Builder setReason(short reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public TableId getTableId()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property tableId not supported in version 1.0");
    }

    @Override
    public OFFlowRemoved.Builder setTableId(TableId tableId) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property tableId not supported in version 1.0");
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowRemoved.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property hardTimeout not supported in version 1.0");
    }

    @Override
    public OFFlowRemoved.Builder setHardTimeout(int hardTimeout) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property hardTimeout not supported in version 1.0");
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowRemoved.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowRemoved.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowRemoved.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFFlowRemoved build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java207
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java416
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_REMOVED;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowRemoved.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowRemoved.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowRemoved.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public short getReason() {
        return reason;
    }

    @Override
    public OFFlowRemoved.Builder setReason(short reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowRemoved.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowRemoved.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property hardTimeout not supported in version 1.1");
    }

    @Override
    public OFFlowRemoved.Builder setHardTimeout(int hardTimeout) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property hardTimeout not supported in version 1.1");
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowRemoved.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowRemoved.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowRemoved.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFFlowRemoved build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java212
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java427
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_REMOVED;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowRemoved.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowRemoved.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowRemoved.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public short getReason() {
        return reason;
    }

    @Override
    public OFFlowRemoved.Builder setReason(short reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowRemoved.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowRemoved.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowRemoved.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowRemoved.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowRemoved.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowRemoved.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFFlowRemoved build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java212
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java427
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_REMOVED;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowRemoved.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowRemoved.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowRemoved.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public short getReason() {
        return reason;
    }

    @Override
    public OFFlowRemoved.Builder setReason(short reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowRemoved.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowRemoved.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowRemoved.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowRemoved.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowRemoved.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowRemoved.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFFlowRemoved build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java212
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java427
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_REMOVED;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowRemoved.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowRemoved.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowRemoved.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public short getReason() {
        return reason;
    }

    @Override
    public OFFlowRemoved.Builder setReason(short reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowRemoved.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowRemoved.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowRemoved.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowRemoved.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowRemoved.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowRemoved.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFFlowRemoved build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java257
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java257
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java257
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java547
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public U64 getRxPackets() {
        return rxPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setRxPackets(U64 rxPackets) {
        this.rxPackets = rxPackets;
        this.rxPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getRxBytes() {
        return rxBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setRxBytes(U64 rxBytes) {
        this.rxBytes = rxBytes;
        this.rxBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getRxDropped() {
        return rxDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setRxDropped(U64 rxDropped) {
        this.rxDropped = rxDropped;
        this.rxDroppedSet = true;
        return this;
    }
    @Override
    public U64 getTxDropped() {
        return txDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setTxDropped(U64 txDropped) {
        this.txDropped = txDropped;
        this.txDroppedSet = true;
        return this;
    }
    @Override
    public U64 getRxErrors() {
        return rxErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setRxErrors(U64 rxErrors) {
        this.rxErrors = rxErrors;
        this.rxErrorsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public U64 getRxFrameErr() {
        return rxFrameErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxFrameErr(U64 rxFrameErr) {
        this.rxFrameErr = rxFrameErr;
        this.rxFrameErrSet = true;
        return this;
    }
    @Override
    public U64 getRxOverErr() {
        return rxOverErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxOverErr(U64 rxOverErr) {
        this.rxOverErr = rxOverErr;
        this.rxOverErrSet = true;
        return this;
    }
    @Override
    public U64 getRxCrcErr() {
        return rxCrcErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxCrcErr(U64 rxCrcErr) {
        this.rxCrcErr = rxCrcErr;
        this.rxCrcErrSet = true;
        return this;
    }
    @Override
    public U64 getCollisions() {
        return collisions;
    }

    @Override
    public OFPortStatsEntry.Builder setCollisions(U64 collisions) {
        this.collisions = collisions;
        this.collisionsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java525
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java525
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java525
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java267
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public U64 getRxPackets() {
        return rxPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setRxPackets(U64 rxPackets) {
        this.rxPackets = rxPackets;
        this.rxPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getRxBytes() {
        return rxBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setRxBytes(U64 rxBytes) {
        this.rxBytes = rxBytes;
        this.rxBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getRxDropped() {
        return rxDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setRxDropped(U64 rxDropped) {
        this.rxDropped = rxDropped;
        this.rxDroppedSet = true;
        return this;
    }
    @Override
    public U64 getTxDropped() {
        return txDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setTxDropped(U64 txDropped) {
        this.txDropped = txDropped;
        this.txDroppedSet = true;
        return this;
    }
    @Override
    public U64 getRxErrors() {
        return rxErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setRxErrors(U64 rxErrors) {
        this.rxErrors = rxErrors;
        this.rxErrorsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public U64 getRxFrameErr() {
        return rxFrameErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxFrameErr(U64 rxFrameErr) {
        this.rxFrameErr = rxFrameErr;
        this.rxFrameErrSet = true;
        return this;
    }
    @Override
    public U64 getRxOverErr() {
        return rxOverErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxOverErr(U64 rxOverErr) {
        this.rxOverErr = rxOverErr;
        this.rxOverErrSet = true;
        return this;
    }
    @Override
    public U64 getRxCrcErr() {
        return rxCrcErr;
    }

    @Override
    public OFPortStatsEntry.Builder setRxCrcErr(U64 rxCrcErr) {
        this.rxCrcErr = rxCrcErr;
        this.rxCrcErrSet = true;
        return this;
    }
    @Override
    public U64 getCollisions() {
        return collisions;
    }

    @Override
    public OFPortStatsEntry.Builder setCollisions(U64 collisions) {
        this.collisions = collisions;
        this.collisionsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnTcpFlagSerializerVer12.java34
org/projectfloodlight/openflow/protocol/ver13/OFBsnTcpFlagSerializerVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFBsnTcpFlagSerializerVer14.java34
public class OFBsnTcpFlagSerializerVer12 {

    public final static short BSN_TCP_FLAG_FIN_VAL = (short) 0x1;
    public final static short BSN_TCP_FLAG_SYN_VAL = (short) 0x2;
    public final static short BSN_TCP_FLAG_RST_VAL = (short) 0x4;
    public final static short BSN_TCP_FLAG_PSH_VAL = (short) 0x8;
    public final static short BSN_TCP_FLAG_ACK_VAL = (short) 0x10;
    public final static short BSN_TCP_FLAG_URG_VAL = (short) 0x20;
    public final static short BSN_TCP_FLAG_ECE_VAL = (short) 0x40;
    public final static short BSN_TCP_FLAG_CWR_VAL = (short) 0x80;
    public final static short BSN_TCP_FLAG_NS_VAL = (short) 0x100;

    public static Set<OFBsnTcpFlag> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFBsnTcpFlag> set) {
        bb.writeShort(toWireValue(set));
    }

    public static void putTo(Set<OFBsnTcpFlag> set, PrimitiveSink sink) {
        sink.putShort(toWireValue(set));
    }


    public static Set<OFBsnTcpFlag> ofWireValue(short val) {
        EnumSet<OFBsnTcpFlag> set = EnumSet.noneOf(OFBsnTcpFlag.class);

        if((val & BSN_TCP_FLAG_FIN_VAL) != 0)
            set.add(OFBsnTcpFlag.BSN_TCP_FLAG_FIN);
        if((val & BSN_TCP_FLAG_SYN_VAL) != 0)
            set.add(OFBsnTcpFlag.BSN_TCP_FLAG_SYN);
        if((val & BSN_TCP_FLAG_RST_VAL) != 0)
            set.add(OFBsnTcpFlag.BSN_TCP_FLAG_RST);
        if((val & BSN_TCP_FLAG_PSH_VAL) != 0)
            set.add(OFBsnTcpFlag.BSN_TCP_FLAG_PSH);
        if((val & BSN_TCP_FLAG_ACK_VAL) != 0)
            set.add(OFBsnTcpFlag.BSN_TCP_FLAG_ACK);
        if((val & BSN_TCP_FLAG_URG_VAL) != 0)
            set.add(OFBsnTcpFlag.BSN_TCP_FLAG_URG);
        if((val & BSN_TCP_FLAG_ECE_VAL) != 0)
            set.add(OFBsnTcpFlag.BSN_TCP_FLAG_ECE);
        if((val & BSN_TCP_FLAG_CWR_VAL) != 0)
            set.add(OFBsnTcpFlag.BSN_TCP_FLAG_CWR);
        if((val & BSN_TCP_FLAG_NS_VAL) != 0)
            set.add(OFBsnTcpFlag.BSN_TCP_FLAG_NS);
        return Collections.unmodifiableSet(set);
    }

    public static short toWireValue(Set<OFBsnTcpFlag> set) {
        short wireValue = 0;

        for(OFBsnTcpFlag e: set) {
            switch(e) {
                case BSN_TCP_FLAG_FIN:
                    wireValue |= BSN_TCP_FLAG_FIN_VAL;
                    break;
                case BSN_TCP_FLAG_SYN:
                    wireValue |= BSN_TCP_FLAG_SYN_VAL;
                    break;
                case BSN_TCP_FLAG_RST:
                    wireValue |= BSN_TCP_FLAG_RST_VAL;
                    break;
                case BSN_TCP_FLAG_PSH:
                    wireValue |= BSN_TCP_FLAG_PSH_VAL;
                    break;
                case BSN_TCP_FLAG_ACK:
                    wireValue |= BSN_TCP_FLAG_ACK_VAL;
                    break;
                case BSN_TCP_FLAG_URG:
                    wireValue |= BSN_TCP_FLAG_URG_VAL;
                    break;
                case BSN_TCP_FLAG_ECE:
                    wireValue |= BSN_TCP_FLAG_ECE_VAL;
                    break;
                case BSN_TCP_FLAG_CWR:
                    wireValue |= BSN_TCP_FLAG_CWR_VAL;
                    break;
                case BSN_TCP_FLAG_NS:
                    wireValue |= BSN_TCP_FLAG_NS_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFBsnTcpFlag in version 1.2: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFIpv6ExthdrFlagsSerializerVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFIpv6ExthdrFlagsSerializerVer14.java34
public class OFIpv6ExthdrFlagsSerializerVer13 {

    public final static short NONEXT_VAL = (short) 0x1;
    public final static short ESP_VAL = (short) 0x2;
    public final static short AUTH_VAL = (short) 0x4;
    public final static short DEST_VAL = (short) 0x8;
    public final static short FRAG_VAL = (short) 0x10;
    public final static short ROUTER_VAL = (short) 0x20;
    public final static short HOP_VAL = (short) 0x40;
    public final static short UNREP_VAL = (short) 0x80;
    public final static short UNSEQ_VAL = (short) 0x100;

    public static Set<OFIpv6ExthdrFlags> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFIpv6ExthdrFlags> set) {
        bb.writeShort(toWireValue(set));
    }

    public static void putTo(Set<OFIpv6ExthdrFlags> set, PrimitiveSink sink) {
        sink.putShort(toWireValue(set));
    }


    public static Set<OFIpv6ExthdrFlags> ofWireValue(short val) {
        EnumSet<OFIpv6ExthdrFlags> set = EnumSet.noneOf(OFIpv6ExthdrFlags.class);

        if((val & NONEXT_VAL) != 0)
            set.add(OFIpv6ExthdrFlags.NONEXT);
        if((val & ESP_VAL) != 0)
            set.add(OFIpv6ExthdrFlags.ESP);
        if((val & AUTH_VAL) != 0)
            set.add(OFIpv6ExthdrFlags.AUTH);
        if((val & DEST_VAL) != 0)
            set.add(OFIpv6ExthdrFlags.DEST);
        if((val & FRAG_VAL) != 0)
            set.add(OFIpv6ExthdrFlags.FRAG);
        if((val & ROUTER_VAL) != 0)
            set.add(OFIpv6ExthdrFlags.ROUTER);
        if((val & HOP_VAL) != 0)
            set.add(OFIpv6ExthdrFlags.HOP);
        if((val & UNREP_VAL) != 0)
            set.add(OFIpv6ExthdrFlags.UNREP);
        if((val & UNSEQ_VAL) != 0)
            set.add(OFIpv6ExthdrFlags.UNSEQ);
        return Collections.unmodifiableSet(set);
    }

    public static short toWireValue(Set<OFIpv6ExthdrFlags> set) {
        short wireValue = 0;

        for(OFIpv6ExthdrFlags e: set) {
            switch(e) {
                case NONEXT:
                    wireValue |= NONEXT_VAL;
                    break;
                case ESP:
                    wireValue |= ESP_VAL;
                    break;
                case AUTH:
                    wireValue |= AUTH_VAL;
                    break;
                case DEST:
                    wireValue |= DEST_VAL;
                    break;
                case FRAG:
                    wireValue |= FRAG_VAL;
                    break;
                case ROUTER:
                    wireValue |= ROUTER_VAL;
                    break;
                case HOP:
                    wireValue |= HOP_VAL;
                    break;
                case UNREP:
                    wireValue |= UNREP_VAL;
                    break;
                case UNSEQ:
                    wireValue |= UNSEQ_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFIpv6ExthdrFlags in version 1.3: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpRequestVer13.java176
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpRequestVer14.java176
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x29L;
    }

    @Override
    public short getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setEnabled(short enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorSysPriority(int actorSysPriority) {
        this.actorSysPriority = actorSysPriority;
        this.actorSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorSysMac(MacAddress actorSysMac) {
        this.actorSysMac = actorSysMac;
        this.actorSysMacSet = true;
        return this;
    }
    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorPortPriority(int actorPortPriority) {
        this.actorPortPriority = actorPortPriority;
        this.actorPortPrioritySet = true;
        return this;
    }
    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorPortNum(int actorPortNum) {
        this.actorPortNum = actorPortNum;
        this.actorPortNumSet = true;
        return this;
    }
    @Override
    public int getActorKey() {
        return actorKey;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorKey(int actorKey) {
        this.actorKey = actorKey;
        this.actorKeySet = true;
        return this;
    }


        @Override
        public OFBsnSetLacpRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                short enabled = this.enabledSet ? this.enabled : parentMessage.enabled;
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                int actorSysPriority = this.actorSysPrioritySet ? this.actorSysPriority : parentMessage.actorSysPriority;
                MacAddress actorSysMac = this.actorSysMacSet ? this.actorSysMac : parentMessage.actorSysMac;
                if(actorSysMac == null)
                    throw new NullPointerException("Property actorSysMac must not be null");
                int actorPortPriority = this.actorPortPrioritySet ? this.actorPortPriority : parentMessage.actorPortPriority;
                int actorPortNum = this.actorPortNumSet ? this.actorPortNum : parentMessage.actorPortNum;
                int actorKey = this.actorKeySet ? this.actorKey : parentMessage.actorKey;

                //
                return new OFBsnSetLacpRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportL2GreVer10.java218
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreVer11.java218
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreVer12.java218
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreVer13.java218
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreVer14.java218
        BuilderWithParent(OFBsnVportL2GreVer10 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public int getType() {
        return 0x1;
    }

    @Override
    public Set<OFBsnVportL2GreFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVportL2Gre.Builder setFlags(Set<OFBsnVportL2GreFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnVportL2Gre.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public OFPort getLoopbackPortNo() {
        return loopbackPortNo;
    }

    @Override
    public OFBsnVportL2Gre.Builder setLoopbackPortNo(OFPort loopbackPortNo) {
        this.loopbackPortNo = loopbackPortNo;
        this.loopbackPortNoSet = true;
        return this;
    }
    @Override
    public MacAddress getLocalMac() {
        return localMac;
    }

    @Override
    public OFBsnVportL2Gre.Builder setLocalMac(MacAddress localMac) {
        this.localMac = localMac;
        this.localMacSet = true;
        return this;
    }
    @Override
    public MacAddress getNhMac() {
        return nhMac;
    }

    @Override
    public OFBsnVportL2Gre.Builder setNhMac(MacAddress nhMac) {
        this.nhMac = nhMac;
        this.nhMacSet = true;
        return this;
    }
    @Override
    public IPv4Address getSrcIp() {
        return srcIp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setSrcIp(IPv4Address srcIp) {
        this.srcIp = srcIp;
        this.srcIpSet = true;
        return this;
    }
    @Override
    public IPv4Address getDstIp() {
        return dstIp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setDstIp(IPv4Address dstIp) {
        this.dstIp = dstIp;
        this.dstIpSet = true;
        return this;
    }
    @Override
    public short getDscp() {
        return dscp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setDscp(short dscp) {
        this.dscp = dscp;
        this.dscpSet = true;
        return this;
    }
    @Override
    public short getTtl() {
        return ttl;
    }

    @Override
    public OFBsnVportL2Gre.Builder setTtl(short ttl) {
        this.ttl = ttl;
        this.ttlSet = true;
        return this;
    }
    @Override
    public long getVpn() {
        return vpn;
    }

    @Override
    public OFBsnVportL2Gre.Builder setVpn(long vpn) {
        this.vpn = vpn;
        this.vpnSet = true;
        return this;
    }
    @Override
    public long getRateLimit() {
        return rateLimit;
    }

    @Override
    public OFBsnVportL2Gre.Builder setRateLimit(long rateLimit) {
        this.rateLimit = rateLimit;
        this.rateLimitSet = true;
        return this;
    }
    @Override
    public String getIfName() {
        return ifName;
    }

    @Override
    public OFBsnVportL2Gre.Builder setIfName(String ifName) {
        this.ifName = ifName;
        this.ifNameSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFDescStatsReplyVer10.java174
org/projectfloodlight/openflow/protocol/ver11/OFDescStatsReplyVer11.java174
org/projectfloodlight/openflow/protocol/ver12/OFDescStatsReplyVer12.java174
org/projectfloodlight/openflow/protocol/ver13/OFDescStatsReplyVer13.java174
org/projectfloodlight/openflow/protocol/ver14/OFDescStatsReplyVer14.java174
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public String getMfrDesc() {
        return mfrDesc;
    }

    @Override
    public OFDescStatsReply.Builder setMfrDesc(String mfrDesc) {
        this.mfrDesc = mfrDesc;
        this.mfrDescSet = true;
        return this;
    }
    @Override
    public String getHwDesc() {
        return hwDesc;
    }

    @Override
    public OFDescStatsReply.Builder setHwDesc(String hwDesc) {
        this.hwDesc = hwDesc;
        this.hwDescSet = true;
        return this;
    }
    @Override
    public String getSwDesc() {
        return swDesc;
    }

    @Override
    public OFDescStatsReply.Builder setSwDesc(String swDesc) {
        this.swDesc = swDesc;
        this.swDescSet = true;
        return this;
    }
    @Override
    public String getSerialNum() {
        return serialNum;
    }

    @Override
    public OFDescStatsReply.Builder setSerialNum(String serialNum) {
        this.serialNum = serialNum;
        this.serialNumSet = true;
        return this;
    }
    @Override
    public String getDpDesc() {
        return dpDesc;
    }

    @Override
    public OFDescStatsReply.Builder setDpDesc(String dpDesc) {
        this.dpDesc = dpDesc;
        this.dpDescSet = true;
        return this;
    }


        @Override
        public OFDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                String mfrDesc = this.mfrDescSet ? this.mfrDesc : parentMessage.mfrDesc;
                if(mfrDesc == null)
                    throw new NullPointerException("Property mfrDesc must not be null");
                String hwDesc = this.hwDescSet ? this.hwDesc : parentMessage.hwDesc;
                if(hwDesc == null)
                    throw new NullPointerException("Property hwDesc must not be null");
                String swDesc = this.swDescSet ? this.swDesc : parentMessage.swDesc;
                if(swDesc == null)
                    throw new NullPointerException("Property swDesc must not be null");
                String serialNum = this.serialNumSet ? this.serialNum : parentMessage.serialNum;
                if(serialNum == null)
                    throw new NullPointerException("Property serialNum must not be null");
                String dpDesc = this.dpDescSet ? this.dpDesc : parentMessage.dpDesc;
                if(dpDesc == null)
                    throw new NullPointerException("Property dpDesc must not be null");

                //
                return new OFDescStatsReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java215
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java430
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java430
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_REMOVED;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowRemoved.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowRemoved.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowRemoved.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public short getReason() {
        return reason;
    }

    @Override
    public OFFlowRemoved.Builder setReason(short reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowRemoved.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowRemoved.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowRemoved.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowRemoved.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowRemoved.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowRemoved.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFFlowRemoved build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java430
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java215
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java215
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_REMOVED;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowRemoved.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowRemoved.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowRemoved.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public short getReason() {
        return reason;
    }

    @Override
    public OFFlowRemoved.Builder setReason(short reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowRemoved.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowRemoved.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowRemoved.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowRemoved.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowRemoved.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowRemoved.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
//
        @Override
        public OFFlowRemoved build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java201
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java407
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorSysPriority(int actorSysPriority) {
        this.actorSysPriority = actorSysPriority;
        this.actorSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorSysMac(MacAddress actorSysMac) {
        this.actorSysMac = actorSysMac;
        this.actorSysMacSet = true;
        return this;
    }
    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorPortPriority(int actorPortPriority) {
        this.actorPortPriority = actorPortPriority;
        this.actorPortPrioritySet = true;
        return this;
    }
    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorPortNum(int actorPortNum) {
        this.actorPortNum = actorPortNum;
        this.actorPortNumSet = true;
        return this;
    }
    @Override
    public int getActorKey() {
        return actorKey;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorKey(int actorKey) {
        this.actorKey = actorKey;
        this.actorKeySet = true;
        return this;
    }
    @Override
    public short getConvergenceStatus() {
        return convergenceStatus;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setConvergenceStatus(short convergenceStatus) {
        this.convergenceStatus = convergenceStatus;
        this.convergenceStatusSet = true;
        return this;
    }
    @Override
    public int getPartnerSysPriority() {
        return partnerSysPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerSysPriority(int partnerSysPriority) {
        this.partnerSysPriority = partnerSysPriority;
        this.partnerSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getPartnerSysMac() {
        return partnerSysMac;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerSysMac(MacAddress partnerSysMac) {
        this.partnerSysMac = partnerSysMac;
        this.partnerSysMacSet = true;
        return this;
    }
    @Override
    public int getPartnerPortPriority() {
        return partnerPortPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerPortPriority(int partnerPortPriority) {
        this.partnerPortPriority = partnerPortPriority;
        this.partnerPortPrioritySet = true;
        return this;
    }
    @Override
    public int getPartnerPortNum() {
        return partnerPortNum;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerPortNum(int partnerPortNum) {
        this.partnerPortNum = partnerPortNum;
        this.partnerPortNumSet = true;
        return this;
    }
    @Override
    public int getPartnerKey() {
        return partnerKey;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerKey(int partnerKey) {
        this.partnerKey = partnerKey;
        this.partnerKeySet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFBsnLacpStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java201
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java407
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorSysPriority(int actorSysPriority) {
        this.actorSysPriority = actorSysPriority;
        this.actorSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorSysMac(MacAddress actorSysMac) {
        this.actorSysMac = actorSysMac;
        this.actorSysMacSet = true;
        return this;
    }
    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorPortPriority(int actorPortPriority) {
        this.actorPortPriority = actorPortPriority;
        this.actorPortPrioritySet = true;
        return this;
    }
    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorPortNum(int actorPortNum) {
        this.actorPortNum = actorPortNum;
        this.actorPortNumSet = true;
        return this;
    }
    @Override
    public int getActorKey() {
        return actorKey;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorKey(int actorKey) {
        this.actorKey = actorKey;
        this.actorKeySet = true;
        return this;
    }
    @Override
    public short getConvergenceStatus() {
        return convergenceStatus;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setConvergenceStatus(short convergenceStatus) {
        this.convergenceStatus = convergenceStatus;
        this.convergenceStatusSet = true;
        return this;
    }
    @Override
    public int getPartnerSysPriority() {
        return partnerSysPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerSysPriority(int partnerSysPriority) {
        this.partnerSysPriority = partnerSysPriority;
        this.partnerSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getPartnerSysMac() {
        return partnerSysMac;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerSysMac(MacAddress partnerSysMac) {
        this.partnerSysMac = partnerSysMac;
        this.partnerSysMacSet = true;
        return this;
    }
    @Override
    public int getPartnerPortPriority() {
        return partnerPortPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerPortPriority(int partnerPortPriority) {
        this.partnerPortPriority = partnerPortPriority;
        this.partnerPortPrioritySet = true;
        return this;
    }
    @Override
    public int getPartnerPortNum() {
        return partnerPortNum;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerPortNum(int partnerPortNum) {
        this.partnerPortNum = partnerPortNum;
        this.partnerPortNumSet = true;
        return this;
    }
    @Override
    public int getPartnerKey() {
        return partnerKey;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerKey(int partnerKey) {
        this.partnerKey = partnerKey;
        this.partnerKeySet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFBsnLacpStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportL2GreVer10.java222
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreVer11.java443
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreVer12.java443
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreVer13.java443
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreVer14.java443
    @Override
    public int getType() {
        return 0x1;
    }

    @Override
    public Set<OFBsnVportL2GreFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVportL2Gre.Builder setFlags(Set<OFBsnVportL2GreFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnVportL2Gre.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public OFPort getLoopbackPortNo() {
        return loopbackPortNo;
    }

    @Override
    public OFBsnVportL2Gre.Builder setLoopbackPortNo(OFPort loopbackPortNo) {
        this.loopbackPortNo = loopbackPortNo;
        this.loopbackPortNoSet = true;
        return this;
    }
    @Override
    public MacAddress getLocalMac() {
        return localMac;
    }

    @Override
    public OFBsnVportL2Gre.Builder setLocalMac(MacAddress localMac) {
        this.localMac = localMac;
        this.localMacSet = true;
        return this;
    }
    @Override
    public MacAddress getNhMac() {
        return nhMac;
    }

    @Override
    public OFBsnVportL2Gre.Builder setNhMac(MacAddress nhMac) {
        this.nhMac = nhMac;
        this.nhMacSet = true;
        return this;
    }
    @Override
    public IPv4Address getSrcIp() {
        return srcIp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setSrcIp(IPv4Address srcIp) {
        this.srcIp = srcIp;
        this.srcIpSet = true;
        return this;
    }
    @Override
    public IPv4Address getDstIp() {
        return dstIp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setDstIp(IPv4Address dstIp) {
        this.dstIp = dstIp;
        this.dstIpSet = true;
        return this;
    }
    @Override
    public short getDscp() {
        return dscp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setDscp(short dscp) {
        this.dscp = dscp;
        this.dscpSet = true;
        return this;
    }
    @Override
    public short getTtl() {
        return ttl;
    }

    @Override
    public OFBsnVportL2Gre.Builder setTtl(short ttl) {
        this.ttl = ttl;
        this.ttlSet = true;
        return this;
    }
    @Override
    public long getVpn() {
        return vpn;
    }

    @Override
    public OFBsnVportL2Gre.Builder setVpn(long vpn) {
        this.vpn = vpn;
        this.vpnSet = true;
        return this;
    }
    @Override
    public long getRateLimit() {
        return rateLimit;
    }

    @Override
    public OFBsnVportL2Gre.Builder setRateLimit(long rateLimit) {
        this.rateLimit = rateLimit;
        this.rateLimitSet = true;
        return this;
    }
    @Override
    public String getIfName() {
        return ifName;
    }

    @Override
    public OFBsnVportL2Gre.Builder setIfName(String ifName) {
        this.ifName = ifName;
        this.ifNameSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportL2GreVer10.java443
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreVer11.java222
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreVer12.java222
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreVer13.java222
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreVer14.java222
    @Override
    public int getType() {
        return 0x1;
    }

    @Override
    public Set<OFBsnVportL2GreFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVportL2Gre.Builder setFlags(Set<OFBsnVportL2GreFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnVportL2Gre.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public OFPort getLoopbackPortNo() {
        return loopbackPortNo;
    }

    @Override
    public OFBsnVportL2Gre.Builder setLoopbackPortNo(OFPort loopbackPortNo) {
        this.loopbackPortNo = loopbackPortNo;
        this.loopbackPortNoSet = true;
        return this;
    }
    @Override
    public MacAddress getLocalMac() {
        return localMac;
    }

    @Override
    public OFBsnVportL2Gre.Builder setLocalMac(MacAddress localMac) {
        this.localMac = localMac;
        this.localMacSet = true;
        return this;
    }
    @Override
    public MacAddress getNhMac() {
        return nhMac;
    }

    @Override
    public OFBsnVportL2Gre.Builder setNhMac(MacAddress nhMac) {
        this.nhMac = nhMac;
        this.nhMacSet = true;
        return this;
    }
    @Override
    public IPv4Address getSrcIp() {
        return srcIp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setSrcIp(IPv4Address srcIp) {
        this.srcIp = srcIp;
        this.srcIpSet = true;
        return this;
    }
    @Override
    public IPv4Address getDstIp() {
        return dstIp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setDstIp(IPv4Address dstIp) {
        this.dstIp = dstIp;
        this.dstIpSet = true;
        return this;
    }
    @Override
    public short getDscp() {
        return dscp;
    }

    @Override
    public OFBsnVportL2Gre.Builder setDscp(short dscp) {
        this.dscp = dscp;
        this.dscpSet = true;
        return this;
    }
    @Override
    public short getTtl() {
        return ttl;
    }

    @Override
    public OFBsnVportL2Gre.Builder setTtl(short ttl) {
        this.ttl = ttl;
        this.ttlSet = true;
        return this;
    }
    @Override
    public long getVpn() {
        return vpn;
    }

    @Override
    public OFBsnVportL2Gre.Builder setVpn(long vpn) {
        this.vpn = vpn;
        this.vpnSet = true;
        return this;
    }
    @Override
    public long getRateLimit() {
        return rateLimit;
    }

    @Override
    public OFBsnVportL2Gre.Builder setRateLimit(long rateLimit) {
        this.rateLimit = rateLimit;
        this.rateLimitSet = true;
        return this;
    }
    @Override
    public String getIfName() {
        return ifName;
    }

    @Override
    public OFBsnVportL2Gre.Builder setIfName(String ifName) {
        this.ifName = ifName;
        this.ifNameSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java222
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java222
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java222
        BuilderWithParent(OFPortDescVer11 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortDesc.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortDesc.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFPortDesc.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public Set<OFPortConfig> getConfig() {
        return config;
    }

    @Override
    public OFPortDesc.Builder setConfig(Set<OFPortConfig> config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public Set<OFPortState> getState() {
        return state;
    }

    @Override
    public OFPortDesc.Builder setState(Set<OFPortState> state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getCurr() {
        return curr;
    }

    @Override
    public OFPortDesc.Builder setCurr(Set<OFPortFeatures> curr) {
        this.curr = curr;
        this.currSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getAdvertised() {
        return advertised;
    }

    @Override
    public OFPortDesc.Builder setAdvertised(Set<OFPortFeatures> advertised) {
        this.advertised = advertised;
        this.advertisedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getSupported() {
        return supported;
    }

    @Override
    public OFPortDesc.Builder setSupported(Set<OFPortFeatures> supported) {
        this.supported = supported;
        this.supportedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getPeer() {
        return peer;
    }

    @Override
    public OFPortDesc.Builder setPeer(Set<OFPortFeatures> peer) {
        this.peer = peer;
        this.peerSet = true;
        return this;
    }
    @Override
    public long getCurrSpeed() {
        return currSpeed;
    }

    @Override
    public OFPortDesc.Builder setCurrSpeed(long currSpeed) {
        this.currSpeed = currSpeed;
        this.currSpeedSet = true;
        return this;
    }
    @Override
    public long getMaxSpeed() {
        return maxSpeed;
    }

    @Override
    public OFPortDesc.Builder setMaxSpeed(long maxSpeed) {
        this.maxSpeed = maxSpeed;
        this.maxSpeedSet = true;
        return this;
    }
    @Override
    public List<OFPortDescProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java789
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java789
        OFFlowStatsEntryVer11 other = (OFFlowStatsEntryVer11) obj;

        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if( durationSec != other.durationSec)
            return false;
        if( durationNsec != other.durationNsec)
            return false;
        if( priority != other.priority)
            return false;
        if( idleTimeout != other.idleTimeout)
            return false;
        if( hardTimeout != other.hardTimeout)
            return false;
        if (cookie == null) {
            if (other.cookie != null)
                return false;
        } else if (!cookie.equals(other.cookie))
            return false;
        if (packetCount == null) {
            if (other.packetCount != null)
                return false;
        } else if (!packetCount.equals(other.packetCount))
            return false;
        if (byteCount == null) {
            if (other.byteCount != null)
                return false;
        } else if (!byteCount.equals(other.byteCount))
            return false;
        if (match == null) {
            if (other.match != null)
                return false;
        } else if (!match.equals(other.match))
            return false;
        if (instructions == null) {
            if (other.instructions != null)
                return false;
        } else if (!instructions.equals(other.instructions))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime *  (int) (durationSec ^ (durationSec >>> 32));
        result = prime *  (int) (durationNsec ^ (durationNsec >>> 32));
        result = prime * result + priority;
        result = prime * result + idleTimeout;
        result = prime * result + hardTimeout;
        result = prime * result + ((cookie == null) ? 0 : cookie.hashCode());
        result = prime * result + ((packetCount == null) ? 0 : packetCount.hashCode());
        result = prime * result + ((byteCount == null) ? 0 : byteCount.hashCode());
        result = prime * result + ((match == null) ? 0 : match.hashCode());
        result = prime * result + ((instructions == null) ? 0 : instructions.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFDescStatsReplyVer10.java321
org/projectfloodlight/openflow/protocol/ver11/OFDescStatsReplyVer11.java321
org/projectfloodlight/openflow/protocol/ver12/OFDescStatsReplyVer12.java321
org/projectfloodlight/openflow/protocol/ver13/OFDescStatsReplyVer13.java321
org/projectfloodlight/openflow/protocol/ver14/OFDescStatsReplyVer14.java321
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public String getMfrDesc() {
        return mfrDesc;
    }

    @Override
    public OFDescStatsReply.Builder setMfrDesc(String mfrDesc) {
        this.mfrDesc = mfrDesc;
        this.mfrDescSet = true;
        return this;
    }
    @Override
    public String getHwDesc() {
        return hwDesc;
    }

    @Override
    public OFDescStatsReply.Builder setHwDesc(String hwDesc) {
        this.hwDesc = hwDesc;
        this.hwDescSet = true;
        return this;
    }
    @Override
    public String getSwDesc() {
        return swDesc;
    }

    @Override
    public OFDescStatsReply.Builder setSwDesc(String swDesc) {
        this.swDesc = swDesc;
        this.swDescSet = true;
        return this;
    }
    @Override
    public String getSerialNum() {
        return serialNum;
    }

    @Override
    public OFDescStatsReply.Builder setSerialNum(String serialNum) {
        this.serialNum = serialNum;
        this.serialNumSet = true;
        return this;
    }
    @Override
    public String getDpDesc() {
        return dpDesc;
    }

    @Override
    public OFDescStatsReply.Builder setDpDesc(String dpDesc) {
        this.dpDesc = dpDesc;
        this.dpDescSet = true;
        return this;
    }
//
        @Override
        public OFDescStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            String mfrDesc = this.mfrDescSet ? this.mfrDesc : DEFAULT_MFR_DESC;
            if(mfrDesc == null)
                throw new NullPointerException("Property mfrDesc must not be null");
            String hwDesc = this.hwDescSet ? this.hwDesc : DEFAULT_HW_DESC;
            if(hwDesc == null)
                throw new NullPointerException("Property hwDesc must not be null");
            String swDesc = this.swDescSet ? this.swDesc : DEFAULT_SW_DESC;
            if(swDesc == null)
                throw new NullPointerException("Property swDesc must not be null");
            String serialNum = this.serialNumSet ? this.serialNum : DEFAULT_SERIAL_NUM;
            if(serialNum == null)
                throw new NullPointerException("Property serialNum must not be null");
            String dpDesc = this.dpDescSet ? this.dpDesc : DEFAULT_DP_DESC;
            if(dpDesc == null)
                throw new NullPointerException("Property dpDesc must not be null");


            return new OFDescStatsReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpRequestVer13.java335
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpRequestVer14.java335
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x29L;
    }

    @Override
    public short getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setEnabled(short enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorSysPriority(int actorSysPriority) {
        this.actorSysPriority = actorSysPriority;
        this.actorSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorSysMac(MacAddress actorSysMac) {
        this.actorSysMac = actorSysMac;
        this.actorSysMacSet = true;
        return this;
    }
    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorPortPriority(int actorPortPriority) {
        this.actorPortPriority = actorPortPriority;
        this.actorPortPrioritySet = true;
        return this;
    }
    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorPortNum(int actorPortNum) {
        this.actorPortNum = actorPortNum;
        this.actorPortNumSet = true;
        return this;
    }
    @Override
    public int getActorKey() {
        return actorKey;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorKey(int actorKey) {
        this.actorKey = actorKey;
        this.actorKeySet = true;
        return this;
    }
//
        @Override
        public OFBsnSetLacpRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            short enabled = this.enabledSet ? this.enabled : DEFAULT_ENABLED;
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            int actorSysPriority = this.actorSysPrioritySet ? this.actorSysPriority : DEFAULT_ACTOR_SYS_PRIORITY;
            MacAddress actorSysMac = this.actorSysMacSet ? this.actorSysMac : DEFAULT_ACTOR_SYS_MAC;
            if(actorSysMac == null)
                throw new NullPointerException("Property actorSysMac must not be null");
            int actorPortPriority = this.actorPortPrioritySet ? this.actorPortPriority : DEFAULT_ACTOR_PORT_PRIORITY;
            int actorPortNum = this.actorPortNumSet ? this.actorPortNum : DEFAULT_ACTOR_PORT_NUM;
            int actorKey = this.actorKeySet ? this.actorKey : DEFAULT_ACTOR_KEY;


            return new OFBsnSetLacpRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java430
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java430
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java447
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java458
        private boolean cookieSet;
        private U64 cookie;
        private boolean packetCountSet;
        private U64 packetCount;
        private boolean byteCountSet;
        private U64 byteCount;
        private boolean matchSet;
        private Match match;
        private boolean instructionsSet;
        private List<OFInstruction> instructions;

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowStatsEntry.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsEntry.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsEntry.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowStatsEntry.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java197
        BuilderWithParent(OFBsnLacpStatsEntryVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorSysPriority(int actorSysPriority) {
        this.actorSysPriority = actorSysPriority;
        this.actorSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorSysMac(MacAddress actorSysMac) {
        this.actorSysMac = actorSysMac;
        this.actorSysMacSet = true;
        return this;
    }
    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorPortPriority(int actorPortPriority) {
        this.actorPortPriority = actorPortPriority;
        this.actorPortPrioritySet = true;
        return this;
    }
    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorPortNum(int actorPortNum) {
        this.actorPortNum = actorPortNum;
        this.actorPortNumSet = true;
        return this;
    }
    @Override
    public int getActorKey() {
        return actorKey;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorKey(int actorKey) {
        this.actorKey = actorKey;
        this.actorKeySet = true;
        return this;
    }
    @Override
    public short getConvergenceStatus() {
        return convergenceStatus;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setConvergenceStatus(short convergenceStatus) {
        this.convergenceStatus = convergenceStatus;
        this.convergenceStatusSet = true;
        return this;
    }
    @Override
    public int getPartnerSysPriority() {
        return partnerSysPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerSysPriority(int partnerSysPriority) {
        this.partnerSysPriority = partnerSysPriority;
        this.partnerSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getPartnerSysMac() {
        return partnerSysMac;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerSysMac(MacAddress partnerSysMac) {
        this.partnerSysMac = partnerSysMac;
        this.partnerSysMacSet = true;
        return this;
    }
    @Override
    public int getPartnerPortPriority() {
        return partnerPortPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerPortPriority(int partnerPortPriority) {
        this.partnerPortPriority = partnerPortPriority;
        this.partnerPortPrioritySet = true;
        return this;
    }
    @Override
    public int getPartnerPortNum() {
        return partnerPortNum;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerPortNum(int partnerPortNum) {
        this.partnerPortNum = partnerPortNum;
        this.partnerPortNumSet = true;
        return this;
    }
    @Override
    public int getPartnerKey() {
        return partnerKey;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerKey(int partnerKey) {
        this.partnerKey = partnerKey;
        this.partnerKeySet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java226
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java438
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java438
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortDesc.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortDesc.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFPortDesc.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public Set<OFPortConfig> getConfig() {
        return config;
    }

    @Override
    public OFPortDesc.Builder setConfig(Set<OFPortConfig> config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public Set<OFPortState> getState() {
        return state;
    }

    @Override
    public OFPortDesc.Builder setState(Set<OFPortState> state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getCurr() {
        return curr;
    }

    @Override
    public OFPortDesc.Builder setCurr(Set<OFPortFeatures> curr) {
        this.curr = curr;
        this.currSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getAdvertised() {
        return advertised;
    }

    @Override
    public OFPortDesc.Builder setAdvertised(Set<OFPortFeatures> advertised) {
        this.advertised = advertised;
        this.advertisedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getSupported() {
        return supported;
    }

    @Override
    public OFPortDesc.Builder setSupported(Set<OFPortFeatures> supported) {
        this.supported = supported;
        this.supportedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getPeer() {
        return peer;
    }

    @Override
    public OFPortDesc.Builder setPeer(Set<OFPortFeatures> peer) {
        this.peer = peer;
        this.peerSet = true;
        return this;
    }
    @Override
    public long getCurrSpeed() {
        return currSpeed;
    }

    @Override
    public OFPortDesc.Builder setCurrSpeed(long currSpeed) {
        this.currSpeed = currSpeed;
        this.currSpeedSet = true;
        return this;
    }
    @Override
    public long getMaxSpeed() {
        return maxSpeed;
    }

    @Override
    public OFPortDesc.Builder setMaxSpeed(long maxSpeed) {
        this.maxSpeed = maxSpeed;
        this.maxSpeedSet = true;
        return this;
    }
    @Override
    public List<OFPortDescProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java438
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java226
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java226
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortDesc.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortDesc.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFPortDesc.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public Set<OFPortConfig> getConfig() {
        return config;
    }

    @Override
    public OFPortDesc.Builder setConfig(Set<OFPortConfig> config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public Set<OFPortState> getState() {
        return state;
    }

    @Override
    public OFPortDesc.Builder setState(Set<OFPortState> state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getCurr() {
        return curr;
    }

    @Override
    public OFPortDesc.Builder setCurr(Set<OFPortFeatures> curr) {
        this.curr = curr;
        this.currSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getAdvertised() {
        return advertised;
    }

    @Override
    public OFPortDesc.Builder setAdvertised(Set<OFPortFeatures> advertised) {
        this.advertised = advertised;
        this.advertisedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getSupported() {
        return supported;
    }

    @Override
    public OFPortDesc.Builder setSupported(Set<OFPortFeatures> supported) {
        this.supported = supported;
        this.supportedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getPeer() {
        return peer;
    }

    @Override
    public OFPortDesc.Builder setPeer(Set<OFPortFeatures> peer) {
        this.peer = peer;
        this.peerSet = true;
        return this;
    }
    @Override
    public long getCurrSpeed() {
        return currSpeed;
    }

    @Override
    public OFPortDesc.Builder setCurrSpeed(long currSpeed) {
        this.currSpeed = currSpeed;
        this.currSpeedSet = true;
        return this;
    }
    @Override
    public long getMaxSpeed() {
        return maxSpeed;
    }

    @Override
    public OFPortDesc.Builder setMaxSpeed(long maxSpeed) {
        this.maxSpeed = maxSpeed;
        this.maxSpeedSet = true;
        return this;
    }
    @Override
    public List<OFPortDescProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java776
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java776
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java776
        OFFlowRemovedVer12 other = (OFFlowRemovedVer12) obj;

        if( xid != other.xid)
            return false;
        if (cookie == null) {
            if (other.cookie != null)
                return false;
        } else if (!cookie.equals(other.cookie))
            return false;
        if( priority != other.priority)
            return false;
        if( reason != other.reason)
            return false;
        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if( durationSec != other.durationSec)
            return false;
        if( durationNsec != other.durationNsec)
            return false;
        if( idleTimeout != other.idleTimeout)
            return false;
        if( hardTimeout != other.hardTimeout)
            return false;
        if (packetCount == null) {
            if (other.packetCount != null)
                return false;
        } else if (!packetCount.equals(other.packetCount))
            return false;
        if (byteCount == null) {
            if (other.byteCount != null)
                return false;
        } else if (!byteCount.equals(other.byteCount))
            return false;
        if (match == null) {
            if (other.match != null)
                return false;
        } else if (!match.equals(other.match))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((cookie == null) ? 0 : cookie.hashCode());
        result = prime * result + priority;
        result = prime * result + reason;
        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime *  (int) (durationSec ^ (durationSec >>> 32));
        result = prime *  (int) (durationNsec ^ (durationNsec >>> 32));
        result = prime * result + idleTimeout;
        result = prime * result + hardTimeout;
        result = prime * result + ((packetCount == null) ? 0 : packetCount.hashCode());
        result = prime * result + ((byteCount == null) ? 0 : byteCount.hashCode());
        result = prime * result + ((match == null) ? 0 : match.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java201
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java407
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorSysPriority(int actorSysPriority) {
        this.actorSysPriority = actorSysPriority;
        this.actorSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorSysMac(MacAddress actorSysMac) {
        this.actorSysMac = actorSysMac;
        this.actorSysMacSet = true;
        return this;
    }
    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorPortPriority(int actorPortPriority) {
        this.actorPortPriority = actorPortPriority;
        this.actorPortPrioritySet = true;
        return this;
    }
    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorPortNum(int actorPortNum) {
        this.actorPortNum = actorPortNum;
        this.actorPortNumSet = true;
        return this;
    }
    @Override
    public int getActorKey() {
        return actorKey;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorKey(int actorKey) {
        this.actorKey = actorKey;
        this.actorKeySet = true;
        return this;
    }
    @Override
    public short getConvergenceStatus() {
        return convergenceStatus;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setConvergenceStatus(short convergenceStatus) {
        this.convergenceStatus = convergenceStatus;
        this.convergenceStatusSet = true;
        return this;
    }
    @Override
    public int getPartnerSysPriority() {
        return partnerSysPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerSysPriority(int partnerSysPriority) {
        this.partnerSysPriority = partnerSysPriority;
        this.partnerSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getPartnerSysMac() {
        return partnerSysMac;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerSysMac(MacAddress partnerSysMac) {
        this.partnerSysMac = partnerSysMac;
        this.partnerSysMacSet = true;
        return this;
    }
    @Override
    public int getPartnerPortPriority() {
        return partnerPortPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerPortPriority(int partnerPortPriority) {
        this.partnerPortPriority = partnerPortPriority;
        this.partnerPortPrioritySet = true;
        return this;
    }
    @Override
    public int getPartnerPortNum() {
        return partnerPortNum;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerPortNum(int partnerPortNum) {
        this.partnerPortNum = partnerPortNum;
        this.partnerPortNumSet = true;
        return this;
    }
    @Override
    public int getPartnerKey() {
        return partnerKey;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerKey(int partnerKey) {
        this.partnerKey = partnerKey;
        this.partnerKeySet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java407
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java201
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorSysPriority(int actorSysPriority) {
        this.actorSysPriority = actorSysPriority;
        this.actorSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorSysMac(MacAddress actorSysMac) {
        this.actorSysMac = actorSysMac;
        this.actorSysMacSet = true;
        return this;
    }
    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorPortPriority(int actorPortPriority) {
        this.actorPortPriority = actorPortPriority;
        this.actorPortPrioritySet = true;
        return this;
    }
    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorPortNum(int actorPortNum) {
        this.actorPortNum = actorPortNum;
        this.actorPortNumSet = true;
        return this;
    }
    @Override
    public int getActorKey() {
        return actorKey;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setActorKey(int actorKey) {
        this.actorKey = actorKey;
        this.actorKeySet = true;
        return this;
    }
    @Override
    public short getConvergenceStatus() {
        return convergenceStatus;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setConvergenceStatus(short convergenceStatus) {
        this.convergenceStatus = convergenceStatus;
        this.convergenceStatusSet = true;
        return this;
    }
    @Override
    public int getPartnerSysPriority() {
        return partnerSysPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerSysPriority(int partnerSysPriority) {
        this.partnerSysPriority = partnerSysPriority;
        this.partnerSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getPartnerSysMac() {
        return partnerSysMac;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerSysMac(MacAddress partnerSysMac) {
        this.partnerSysMac = partnerSysMac;
        this.partnerSysMacSet = true;
        return this;
    }
    @Override
    public int getPartnerPortPriority() {
        return partnerPortPriority;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerPortPriority(int partnerPortPriority) {
        this.partnerPortPriority = partnerPortPriority;
        this.partnerPortPrioritySet = true;
        return this;
    }
    @Override
    public int getPartnerPortNum() {
        return partnerPortNum;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerPortNum(int partnerPortNum) {
        this.partnerPortNum = partnerPortNum;
        this.partnerPortNumSet = true;
        return this;
    }
    @Override
    public int getPartnerKey() {
        return partnerKey;
    }

    @Override
    public OFBsnLacpStatsEntry.Builder setPartnerKey(int partnerKey) {
        this.partnerKey = partnerKey;
        this.partnerKeySet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStateSerializerVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStateSerializerVer14.java34
public class OFBsnLacpStateSerializerVer13 {

    public final static byte BSN_LACP_STATE_ACTIVITY_VAL = (byte) 0x1;
    public final static byte BSN_LACP_STATE_TIMEOUT_VAL = (byte) 0x2;
    public final static byte BSN_LACP_STATE_AGGREGATION_VAL = (byte) 0x4;
    public final static byte BSN_LACP_STATE_SYNCHRONIZATION_VAL = (byte) 0x8;
    public final static byte BSN_LACP_STATE_COLLECTING_VAL = (byte) 0x10;
    public final static byte BSN_LACP_STATE_DISTRIBUTING_VAL = (byte) 0x20;
    public final static byte BSN_LACP_STATE_DEFAULTED_VAL = (byte) 0x40;
    public final static byte BSN_LACP_STATE_EXPIRED_VAL = (byte) 0x80;

    public static Set<OFBsnLacpState> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFBsnLacpState> set) {
        bb.writeByte(toWireValue(set));
    }

    public static void putTo(Set<OFBsnLacpState> set, PrimitiveSink sink) {
        sink.putByte(toWireValue(set));
    }


    public static Set<OFBsnLacpState> ofWireValue(byte val) {
        EnumSet<OFBsnLacpState> set = EnumSet.noneOf(OFBsnLacpState.class);

        if((val & BSN_LACP_STATE_ACTIVITY_VAL) != 0)
            set.add(OFBsnLacpState.BSN_LACP_STATE_ACTIVITY);
        if((val & BSN_LACP_STATE_TIMEOUT_VAL) != 0)
            set.add(OFBsnLacpState.BSN_LACP_STATE_TIMEOUT);
        if((val & BSN_LACP_STATE_AGGREGATION_VAL) != 0)
            set.add(OFBsnLacpState.BSN_LACP_STATE_AGGREGATION);
        if((val & BSN_LACP_STATE_SYNCHRONIZATION_VAL) != 0)
            set.add(OFBsnLacpState.BSN_LACP_STATE_SYNCHRONIZATION);
        if((val & BSN_LACP_STATE_COLLECTING_VAL) != 0)
            set.add(OFBsnLacpState.BSN_LACP_STATE_COLLECTING);
        if((val & BSN_LACP_STATE_DISTRIBUTING_VAL) != 0)
            set.add(OFBsnLacpState.BSN_LACP_STATE_DISTRIBUTING);
        if((val & BSN_LACP_STATE_DEFAULTED_VAL) != 0)
            set.add(OFBsnLacpState.BSN_LACP_STATE_DEFAULTED);
        if((val & BSN_LACP_STATE_EXPIRED_VAL) != 0)
            set.add(OFBsnLacpState.BSN_LACP_STATE_EXPIRED);
        return Collections.unmodifiableSet(set);
    }

    public static byte toWireValue(Set<OFBsnLacpState> set) {
        byte wireValue = 0;

        for(OFBsnLacpState e: set) {
            switch(e) {
                case BSN_LACP_STATE_ACTIVITY:
                    wireValue |= BSN_LACP_STATE_ACTIVITY_VAL;
                    break;
                case BSN_LACP_STATE_TIMEOUT:
                    wireValue |= BSN_LACP_STATE_TIMEOUT_VAL;
                    break;
                case BSN_LACP_STATE_AGGREGATION:
                    wireValue |= BSN_LACP_STATE_AGGREGATION_VAL;
                    break;
                case BSN_LACP_STATE_SYNCHRONIZATION:
                    wireValue |= BSN_LACP_STATE_SYNCHRONIZATION_VAL;
                    break;
                case BSN_LACP_STATE_COLLECTING:
                    wireValue |= BSN_LACP_STATE_COLLECTING_VAL;
                    break;
                case BSN_LACP_STATE_DISTRIBUTING:
                    wireValue |= BSN_LACP_STATE_DISTRIBUTING_VAL;
                    break;
                case BSN_LACP_STATE_DEFAULTED:
                    wireValue |= BSN_LACP_STATE_DEFAULTED_VAL;
                    break;
                case BSN_LACP_STATE_EXPIRED:
                    wireValue |= BSN_LACP_STATE_EXPIRED_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFBsnLacpState in version 1.3: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsPropOpticalVer14.java187
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsPropOpticalVer14.java377
    @Override
    public int getType() {
        return 0x1;
    }

    @Override
    public long getFlags() {
        return flags;
    }

    @Override
    public OFPortStatsPropOptical.Builder setFlags(long flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getTxFreqLmda() {
        return txFreqLmda;
    }

    @Override
    public OFPortStatsPropOptical.Builder setTxFreqLmda(long txFreqLmda) {
        this.txFreqLmda = txFreqLmda;
        this.txFreqLmdaSet = true;
        return this;
    }
    @Override
    public long getTxOffset() {
        return txOffset;
    }

    @Override
    public OFPortStatsPropOptical.Builder setTxOffset(long txOffset) {
        this.txOffset = txOffset;
        this.txOffsetSet = true;
        return this;
    }
    @Override
    public long getTxGridSpan() {
        return txGridSpan;
    }

    @Override
    public OFPortStatsPropOptical.Builder setTxGridSpan(long txGridSpan) {
        this.txGridSpan = txGridSpan;
        this.txGridSpanSet = true;
        return this;
    }
    @Override
    public long getRxFreqLmda() {
        return rxFreqLmda;
    }

    @Override
    public OFPortStatsPropOptical.Builder setRxFreqLmda(long rxFreqLmda) {
        this.rxFreqLmda = rxFreqLmda;
        this.rxFreqLmdaSet = true;
        return this;
    }
    @Override
    public long getRxOffset() {
        return rxOffset;
    }

    @Override
    public OFPortStatsPropOptical.Builder setRxOffset(long rxOffset) {
        this.rxOffset = rxOffset;
        this.rxOffsetSet = true;
        return this;
    }
    @Override
    public long getRxGridSpan() {
        return rxGridSpan;
    }

    @Override
    public OFPortStatsPropOptical.Builder setRxGridSpan(long rxGridSpan) {
        this.rxGridSpan = rxGridSpan;
        this.rxGridSpanSet = true;
        return this;
    }
    @Override
    public int getTxPwr() {
        return txPwr;
    }

    @Override
    public OFPortStatsPropOptical.Builder setTxPwr(int txPwr) {
        this.txPwr = txPwr;
        this.txPwrSet = true;
        return this;
    }
    @Override
    public int getRxPwr() {
        return rxPwr;
    }

    @Override
    public OFPortStatsPropOptical.Builder setRxPwr(int rxPwr) {
        this.rxPwr = rxPwr;
        this.rxPwrSet = true;
        return this;
    }
    @Override
    public int getBiasCurrent() {
        return biasCurrent;
    }

    @Override
    public OFPortStatsPropOptical.Builder setBiasCurrent(int biasCurrent) {
        this.biasCurrent = biasCurrent;
        this.biasCurrentSet = true;
        return this;
    }
    @Override
    public int getTemperature() {
        return temperature;
    }

    @Override
    public OFPortStatsPropOptical.Builder setTemperature(int temperature) {
        this.temperature = temperature;
        this.temperatureSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFPortStatsPropOptical build() {
                long flags = this.flagsSet ? this.flags : parentMessage.flags;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsRequestVer11.java648
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsRequestVer11.java648
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java653
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java653
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java653
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java653
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java653
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java653
        OFAggregateStatsRequestVer11 other = (OFAggregateStatsRequestVer11) obj;

        if( xid != other.xid)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if (outPort == null) {
            if (other.outPort != null)
                return false;
        } else if (!outPort.equals(other.outPort))
            return false;
        if (outGroup == null) {
            if (other.outGroup != null)
                return false;
        } else if (!outGroup.equals(other.outGroup))
            return false;
        if (cookie == null) {
            if (other.cookie != null)
                return false;
        } else if (!cookie.equals(other.cookie))
            return false;
        if (cookieMask == null) {
            if (other.cookieMask != null)
                return false;
        } else if (!cookieMask.equals(other.cookieMask))
            return false;
        if (match == null) {
            if (other.match != null)
                return false;
        } else if (!match.equals(other.match))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime * result + ((outPort == null) ? 0 : outPort.hashCode());
        result = prime * result + ((outGroup == null) ? 0 : outGroup.hashCode());
        result = prime * result + ((cookie == null) ? 0 : cookie.hashCode());
        result = prime * result + ((cookieMask == null) ? 0 : cookieMask.hashCode());
        result = prime * result + ((match == null) ? 0 : match.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java900
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java900
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java900
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java942
        OFPortStatsEntryVer10 other = (OFPortStatsEntryVer10) obj;

        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if (rxPackets == null) {
            if (other.rxPackets != null)
                return false;
        } else if (!rxPackets.equals(other.rxPackets))
            return false;
        if (txPackets == null) {
            if (other.txPackets != null)
                return false;
        } else if (!txPackets.equals(other.txPackets))
            return false;
        if (rxBytes == null) {
            if (other.rxBytes != null)
                return false;
        } else if (!rxBytes.equals(other.rxBytes))
            return false;
        if (txBytes == null) {
            if (other.txBytes != null)
                return false;
        } else if (!txBytes.equals(other.txBytes))
            return false;
        if (rxDropped == null) {
            if (other.rxDropped != null)
                return false;
        } else if (!rxDropped.equals(other.rxDropped))
            return false;
        if (txDropped == null) {
            if (other.txDropped != null)
                return false;
        } else if (!txDropped.equals(other.txDropped))
            return false;
        if (rxErrors == null) {
            if (other.rxErrors != null)
                return false;
        } else if (!rxErrors.equals(other.rxErrors))
            return false;
        if (txErrors == null) {
            if (other.txErrors != null)
                return false;
        } else if (!txErrors.equals(other.txErrors))
            return false;
        if (rxFrameErr == null) {
            if (other.rxFrameErr != null)
                return false;
        } else if (!rxFrameErr.equals(other.rxFrameErr))
            return false;
        if (rxOverErr == null) {
            if (other.rxOverErr != null)
                return false;
        } else if (!rxOverErr.equals(other.rxOverErr))
            return false;
        if (rxCrcErr == null) {
            if (other.rxCrcErr != null)
                return false;
        } else if (!rxCrcErr.equals(other.rxCrcErr))
            return false;
        if (collisions == null) {
            if (other.collisions != null)
                return false;
        } else if (!collisions.equals(other.collisions))
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowAddVer10.java844
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteStrictVer10.java843
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteVer10.java843
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyStrictVer10.java843
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyVer10.java843
        OFFlowAddVer10 other = (OFFlowAddVer10) obj;

        if( xid != other.xid)
            return false;
        if (match == null) {
            if (other.match != null)
                return false;
        } else if (!match.equals(other.match))
            return false;
        if (cookie == null) {
            if (other.cookie != null)
                return false;
        } else if (!cookie.equals(other.cookie))
            return false;
        if( idleTimeout != other.idleTimeout)
            return false;
        if( hardTimeout != other.hardTimeout)
            return false;
        if( priority != other.priority)
            return false;
        if (bufferId == null) {
            if (other.bufferId != null)
                return false;
        } else if (!bufferId.equals(other.bufferId))
            return false;
        if (outPort == null) {
            if (other.outPort != null)
                return false;
        } else if (!outPort.equals(other.outPort))
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if (actions == null) {
            if (other.actions != null)
                return false;
        } else if (!actions.equals(other.actions))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((match == null) ? 0 : match.hashCode());
        result = prime * result + ((cookie == null) ? 0 : cookie.hashCode());
        result = prime * result + idleTimeout;
        result = prime * result + hardTimeout;
        result = prime * result + priority;
        result = prime * result + ((bufferId == null) ? 0 : bufferId.hashCode());
        result = prime * result + ((outPort == null) ? 0 : outPort.hashCode());
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((actions == null) ? 0 : actions.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java213
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java213
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java222
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java227
        BuilderWithParent(OFFlowStatsEntryVer11 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowStatsEntry.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsEntry.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsEntry.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowStatsEntry.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
net/onrc/openvirtex/routing/SwitchRoute.java578
net/onrc/openvirtex/routing/SwitchRoute.java664
                .setPort(outPort.getPortNo())
                .setMaxLen((short) 0xffff)
                .build());
               
                if(fm.getCommand().equals(OFFlowModCommand.ADD))
                {
                fm=OVXFactoryInst.myOVXFactory.buildOVXFlowAdd(fm.getXid(),
                		fm_match,
                		fm.getCookie(), 
                		fm.getIdleTimeout(),
                		fm.getHardTimeout(), 
                		fm.getPriority(), 
                		OFBufferId.NO_BUFFER, 
                		fm.getOutPort(), 
                		fm.getFlags(),
                		actions);
                }
                else if(fm.getCommand().equals(OFFlowModCommand.DELETE))
                {
                    fm=OVXFactoryInst.myOVXFactory.buildOVXFlowDelete(fm.getXid(),
                    		fm_match,
                    		fm.getCookie(), 
                    		fm.getIdleTimeout(),
                    		fm.getHardTimeout(), 
                    		fm.getPriority(), 
                    		OFBufferId.NO_BUFFER, 
                    		fm.getOutPort(), 
                    		fm.getFlags(),
                    		actions);
                 }
                else if(fm.getCommand().equals(OFFlowModCommand.DELETE_STRICT))
                {
                    fm=OVXFactoryInst.myOVXFactory.buildOVXFlowDeleteStrict(fm.getXid(),
                    		fm_match,
                    		fm.getCookie(), 
                    		fm.getIdleTimeout(),
                    		fm.getHardTimeout(), 
                    		fm.getPriority(), 
                    		OFBufferId.NO_BUFFER, 
                    		fm.getOutPort(), 
                    		fm.getFlags(),
                    		actions);
                 }
                else if(fm.getCommand().equals(OFFlowModCommand.MODIFY))
                {
                    fm=OVXFactoryInst.myOVXFactory.buildOVXFlowModify(fm.getXid(),
                    		fm_match,
                    		fm.getCookie(), 
                    		fm.getIdleTimeout(),
                    		fm.getHardTimeout(), 
                    		fm.getPriority(), 
                    		OFBufferId.NO_BUFFER, 
                    		fm.getOutPort(), 
                    		fm.getFlags(),
                    		actions);
                 }
                else if(fm.getCommand().equals(OFFlowModCommand.MODIFY_STRICT))
                {
                    fm=OVXFactoryInst.myOVXFactory.buildOVXFlowModifyStrict(fm.getXid(),
                    		fm_match,
                    		fm.getCookie(), 
                    		fm.getIdleTimeout(),
                    		fm.getHardTimeout(), 
                    		fm.getPriority(), 
                    		OFBufferId.NO_BUFFER, 
                    		fm.getOutPort(), 
                    		fm.getFlags(),
                    		actions);
                 }
                phyLink.getSrcPort().getParentSwitch()
                .sendMsg(fm, phyLink.getSrcPort().getParentSwitch());
                SwitchRoute.log.debug(
FileLine
net/onrc/openvirtex/messages/actions/ver10/OVXActionOutputVer10.java333
net/onrc/openvirtex/messages/actions/ver13/OVXActionOutputVer13.java341
            for (final OVXPort outPort : outPortList) {
                /**
                 * If the outPort belongs to a virtual link, generate a packetIn
                 * coming from the end point of the link to the controller.
                 */
                if (outPort.isLink()) {
                    final OVXPort dstPort = outPort.getLink().getOutLink()
                            .getDstPort();
                    dstPort.getParentSwitch().sendMsg(OVXFactoryInst.myOVXFactory.buildOVXPacketIn(match.getPktData(), dstPort.getPortNo().getShortPortNumber()), sw);
                    /**
                     * Pravein : Unset the throwException
                     * Basically, this was not set to false in the original OVX code, not sure why.
                     * However logically it seems wrong to unset it. Also, connectivity is lost.
                     *
                     * Hence, we set it to false.
                     */

                    throwException = false;
                    this.log.debug(
                            "Generate a packetIn from OVX Port {}/{}, physicalPort {}/{}",
                            dstPort.getParentSwitch().getSwitchName(),
                            dstPort.getPortNo(), dstPort.getPhysicalPort()
                            .getParentSwitch().getSwitchName(),
                            dstPort.getPhysicalPortNumber());
                } else if (sw instanceof OVXBigSwitch) {
                    /**
                     * Big-switch management. Generate a packetOut to the
                     * physical outPort
                     */
                    // Only generate pkt_out if a route is configured between in
                    // and output port.
                    // If parent switches are identical, no route will be configured
                    // although we do want to output the pkt_out.
                    if ((inPort == null)
                            || (inPort.getParentSwitch() == outPort.getParentSwitch())
                            || (((OVXBigSwitch) sw).getRoute(inPort, outPort) != null)) {
                        final PhysicalPort dstPort = outPort.getPhysicalPort();
                        dstPort.getParentSwitch().sendMsg(OVXFactoryInst.myOVXFactory
                        		.buildOVXPacketOut(match.getPktData(),OFPort.ANY,
                                        dstPort.getPortNo()), sw);
                        this.log.debug("PacketOut for a bigSwitch port, "
                                + "generate a packet from Physical Port {}/{}",
                                dstPort.getParentSwitch().getSwitchName(),
                                dstPort.getPortNo());
                    }
                } else {
                    /**
                     * Else (e.g. the outPort is an edgePort in a single switch)
                     * modify the packet and send to the physical switch.
                     */
                    throwException = false;

                    if (GlobalConfig.bnvTagType == TAG.TOS) {
                        TenantMapperTos.prependUnRewriteActions(match, approvedActions);
                    } else if (GlobalConfig.bnvTagType == TAG.VLAN) {
                        TenantMapperVlan.prependUnRewriteActions(match, approvedActions);
                    }  else if (GlobalConfig.bnvTagType == TAG.IP) {
                    	approvedActions.addAll(IPMapper.prependUnRewriteActions(match));
                    } else if (GlobalConfig.bnvTagType == TAG.NOTAG){
                        /* Do Nothing */
                    }
                    approvedActions.add(OVXFactoryInst.myFactory.actions()
                    		.output(OFPort.ofShort(outPort.getPhysicalPortNumber()), 0)
                    		);
                    this.log.debug(
                            "Physical ports are on the same physical switch, rewrite only outPort to {}",
                            outPort.getPhysicalPortNumber());
                }
            }
            if (throwException) {
                throw new DroppedMessageException();
            }
        }

    }

    private LinkedList<OVXPort> fillPortList(final Short inPort,
            final Short outPort, final OVXSwitch sw)
                    throws DroppedMessageException {
;
        final short OFPP_ALL_SHORT = (short) 0xFFfc;
        final short OFPP_FLOOD_SHORT = (short) 0xFFfb;
        final short OFPP_MAX_SHORT = (short) 0xFF00;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java217
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java441
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java458
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java469
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowStatsEntry.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsEntry.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsEntry.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowStatsEntry.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java441
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java217
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java226
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java231
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowStatsEntry.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsEntry.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsEntry.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public OFFlowStatsEntry.Builder setInstructions(List<OFInstruction> instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPacketInVer10.java165
org/projectfloodlight/openflow/protocol/ver10/OFPacketInVer10.java324
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.PACKET_IN;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPacketIn.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPacketIn.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public int getTotalLen() {
        return totalLen;
    }

    @Override
    public OFPacketIn.Builder setTotalLen(int totalLen) {
        this.totalLen = totalLen;
        this.totalLenSet = true;
        return this;
    }
    @Override
    public OFPacketInReason getReason() {
        return reason;
    }

    @Override
    public OFPacketIn.Builder setReason(OFPacketInReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public TableId getTableId()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property tableId not supported in version 1.0");
    }

    @Override
    public OFPacketIn.Builder setTableId(TableId tableId) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property tableId not supported in version 1.0");
    }
    @Override
    public Match getMatch()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property match not supported in version 1.0");
    }

    @Override
    public OFPacketIn.Builder setMatch(Match match) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property match not supported in version 1.0");
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFPacketIn.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
    @Override
    public OFPort getInPort() {
        return inPort;
    }

    @Override
    public OFPacketIn.Builder setInPort(OFPort inPort) {
        this.inPort = inPort;
        this.inPortSet = true;
        return this;
    }
    @Override
    public OFPort getInPhyPort()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property inPhyPort not supported in version 1.0");
    }

    @Override
    public OFPacketIn.Builder setInPhyPort(OFPort inPhyPort) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property inPhyPort not supported in version 1.0");
    }
    @Override
    public U64 getCookie()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property cookie not supported in version 1.0");
    }

    @Override
    public OFPacketIn.Builder setCookie(U64 cookie) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property cookie not supported in version 1.0");
    }


        @Override
        public OFPacketIn build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPacketInVer12.java173
org/projectfloodlight/openflow/protocol/ver12/OFPacketInVer12.java340
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.PACKET_IN;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPacketIn.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPacketIn.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public int getTotalLen() {
        return totalLen;
    }

    @Override
    public OFPacketIn.Builder setTotalLen(int totalLen) {
        this.totalLen = totalLen;
        this.totalLenSet = true;
        return this;
    }
    @Override
    public OFPacketInReason getReason() {
        return reason;
    }

    @Override
    public OFPacketIn.Builder setReason(OFPacketInReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFPacketIn.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFPacketIn.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFPacketIn.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
    @Override
    public OFPort getInPort()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property inPort not supported in version 1.2");
    }

    @Override
    public OFPacketIn.Builder setInPort(OFPort inPort) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property inPort not supported in version 1.2");
    }
    @Override
    public OFPort getInPhyPort()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property inPhyPort not supported in version 1.2");
    }

    @Override
    public OFPacketIn.Builder setInPhyPort(OFPort inPhyPort) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property inPhyPort not supported in version 1.2");
    }
    @Override
    public U64 getCookie()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property cookie not supported in version 1.2");
    }

    @Override
    public OFPacketIn.Builder setCookie(U64 cookie) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property cookie not supported in version 1.2");
    }


        @Override
        public OFPacketIn build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPacketInVer11.java181
org/projectfloodlight/openflow/protocol/ver11/OFPacketInVer11.java356
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.PACKET_IN;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPacketIn.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPacketIn.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public int getTotalLen() {
        return totalLen;
    }

    @Override
    public OFPacketIn.Builder setTotalLen(int totalLen) {
        this.totalLen = totalLen;
        this.totalLenSet = true;
        return this;
    }
    @Override
    public OFPacketInReason getReason() {
        return reason;
    }

    @Override
    public OFPacketIn.Builder setReason(OFPacketInReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFPacketIn.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public Match getMatch()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property match not supported in version 1.1");
    }

    @Override
    public OFPacketIn.Builder setMatch(Match match) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property match not supported in version 1.1");
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFPacketIn.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
    @Override
    public OFPort getInPort() {
        return inPort;
    }

    @Override
    public OFPacketIn.Builder setInPort(OFPort inPort) {
        this.inPort = inPort;
        this.inPortSet = true;
        return this;
    }
    @Override
    public OFPort getInPhyPort() {
        return inPhyPort;
    }

    @Override
    public OFPacketIn.Builder setInPhyPort(OFPort inPhyPort) {
        this.inPhyPort = inPhyPort;
        this.inPhyPortSet = true;
        return this;
    }
    @Override
    public U64 getCookie()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property cookie not supported in version 1.1");
    }

    @Override
    public OFPacketIn.Builder setCookie(U64 cookie) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property cookie not supported in version 1.1");
    }


        @Override
        public OFPacketIn build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java181
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java356
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.PACKET_IN;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPacketIn.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPacketIn.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public int getTotalLen() {
        return totalLen;
    }

    @Override
    public OFPacketIn.Builder setTotalLen(int totalLen) {
        this.totalLen = totalLen;
        this.totalLenSet = true;
        return this;
    }
    @Override
    public OFPacketInReason getReason() {
        return reason;
    }

    @Override
    public OFPacketIn.Builder setReason(OFPacketInReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFPacketIn.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFPacketIn.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFPacketIn.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
    @Override
    public OFPort getInPort()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property inPort not supported in version 1.4");
    }

    @Override
    public OFPacketIn.Builder setInPort(OFPort inPort) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property inPort not supported in version 1.4");
    }
    @Override
    public OFPort getInPhyPort()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property inPhyPort not supported in version 1.4");
    }

    @Override
    public OFPacketIn.Builder setInPhyPort(OFPort inPhyPort) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property inPhyPort not supported in version 1.4");
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFPacketIn.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }


        @Override
        public OFPacketIn build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionTypeSerializerVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFInstructionTypeSerializerVer14.java34
public class OFInstructionTypeSerializerVer13 {

    public final static short GOTO_TABLE_VAL = (short) 0x1;
    public final static short WRITE_METADATA_VAL = (short) 0x2;
    public final static short WRITE_ACTIONS_VAL = (short) 0x3;
    public final static short APPLY_ACTIONS_VAL = (short) 0x4;
    public final static short CLEAR_ACTIONS_VAL = (short) 0x5;
    public final static short EXPERIMENTER_VAL = (short) 0xffff;
    public final static short METER_VAL = (short) 0x6;

    public static Set<OFInstructionType> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFInstructionType> set) {
        bb.writeShort(toWireValue(set));
    }

    public static void putTo(Set<OFInstructionType> set, PrimitiveSink sink) {
        sink.putShort(toWireValue(set));
    }


    public static Set<OFInstructionType> ofWireValue(short val) {
        EnumSet<OFInstructionType> set = EnumSet.noneOf(OFInstructionType.class);

        if((val & GOTO_TABLE_VAL) != 0)
            set.add(OFInstructionType.GOTO_TABLE);
        if((val & WRITE_METADATA_VAL) != 0)
            set.add(OFInstructionType.WRITE_METADATA);
        if((val & WRITE_ACTIONS_VAL) != 0)
            set.add(OFInstructionType.WRITE_ACTIONS);
        if((val & APPLY_ACTIONS_VAL) != 0)
            set.add(OFInstructionType.APPLY_ACTIONS);
        if((val & CLEAR_ACTIONS_VAL) != 0)
            set.add(OFInstructionType.CLEAR_ACTIONS);
        if((val & EXPERIMENTER_VAL) != 0)
            set.add(OFInstructionType.EXPERIMENTER);
        if((val & METER_VAL) != 0)
            set.add(OFInstructionType.METER);
        return Collections.unmodifiableSet(set);
    }

    public static short toWireValue(Set<OFInstructionType> set) {
        short wireValue = 0;

        for(OFInstructionType e: set) {
            switch(e) {
                case GOTO_TABLE:
                    wireValue |= GOTO_TABLE_VAL;
                    break;
                case WRITE_METADATA:
                    wireValue |= WRITE_METADATA_VAL;
                    break;
                case WRITE_ACTIONS:
                    wireValue |= WRITE_ACTIONS_VAL;
                    break;
                case APPLY_ACTIONS:
                    wireValue |= APPLY_ACTIONS_VAL;
                    break;
                case CLEAR_ACTIONS:
                    wireValue |= CLEAR_ACTIONS_VAL;
                    break;
                case EXPERIMENTER:
                    wireValue |= EXPERIMENTER_VAL;
                    break;
                case METER:
                    wireValue |= METER_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFInstructionType in version 1.3: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortFeaturesSerializerVer11.java53
org/projectfloodlight/openflow/protocol/ver12/OFPortFeaturesSerializerVer12.java53
org/projectfloodlight/openflow/protocol/ver13/OFPortFeaturesSerializerVer13.java54
org/projectfloodlight/openflow/protocol/ver14/OFPortFeaturesSerializerVer14.java54
    public static Set<OFPortFeatures> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFPortFeatures> set) {
        bb.writeInt(toWireValue(set));
    }

    public static void putTo(Set<OFPortFeatures> set, PrimitiveSink sink) {
        sink.putInt(toWireValue(set));
    }


    public static Set<OFPortFeatures> ofWireValue(int val) {
        EnumSet<OFPortFeatures> set = EnumSet.noneOf(OFPortFeatures.class);

        if((val & PF_10MB_HD_VAL) != 0)
            set.add(OFPortFeatures.PF_10MB_HD);
        if((val & PF_10MB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_10MB_FD);
        if((val & PF_100MB_HD_VAL) != 0)
            set.add(OFPortFeatures.PF_100MB_HD);
        if((val & PF_100MB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_100MB_FD);
        if((val & PF_1GB_HD_VAL) != 0)
            set.add(OFPortFeatures.PF_1GB_HD);
        if((val & PF_1GB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_1GB_FD);
        if((val & PF_10GB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_10GB_FD);
        if((val & PF_COPPER_VAL) != 0)
            set.add(OFPortFeatures.PF_COPPER);
        if((val & PF_FIBER_VAL) != 0)
            set.add(OFPortFeatures.PF_FIBER);
        if((val & PF_AUTONEG_VAL) != 0)
            set.add(OFPortFeatures.PF_AUTONEG);
        if((val & PF_PAUSE_VAL) != 0)
            set.add(OFPortFeatures.PF_PAUSE);
        if((val & PF_PAUSE_ASYM_VAL) != 0)
            set.add(OFPortFeatures.PF_PAUSE_ASYM);
        if((val & PF_40GB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_40GB_FD);
        if((val & PF_100GB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_100GB_FD);
        if((val & PF_1TB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_1TB_FD);
        if((val & PF_OTHER_VAL) != 0)
            set.add(OFPortFeatures.PF_OTHER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortStatusVer13.java194
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortStatusVer13.java378
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFCircuitPortStatus.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x748771L;
    }

    @Override
    public long getExpType() {
        return 0xcL;
    }

    @Override
    public OFPortReason getReason() {
        return reason;
    }

    @Override
    public OFCircuitPortStatus.Builder setReason(OFPortReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFCircuitPortStatus.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getLengths() {
        return lengths;
    }

    @Override
    public OFCircuitPortStatus.Builder setLengths(int lengths) {
        this.lengths = lengths;
        this.lengthsSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFCircuitPortStatus.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFCircuitPortStatus.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public Set<OFPortConfig> getConfig() {
        return config;
    }

    @Override
    public OFCircuitPortStatus.Builder setConfig(Set<OFPortConfig> config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public Set<OFPortState> getState() {
        return state;
    }

    @Override
    public OFCircuitPortStatus.Builder setState(Set<OFPortState> state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public U64 getIgnore() {
        return ignore;
    }

    @Override
    public OFCircuitPortStatus.Builder setIgnore(U64 ignore) {
        this.ignore = ignore;
        this.ignoreSet = true;
        return this;
    }


        @Override
        public OFCircuitPortStatus build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFeaturesReplyVer10.java172
org/projectfloodlight/openflow/protocol/ver10/OFFeaturesReplyVer10.java328
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.FEATURES_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFeaturesReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public DatapathId getDatapathId() {
        return datapathId;
    }

    @Override
    public OFFeaturesReply.Builder setDatapathId(DatapathId datapathId) {
        this.datapathId = datapathId;
        this.datapathIdSet = true;
        return this;
    }
    @Override
    public long getNBuffers() {
        return nBuffers;
    }

    @Override
    public OFFeaturesReply.Builder setNBuffers(long nBuffers) {
        this.nBuffers = nBuffers;
        this.nBuffersSet = true;
        return this;
    }
    @Override
    public short getNTables() {
        return nTables;
    }

    @Override
    public OFFeaturesReply.Builder setNTables(short nTables) {
        this.nTables = nTables;
        this.nTablesSet = true;
        return this;
    }
    @Override
    public Set<OFCapabilities> getCapabilities() {
        return capabilities;
    }

    @Override
    public OFFeaturesReply.Builder setCapabilities(Set<OFCapabilities> capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public long getReserved()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property reserved not supported in version 1.0");
    }

    @Override
    public OFFeaturesReply.Builder setReserved(long reserved) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property reserved not supported in version 1.0");
    }
    @Override
    public List<OFPortDesc> getPorts() {
        return ports;
    }

    @Override
    public OFFeaturesReply.Builder setPorts(List<OFPortDesc> ports) {
        this.ports = ports;
        this.portsSet = true;
        return this;
    }
    @Override
    public Set<OFActionType> getActions() {
        return actions;
    }

    @Override
    public OFFeaturesReply.Builder setActions(Set<OFActionType> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public OFAuxId getAuxiliaryId()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property auxiliaryId not supported in version 1.0");
    }

    @Override
    public OFFeaturesReply.Builder setAuxiliaryId(OFAuxId auxiliaryId) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property auxiliaryId not supported in version 1.0");
    }


        @Override
        public OFFeaturesReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFeaturesReplyVer11.java169
org/projectfloodlight/openflow/protocol/ver11/OFFeaturesReplyVer11.java323
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.FEATURES_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFeaturesReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public DatapathId getDatapathId() {
        return datapathId;
    }

    @Override
    public OFFeaturesReply.Builder setDatapathId(DatapathId datapathId) {
        this.datapathId = datapathId;
        this.datapathIdSet = true;
        return this;
    }
    @Override
    public long getNBuffers() {
        return nBuffers;
    }

    @Override
    public OFFeaturesReply.Builder setNBuffers(long nBuffers) {
        this.nBuffers = nBuffers;
        this.nBuffersSet = true;
        return this;
    }
    @Override
    public short getNTables() {
        return nTables;
    }

    @Override
    public OFFeaturesReply.Builder setNTables(short nTables) {
        this.nTables = nTables;
        this.nTablesSet = true;
        return this;
    }
    @Override
    public Set<OFCapabilities> getCapabilities() {
        return capabilities;
    }

    @Override
    public OFFeaturesReply.Builder setCapabilities(Set<OFCapabilities> capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public long getReserved() {
        return reserved;
    }

    @Override
    public OFFeaturesReply.Builder setReserved(long reserved) {
        this.reserved = reserved;
        this.reservedSet = true;
        return this;
    }
    @Override
    public List<OFPortDesc> getPorts() {
        return ports;
    }

    @Override
    public OFFeaturesReply.Builder setPorts(List<OFPortDesc> ports) {
        this.ports = ports;
        this.portsSet = true;
        return this;
    }
    @Override
    public Set<OFActionType> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
    }

    @Override
    public OFFeaturesReply.Builder setActions(Set<OFActionType> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.1");
    }
    @Override
    public OFAuxId getAuxiliaryId()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property auxiliaryId not supported in version 1.1");
    }

    @Override
    public OFFeaturesReply.Builder setAuxiliaryId(OFAuxId auxiliaryId) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property auxiliaryId not supported in version 1.1");
    }


        @Override
        public OFFeaturesReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFeaturesReplyVer12.java169
org/projectfloodlight/openflow/protocol/ver12/OFFeaturesReplyVer12.java323
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.FEATURES_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFeaturesReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public DatapathId getDatapathId() {
        return datapathId;
    }

    @Override
    public OFFeaturesReply.Builder setDatapathId(DatapathId datapathId) {
        this.datapathId = datapathId;
        this.datapathIdSet = true;
        return this;
    }
    @Override
    public long getNBuffers() {
        return nBuffers;
    }

    @Override
    public OFFeaturesReply.Builder setNBuffers(long nBuffers) {
        this.nBuffers = nBuffers;
        this.nBuffersSet = true;
        return this;
    }
    @Override
    public short getNTables() {
        return nTables;
    }

    @Override
    public OFFeaturesReply.Builder setNTables(short nTables) {
        this.nTables = nTables;
        this.nTablesSet = true;
        return this;
    }
    @Override
    public Set<OFCapabilities> getCapabilities() {
        return capabilities;
    }

    @Override
    public OFFeaturesReply.Builder setCapabilities(Set<OFCapabilities> capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public long getReserved() {
        return reserved;
    }

    @Override
    public OFFeaturesReply.Builder setReserved(long reserved) {
        this.reserved = reserved;
        this.reservedSet = true;
        return this;
    }
    @Override
    public List<OFPortDesc> getPorts() {
        return ports;
    }

    @Override
    public OFFeaturesReply.Builder setPorts(List<OFPortDesc> ports) {
        this.ports = ports;
        this.portsSet = true;
        return this;
    }
    @Override
    public Set<OFActionType> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.2");
    }

    @Override
    public OFFeaturesReply.Builder setActions(Set<OFActionType> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.2");
    }
    @Override
    public OFAuxId getAuxiliaryId()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property auxiliaryId not supported in version 1.2");
    }

    @Override
    public OFFeaturesReply.Builder setAuxiliaryId(OFAuxId auxiliaryId) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property auxiliaryId not supported in version 1.2");
    }


        @Override
        public OFFeaturesReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFMatchV3Ver12.java300
org/projectfloodlight/openflow/protocol/ver12/OFMatchV3Ver12.java443
org/projectfloodlight/openflow/protocol/ver13/OFMatchV3Ver13.java300
org/projectfloodlight/openflow/protocol/ver13/OFMatchV3Ver13.java445
org/projectfloodlight/openflow/protocol/ver14/OFMatchV3Ver14.java300
org/projectfloodlight/openflow/protocol/ver14/OFMatchV3Ver14.java443
                return new OFMatchV3Ver12(
                    oxmList
                );
        }

    private OFOxmList.Builder oxmListBuilder;

    private void initBuilder() {
        if (oxmListBuilder != null)
            return;
        oxmListBuilder = new OFOxmList.Builder();
    }

    private void updateOxmList() {
        this.oxmList = this.oxmListBuilder.build();
        this.oxmListSet = true;
    }

    private <F extends OFValueType<F>> OFOxm<F> getOxm(MatchField<F> field) {
        return this.oxmListSet ? this.oxmList.get(field) : null;
    }

    @Override
    public <F extends OFValueType<F>> F get(MatchField<F> field)
            throws UnsupportedOperationException {
        OFOxm<F> value = getOxm(field);
        if (value == null)
            return null;
        return value.getValue();
    }

    @Override
    public <F extends OFValueType<F>> Masked<F> getMasked(MatchField<F> field)
            throws UnsupportedOperationException {
        OFOxm<F> value = getOxm(field);
        if (value == null || !value.isMasked())
            return null;
        // TODO: If changing OXMs to extend Masked, then use it here
        return Masked.of(value.getValue(), value.getMask());
    }

    @Override
    public boolean supports(MatchField<?> field) {
        return supportsField(field);
    }

    @Override
    public boolean supportsMasked(MatchField<?> field) {
        return supportsField(field);
    }

    @Override
    public boolean isExact(MatchField<?> field) {
        OFOxm<?> value = getOxm(field);
        return (value != null && !value.isMasked());
    }

    @Override
    public boolean isFullyWildcarded(MatchField<?> field) {
        OFOxm<?> value = getOxm(field);
        return (value == null);
    }

    @Override
    public boolean isPartiallyMasked(MatchField<?> field) {
        OFOxm<?> value = getOxm(field);
        return (value != null && value.isMasked());
    }

    @Override
    public <F extends OFValueType<F>> Match.Builder setExact(
            MatchField<F> field, F value) {
        initBuilder();
        OFOxm<F> oxm = OFFactories.getFactory(OFVersion.OF_12).oxms().fromValue(value, field);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionTypeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFActionTypeSerializerVer14.java30
public class OFActionTypeSerializerVer13 {

    public final static short OUTPUT_VAL = (short) 0x0;
    public final static short COPY_TTL_OUT_VAL = (short) 0xb;
    public final static short COPY_TTL_IN_VAL = (short) 0xc;
    public final static short SET_MPLS_TTL_VAL = (short) 0xf;
    public final static short DEC_MPLS_TTL_VAL = (short) 0x10;
    public final static short PUSH_VLAN_VAL = (short) 0x11;
    public final static short POP_VLAN_VAL = (short) 0x12;
    public final static short PUSH_MPLS_VAL = (short) 0x13;
    public final static short POP_MPLS_VAL = (short) 0x14;
    public final static short SET_QUEUE_VAL = (short) 0x15;
    public final static short GROUP_VAL = (short) 0x16;
    public final static short SET_NW_TTL_VAL = (short) 0x17;
    public final static short DEC_NW_TTL_VAL = (short) 0x18;
    public final static short SET_FIELD_VAL = (short) 0x19;
    public final static short PUSH_PBB_VAL = (short) 0x1a;
    public final static short POP_PBB_VAL = (short) 0x1b;
    public final static short EXPERIMENTER_VAL = (short) 0xffff;

    public static OFActionType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFActionType e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFActionType e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFActionType ofWireValue(short val) {
        switch(val) {
            case OUTPUT_VAL:
                return OFActionType.OUTPUT;
            case COPY_TTL_OUT_VAL:
                return OFActionType.COPY_TTL_OUT;
            case COPY_TTL_IN_VAL:
                return OFActionType.COPY_TTL_IN;
            case SET_MPLS_TTL_VAL:
                return OFActionType.SET_MPLS_TTL;
            case DEC_MPLS_TTL_VAL:
                return OFActionType.DEC_MPLS_TTL;
            case PUSH_VLAN_VAL:
                return OFActionType.PUSH_VLAN;
            case POP_VLAN_VAL:
                return OFActionType.POP_VLAN;
            case PUSH_MPLS_VAL:
                return OFActionType.PUSH_MPLS;
            case POP_MPLS_VAL:
                return OFActionType.POP_MPLS;
            case SET_QUEUE_VAL:
                return OFActionType.SET_QUEUE;
            case GROUP_VAL:
                return OFActionType.GROUP;
            case SET_NW_TTL_VAL:
                return OFActionType.SET_NW_TTL;
            case DEC_NW_TTL_VAL:
                return OFActionType.DEC_NW_TTL;
            case SET_FIELD_VAL:
                return OFActionType.SET_FIELD;
            case PUSH_PBB_VAL:
                return OFActionType.PUSH_PBB;
            case POP_PBB_VAL:
                return OFActionType.POP_PBB;
            case EXPERIMENTER_VAL:
                return OFActionType.EXPERIMENTER;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFActionType in version 1.3: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFeaturesReplyVer13.java168
org/projectfloodlight/openflow/protocol/ver13/OFFeaturesReplyVer13.java322
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.FEATURES_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFeaturesReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public DatapathId getDatapathId() {
        return datapathId;
    }

    @Override
    public OFFeaturesReply.Builder setDatapathId(DatapathId datapathId) {
        this.datapathId = datapathId;
        this.datapathIdSet = true;
        return this;
    }
    @Override
    public long getNBuffers() {
        return nBuffers;
    }

    @Override
    public OFFeaturesReply.Builder setNBuffers(long nBuffers) {
        this.nBuffers = nBuffers;
        this.nBuffersSet = true;
        return this;
    }
    @Override
    public short getNTables() {
        return nTables;
    }

    @Override
    public OFFeaturesReply.Builder setNTables(short nTables) {
        this.nTables = nTables;
        this.nTablesSet = true;
        return this;
    }
    @Override
    public Set<OFCapabilities> getCapabilities() {
        return capabilities;
    }

    @Override
    public OFFeaturesReply.Builder setCapabilities(Set<OFCapabilities> capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public long getReserved() {
        return reserved;
    }

    @Override
    public OFFeaturesReply.Builder setReserved(long reserved) {
        this.reserved = reserved;
        this.reservedSet = true;
        return this;
    }
    @Override
    public List<OFPortDesc> getPorts()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property ports not supported in version 1.3");
    }

    @Override
    public OFFeaturesReply.Builder setPorts(List<OFPortDesc> ports) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property ports not supported in version 1.3");
    }
    @Override
    public Set<OFActionType> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.3");
    }

    @Override
    public OFFeaturesReply.Builder setActions(Set<OFActionType> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.3");
    }
    @Override
    public OFAuxId getAuxiliaryId() {
        return auxiliaryId;
    }

    @Override
    public OFFeaturesReply.Builder setAuxiliaryId(OFAuxId auxiliaryId) {
        this.auxiliaryId = auxiliaryId;
        this.auxiliaryIdSet = true;
        return this;
    }


        @Override
        public OFFeaturesReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFeaturesReplyVer14.java168
org/projectfloodlight/openflow/protocol/ver14/OFFeaturesReplyVer14.java322
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.FEATURES_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFeaturesReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public DatapathId getDatapathId() {
        return datapathId;
    }

    @Override
    public OFFeaturesReply.Builder setDatapathId(DatapathId datapathId) {
        this.datapathId = datapathId;
        this.datapathIdSet = true;
        return this;
    }
    @Override
    public long getNBuffers() {
        return nBuffers;
    }

    @Override
    public OFFeaturesReply.Builder setNBuffers(long nBuffers) {
        this.nBuffers = nBuffers;
        this.nBuffersSet = true;
        return this;
    }
    @Override
    public short getNTables() {
        return nTables;
    }

    @Override
    public OFFeaturesReply.Builder setNTables(short nTables) {
        this.nTables = nTables;
        this.nTablesSet = true;
        return this;
    }
    @Override
    public Set<OFCapabilities> getCapabilities() {
        return capabilities;
    }

    @Override
    public OFFeaturesReply.Builder setCapabilities(Set<OFCapabilities> capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public long getReserved() {
        return reserved;
    }

    @Override
    public OFFeaturesReply.Builder setReserved(long reserved) {
        this.reserved = reserved;
        this.reservedSet = true;
        return this;
    }
    @Override
    public List<OFPortDesc> getPorts()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property ports not supported in version 1.4");
    }

    @Override
    public OFFeaturesReply.Builder setPorts(List<OFPortDesc> ports) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property ports not supported in version 1.4");
    }
    @Override
    public Set<OFActionType> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.4");
    }

    @Override
    public OFFeaturesReply.Builder setActions(Set<OFActionType> actions) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property actions not supported in version 1.4");
    }
    @Override
    public OFAuxId getAuxiliaryId() {
        return auxiliaryId;
    }

    @Override
    public OFFeaturesReply.Builder setAuxiliaryId(OFAuxId auxiliaryId) {
        this.auxiliaryId = auxiliaryId;
        this.auxiliaryIdSet = true;
        return this;
    }


        @Override
        public OFFeaturesReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsReplyVer12.java772
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsReplyVer13.java772
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsReplyVer14.java772
        OFGroupFeaturesStatsReplyVer12 other = (OFGroupFeaturesStatsReplyVer12) obj;

        if( xid != other.xid)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if( types != other.types)
            return false;
        if( capabilities != other.capabilities)
            return false;
        if( maxGroupsAll != other.maxGroupsAll)
            return false;
        if( maxGroupsSelect != other.maxGroupsSelect)
            return false;
        if( maxGroupsIndirect != other.maxGroupsIndirect)
            return false;
        if( maxGroupsFf != other.maxGroupsFf)
            return false;
        if( actionsAll != other.actionsAll)
            return false;
        if( actionsSelect != other.actionsSelect)
            return false;
        if( actionsIndirect != other.actionsIndirect)
            return false;
        if( actionsFf != other.actionsFf)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime *  (int) (types ^ (types >>> 32));
        result = prime *  (int) (capabilities ^ (capabilities >>> 32));
        result = prime *  (int) (maxGroupsAll ^ (maxGroupsAll >>> 32));
        result = prime *  (int) (maxGroupsSelect ^ (maxGroupsSelect >>> 32));
        result = prime *  (int) (maxGroupsIndirect ^ (maxGroupsIndirect >>> 32));
        result = prime *  (int) (maxGroupsFf ^ (maxGroupsFf >>> 32));
        result = prime *  (int) (actionsAll ^ (actionsAll >>> 32));
        result = prime *  (int) (actionsSelect ^ (actionsSelect >>> 32));
        result = prime *  (int) (actionsIndirect ^ (actionsIndirect >>> 32));
        result = prime *  (int) (actionsFf ^ (actionsFf >>> 32));
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFCapabilitiesSerializerVer12.java34
org/projectfloodlight/openflow/protocol/ver13/OFCapabilitiesSerializerVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFCapabilitiesSerializerVer14.java34
public class OFCapabilitiesSerializerVer12 {

    public final static int FLOW_STATS_VAL = 0x1;
    public final static int TABLE_STATS_VAL = 0x2;
    public final static int PORT_STATS_VAL = 0x4;
    public final static int IP_REASM_VAL = 0x20;
    public final static int QUEUE_STATS_VAL = 0x40;
    public final static int GROUP_STATS_VAL = 0x8;
    public final static int PORT_BLOCKED_VAL = 0x100;

    public static Set<OFCapabilities> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFCapabilities> set) {
        bb.writeInt(toWireValue(set));
    }

    public static void putTo(Set<OFCapabilities> set, PrimitiveSink sink) {
        sink.putInt(toWireValue(set));
    }


    public static Set<OFCapabilities> ofWireValue(int val) {
        EnumSet<OFCapabilities> set = EnumSet.noneOf(OFCapabilities.class);

        if((val & FLOW_STATS_VAL) != 0)
            set.add(OFCapabilities.FLOW_STATS);
        if((val & TABLE_STATS_VAL) != 0)
            set.add(OFCapabilities.TABLE_STATS);
        if((val & PORT_STATS_VAL) != 0)
            set.add(OFCapabilities.PORT_STATS);
        if((val & IP_REASM_VAL) != 0)
            set.add(OFCapabilities.IP_REASM);
        if((val & QUEUE_STATS_VAL) != 0)
            set.add(OFCapabilities.QUEUE_STATS);
        if((val & GROUP_STATS_VAL) != 0)
            set.add(OFCapabilities.GROUP_STATS);
        if((val & PORT_BLOCKED_VAL) != 0)
            set.add(OFCapabilities.PORT_BLOCKED);
        return Collections.unmodifiableSet(set);
    }

    public static int toWireValue(Set<OFCapabilities> set) {
        int wireValue = 0;

        for(OFCapabilities e: set) {
            switch(e) {
                case FLOW_STATS:
                    wireValue |= FLOW_STATS_VAL;
                    break;
                case TABLE_STATS:
                    wireValue |= TABLE_STATS_VAL;
                    break;
                case PORT_STATS:
                    wireValue |= PORT_STATS_VAL;
                    break;
                case IP_REASM:
                    wireValue |= IP_REASM_VAL;
                    break;
                case QUEUE_STATS:
                    wireValue |= QUEUE_STATS_VAL;
                    break;
                case GROUP_STATS:
                    wireValue |= GROUP_STATS_VAL;
                    break;
                case PORT_BLOCKED:
                    wireValue |= PORT_BLOCKED_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFCapabilities in version 1.2: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsEntryVer10.java213
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java213
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java213
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java222
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java227
        BuilderWithParent(OFFlowStatsEntryVer10 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowStatsEntry.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsEntry.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsEntry.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFDescStatsReplyVer10.java582
org/projectfloodlight/openflow/protocol/ver11/OFDescStatsReplyVer11.java587
org/projectfloodlight/openflow/protocol/ver12/OFDescStatsReplyVer12.java587
org/projectfloodlight/openflow/protocol/ver13/OFDescStatsReplyVer13.java587
org/projectfloodlight/openflow/protocol/ver14/OFDescStatsReplyVer14.java587
        OFDescStatsReplyVer10 other = (OFDescStatsReplyVer10) obj;

        if( xid != other.xid)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if (mfrDesc == null) {
            if (other.mfrDesc != null)
                return false;
        } else if (!mfrDesc.equals(other.mfrDesc))
            return false;
        if (hwDesc == null) {
            if (other.hwDesc != null)
                return false;
        } else if (!hwDesc.equals(other.hwDesc))
            return false;
        if (swDesc == null) {
            if (other.swDesc != null)
                return false;
        } else if (!swDesc.equals(other.swDesc))
            return false;
        if (serialNum == null) {
            if (other.serialNum != null)
                return false;
        } else if (!serialNum.equals(other.serialNum))
            return false;
        if (dpDesc == null) {
            if (other.dpDesc != null)
                return false;
        } else if (!dpDesc.equals(other.dpDesc))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((mfrDesc == null) ? 0 : mfrDesc.hashCode());
        result = prime * result + ((hwDesc == null) ? 0 : hwDesc.hashCode());
        result = prime * result + ((swDesc == null) ? 0 : swDesc.hashCode());
        result = prime * result + ((serialNum == null) ? 0 : serialNum.hashCode());
        result = prime * result + ((dpDesc == null) ? 0 : dpDesc.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java212
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java222
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java222
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java222
        BuilderWithParent(OFPortDescVer10 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortDesc.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortDesc.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFPortDesc.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public Set<OFPortConfig> getConfig() {
        return config;
    }

    @Override
    public OFPortDesc.Builder setConfig(Set<OFPortConfig> config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public Set<OFPortState> getState() {
        return state;
    }

    @Override
    public OFPortDesc.Builder setState(Set<OFPortState> state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getCurr() {
        return curr;
    }

    @Override
    public OFPortDesc.Builder setCurr(Set<OFPortFeatures> curr) {
        this.curr = curr;
        this.currSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getAdvertised() {
        return advertised;
    }

    @Override
    public OFPortDesc.Builder setAdvertised(Set<OFPortFeatures> advertised) {
        this.advertised = advertised;
        this.advertisedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getSupported() {
        return supported;
    }

    @Override
    public OFPortDesc.Builder setSupported(Set<OFPortFeatures> supported) {
        this.supported = supported;
        this.supportedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getPeer() {
        return peer;
    }

    @Override
    public OFPortDesc.Builder setPeer(Set<OFPortFeatures> peer) {
        this.peer = peer;
        this.peerSet = true;
        return this;
    }
    @Override
    public long getCurrSpeed()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBadActionCodeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFBadActionCodeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFBadActionCodeSerializerVer14.java30
public class OFBadActionCodeSerializerVer12 {

    public final static short BAD_TYPE_VAL = (short) 0x0;
    public final static short BAD_LEN_VAL = (short) 0x1;
    public final static short BAD_EXPERIMENTER_VAL = (short) 0x2;
    public final static short BAD_EXPERIMENTER_TYPE_VAL = (short) 0x3;
    public final static short BAD_OUT_PORT_VAL = (short) 0x4;
    public final static short BAD_ARGUMENT_VAL = (short) 0x5;
    public final static short EPERM_VAL = (short) 0x6;
    public final static short TOO_MANY_VAL = (short) 0x7;
    public final static short BAD_QUEUE_VAL = (short) 0x8;
    public final static short BAD_OUT_GROUP_VAL = (short) 0x9;
    public final static short MATCH_INCONSISTENT_VAL = (short) 0xa;
    public final static short UNSUPPORTED_ORDER_VAL = (short) 0xb;
    public final static short BAD_TAG_VAL = (short) 0xc;
    public final static short BAD_SET_TYPE_VAL = (short) 0xd;
    public final static short BAD_SET_LEN_VAL = (short) 0xe;
    public final static short BAD_SET_ARGUMENT_VAL = (short) 0xf;

    public static OFBadActionCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBadActionCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFBadActionCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFBadActionCode ofWireValue(short val) {
        switch(val) {
            case BAD_TYPE_VAL:
                return OFBadActionCode.BAD_TYPE;
            case BAD_LEN_VAL:
                return OFBadActionCode.BAD_LEN;
            case BAD_EXPERIMENTER_VAL:
                return OFBadActionCode.BAD_EXPERIMENTER;
            case BAD_EXPERIMENTER_TYPE_VAL:
                return OFBadActionCode.BAD_EXPERIMENTER_TYPE;
            case BAD_OUT_PORT_VAL:
                return OFBadActionCode.BAD_OUT_PORT;
            case BAD_ARGUMENT_VAL:
                return OFBadActionCode.BAD_ARGUMENT;
            case EPERM_VAL:
                return OFBadActionCode.EPERM;
            case TOO_MANY_VAL:
                return OFBadActionCode.TOO_MANY;
            case BAD_QUEUE_VAL:
                return OFBadActionCode.BAD_QUEUE;
            case BAD_OUT_GROUP_VAL:
                return OFBadActionCode.BAD_OUT_GROUP;
            case MATCH_INCONSISTENT_VAL:
                return OFBadActionCode.MATCH_INCONSISTENT;
            case UNSUPPORTED_ORDER_VAL:
                return OFBadActionCode.UNSUPPORTED_ORDER;
            case BAD_TAG_VAL:
                return OFBadActionCode.BAD_TAG;
            case BAD_SET_TYPE_VAL:
                return OFBadActionCode.BAD_SET_TYPE;
            case BAD_SET_LEN_VAL:
                return OFBadActionCode.BAD_SET_LEN;
            case BAD_SET_ARGUMENT_VAL:
                return OFBadActionCode.BAD_SET_ARGUMENT;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFBadActionCode in version 1.2: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsRequestVer13.java188
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsRequestVer13.java358
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFCalientFlowStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFCalientFlowStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x80f958L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFCalientFlowStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getOutPort() {
        return outPort;
    }

    @Override
    public OFCalientFlowStatsRequest.Builder setOutPort(long outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public long getOutGroup() {
        return outGroup;
    }

    @Override
    public OFCalientFlowStatsRequest.Builder setOutGroup(long outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFCalientFlowStatsRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFCalientFlowStatsRequest.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFCalientFlowStatsRequest.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFCalientFlowStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsEntryVer10.java217
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java441
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java441
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java458
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java469
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowStatsEntry.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsEntry.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsEntry.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsEntryVer10.java441
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java217
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java217
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java226
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java231
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowStatsEntry.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowStatsEntry.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsEntry.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsEntry.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public List<OFInstruction> getInstructions()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFInstructionTypeSerializerVer11.java34
org/projectfloodlight/openflow/protocol/ver12/OFInstructionTypeSerializerVer12.java34
public class OFInstructionTypeSerializerVer11 {

    public final static short GOTO_TABLE_VAL = (short) 0x1;
    public final static short WRITE_METADATA_VAL = (short) 0x2;
    public final static short WRITE_ACTIONS_VAL = (short) 0x3;
    public final static short APPLY_ACTIONS_VAL = (short) 0x4;
    public final static short CLEAR_ACTIONS_VAL = (short) 0x5;
    public final static short EXPERIMENTER_VAL = (short) 0xffff;

    public static Set<OFInstructionType> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFInstructionType> set) {
        bb.writeShort(toWireValue(set));
    }

    public static void putTo(Set<OFInstructionType> set, PrimitiveSink sink) {
        sink.putShort(toWireValue(set));
    }


    public static Set<OFInstructionType> ofWireValue(short val) {
        EnumSet<OFInstructionType> set = EnumSet.noneOf(OFInstructionType.class);

        if((val & GOTO_TABLE_VAL) != 0)
            set.add(OFInstructionType.GOTO_TABLE);
        if((val & WRITE_METADATA_VAL) != 0)
            set.add(OFInstructionType.WRITE_METADATA);
        if((val & WRITE_ACTIONS_VAL) != 0)
            set.add(OFInstructionType.WRITE_ACTIONS);
        if((val & APPLY_ACTIONS_VAL) != 0)
            set.add(OFInstructionType.APPLY_ACTIONS);
        if((val & CLEAR_ACTIONS_VAL) != 0)
            set.add(OFInstructionType.CLEAR_ACTIONS);
        if((val & EXPERIMENTER_VAL) != 0)
            set.add(OFInstructionType.EXPERIMENTER);
        return Collections.unmodifiableSet(set);
    }

    public static short toWireValue(Set<OFInstructionType> set) {
        short wireValue = 0;

        for(OFInstructionType e: set) {
            switch(e) {
                case GOTO_TABLE:
                    wireValue |= GOTO_TABLE_VAL;
                    break;
                case WRITE_METADATA:
                    wireValue |= WRITE_METADATA_VAL;
                    break;
                case WRITE_ACTIONS:
                    wireValue |= WRITE_ACTIONS_VAL;
                    break;
                case APPLY_ACTIONS:
                    wireValue |= APPLY_ACTIONS_VAL;
                    break;
                case CLEAR_ACTIONS:
                    wireValue |= CLEAR_ACTIONS_VAL;
                    break;
                case EXPERIMENTER:
                    wireValue |= EXPERIMENTER_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFInstructionType in version 1.1: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowModFlagsSerializerVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFFlowModFlagsSerializerVer14.java34
public class OFFlowModFlagsSerializerVer13 {

    public final static short SEND_FLOW_REM_VAL = (short) 0x1;
    public final static short CHECK_OVERLAP_VAL = (short) 0x2;
    public final static short RESET_COUNTS_VAL = (short) 0x4;
    public final static short NO_PKT_COUNTS_VAL = (short) 0x8;
    public final static short NO_BYT_COUNTS_VAL = (short) 0x10;
    public final static short BSN_SEND_IDLE_VAL = (short) 0x80;

    public static Set<OFFlowModFlags> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFFlowModFlags> set) {
        bb.writeShort(toWireValue(set));
    }

    public static void putTo(Set<OFFlowModFlags> set, PrimitiveSink sink) {
        sink.putShort(toWireValue(set));
    }


    public static Set<OFFlowModFlags> ofWireValue(short val) {
        EnumSet<OFFlowModFlags> set = EnumSet.noneOf(OFFlowModFlags.class);

        if((val & SEND_FLOW_REM_VAL) != 0)
            set.add(OFFlowModFlags.SEND_FLOW_REM);
        if((val & CHECK_OVERLAP_VAL) != 0)
            set.add(OFFlowModFlags.CHECK_OVERLAP);
        if((val & RESET_COUNTS_VAL) != 0)
            set.add(OFFlowModFlags.RESET_COUNTS);
        if((val & NO_PKT_COUNTS_VAL) != 0)
            set.add(OFFlowModFlags.NO_PKT_COUNTS);
        if((val & NO_BYT_COUNTS_VAL) != 0)
            set.add(OFFlowModFlags.NO_BYT_COUNTS);
        if((val & BSN_SEND_IDLE_VAL) != 0)
            set.add(OFFlowModFlags.BSN_SEND_IDLE);
        return Collections.unmodifiableSet(set);
    }

    public static short toWireValue(Set<OFFlowModFlags> set) {
        short wireValue = 0;

        for(OFFlowModFlags e: set) {
            switch(e) {
                case SEND_FLOW_REM:
                    wireValue |= SEND_FLOW_REM_VAL;
                    break;
                case CHECK_OVERLAP:
                    wireValue |= CHECK_OVERLAP_VAL;
                    break;
                case RESET_COUNTS:
                    wireValue |= RESET_COUNTS_VAL;
                    break;
                case NO_PKT_COUNTS:
                    wireValue |= NO_PKT_COUNTS_VAL;
                    break;
                case NO_BYT_COUNTS:
                    wireValue |= NO_BYT_COUNTS_VAL;
                    break;
                case BSN_SEND_IDLE:
                    wireValue |= BSN_SEND_IDLE_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFFlowModFlags in version 1.3: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java852
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java852
        OFBsnLacpConvergenceNotifVer13 other = (OFBsnLacpConvergenceNotifVer13) obj;

        if( xid != other.xid)
            return false;
        if( convergenceStatus != other.convergenceStatus)
            return false;
        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if( actorSysPriority != other.actorSysPriority)
            return false;
        if (actorSysMac == null) {
            if (other.actorSysMac != null)
                return false;
        } else if (!actorSysMac.equals(other.actorSysMac))
            return false;
        if( actorPortPriority != other.actorPortPriority)
            return false;
        if( actorPortNum != other.actorPortNum)
            return false;
        if( actorKey != other.actorKey)
            return false;
        if( partnerSysPriority != other.partnerSysPriority)
            return false;
        if (partnerSysMac == null) {
            if (other.partnerSysMac != null)
                return false;
        } else if (!partnerSysMac.equals(other.partnerSysMac))
            return false;
        if( partnerPortPriority != other.partnerPortPriority)
            return false;
        if( partnerPortNum != other.partnerPortNum)
            return false;
        if( partnerKey != other.partnerKey)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + convergenceStatus;
        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime * result + actorSysPriority;
        result = prime * result + ((actorSysMac == null) ? 0 : actorSysMac.hashCode());
        result = prime * result + actorPortPriority;
        result = prime * result + actorPortNum;
        result = prime * result + actorKey;
        result = prime * result + partnerSysPriority;
        result = prime * result + ((partnerSysMac == null) ? 0 : partnerSysMac.hashCode());
        result = prime * result + partnerPortPriority;
        result = prime * result + partnerPortNum;
        result = prime * result + partnerKey;
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java655
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java655
        OFPacketInVer13 other = (OFPacketInVer13) obj;

        if( xid != other.xid)
            return false;
        if (bufferId == null) {
            if (other.bufferId != null)
                return false;
        } else if (!bufferId.equals(other.bufferId))
            return false;
        if( totalLen != other.totalLen)
            return false;
        if (reason == null) {
            if (other.reason != null)
                return false;
        } else if (!reason.equals(other.reason))
            return false;
        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if (cookie == null) {
            if (other.cookie != null)
                return false;
        } else if (!cookie.equals(other.cookie))
            return false;
        if (match == null) {
            if (other.match != null)
                return false;
        } else if (!match.equals(other.match))
            return false;
        if (!Arrays.equals(data, other.data))
                return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((bufferId == null) ? 0 : bufferId.hashCode());
        result = prime * result + totalLen;
        result = prime * result + ((reason == null) ? 0 : reason.hashCode());
        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime * result + ((cookie == null) ? 0 : cookie.hashCode());
        result = prime * result + ((match == null) ? 0 : match.hashCode());
        result = prime * result + Arrays.hashCode(data);
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java216
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java438
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java438
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java438
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortDesc.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortDesc.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFPortDesc.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public Set<OFPortConfig> getConfig() {
        return config;
    }

    @Override
    public OFPortDesc.Builder setConfig(Set<OFPortConfig> config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public Set<OFPortState> getState() {
        return state;
    }

    @Override
    public OFPortDesc.Builder setState(Set<OFPortState> state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getCurr() {
        return curr;
    }

    @Override
    public OFPortDesc.Builder setCurr(Set<OFPortFeatures> curr) {
        this.curr = curr;
        this.currSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getAdvertised() {
        return advertised;
    }

    @Override
    public OFPortDesc.Builder setAdvertised(Set<OFPortFeatures> advertised) {
        this.advertised = advertised;
        this.advertisedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getSupported() {
        return supported;
    }

    @Override
    public OFPortDesc.Builder setSupported(Set<OFPortFeatures> supported) {
        this.supported = supported;
        this.supportedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getPeer() {
        return peer;
    }

    @Override
    public OFPortDesc.Builder setPeer(Set<OFPortFeatures> peer) {
        this.peer = peer;
        this.peerSet = true;
        return this;
    }
    @Override
    public long getCurrSpeed()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java416
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java226
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java226
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java226
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortDesc.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortDesc.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFPortDesc.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public Set<OFPortConfig> getConfig() {
        return config;
    }

    @Override
    public OFPortDesc.Builder setConfig(Set<OFPortConfig> config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public Set<OFPortState> getState() {
        return state;
    }

    @Override
    public OFPortDesc.Builder setState(Set<OFPortState> state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getCurr() {
        return curr;
    }

    @Override
    public OFPortDesc.Builder setCurr(Set<OFPortFeatures> curr) {
        this.curr = curr;
        this.currSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getAdvertised() {
        return advertised;
    }

    @Override
    public OFPortDesc.Builder setAdvertised(Set<OFPortFeatures> advertised) {
        this.advertised = advertised;
        this.advertisedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getSupported() {
        return supported;
    }

    @Override
    public OFPortDesc.Builder setSupported(Set<OFPortFeatures> supported) {
        this.supported = supported;
        this.supportedSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getPeer() {
        return peer;
    }

    @Override
    public OFPortDesc.Builder setPeer(Set<OFPortFeatures> peer) {
        this.peer = peer;
        this.peerSet = true;
        return this;
    }
    @Override
    public long getCurrSpeed()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFMatchV3Ver12.java95
org/projectfloodlight/openflow/protocol/ver13/OFMatchV3Ver13.java95
org/projectfloodlight/openflow/protocol/ver14/OFMatchV3Ver14.java95
            throw new UnsupportedOperationException("OFMatchV3Ver12 does not support masked matching on field " + field.getName());

        OFOxm<F> oxm = this.oxmList.get(field);

        if (oxm == null || !field.arePrerequisitesOK(this))
            return null;

        if (oxm.getMask() == null)
            return null;

        // TODO: Make OfOxm extend Masked and just return the OXM?
        return Masked.of(oxm.getValue(), oxm.getMask());
    }

    private static boolean supportsField(MatchField<?> field) {
        switch (field.id) {
            case ARP_OP:
            case ARP_SHA:
            case ARP_SPA:
            case ARP_THA:
            case ARP_TPA:
            case BSN_EGR_PORT_GROUP_ID:
            case BSN_GLOBAL_VRF_ALLOWED:
            case BSN_INGRESS_PORT_GROUP_ID:
            case BSN_INNER_ETH_DST:
            case BSN_INNER_ETH_SRC:
            case BSN_IN_PORTS_128:
            case BSN_IN_PORTS_512:
            case BSN_L2_CACHE_HIT:
            case BSN_L3_DST_CLASS_ID:
            case BSN_L3_INTERFACE_CLASS_ID:
            case BSN_L3_SRC_CLASS_ID:
            case BSN_LAG_ID:
            case BSN_TCP_FLAGS:
            case BSN_UDF0:
            case BSN_UDF1:
            case BSN_UDF2:
            case BSN_UDF3:
            case BSN_UDF4:
            case BSN_UDF5:
            case BSN_UDF6:
            case BSN_UDF7:
            case BSN_VLAN_XLATE_PORT_GROUP_ID:
            case BSN_VRF:
            case BSN_VXLAN_NETWORK_ID:
            case ETH_DST:
            case ETH_SRC:
            case ETH_TYPE:
            case ICMPV4_CODE:
            case ICMPV4_TYPE:
            case ICMPV6_CODE:
            case ICMPV6_TYPE:
            case IN_PHY_PORT:
            case IN_PORT:
            case IPV4_DST:
            case IPV4_SRC:
            case IPV6_DST:
            case IPV6_EXTHDR:
            case IPV6_FLABEL:
            case IPV6_ND_SLL:
            case IPV6_ND_TARGET:
            case IPV6_ND_TLL:
            case IPV6_SRC:
            case IP_DSCP:
            case IP_ECN:
            case IP_PROTO:
            case METADATA:
            case MPLS_BOS:
            case MPLS_LABEL:
            case MPLS_TC:
            case OCH_SIGID:
            case OCH_SIGID_BASIC:
            case OCH_SIGTYPE:
            case OCH_SIGTYPE_BASIC:
            case PBB_UCA:
            case SCTP_DST:
            case SCTP_SRC:
            case TCP_DST:
            case TCP_SRC:
            case TUNNEL_ID:
            case TUNNEL_IPV4_DST:
            case TUNNEL_IPV4_SRC:
            case UDP_DST:
            case UDP_SRC:
            case VLAN_PCP:
            case VLAN_VID:
                return true;
            default:
                return false;
        }
    }

    @Override
    public boolean supports(MatchField<?> field) {
        return supportsField(field);
    }

    @Override
    public boolean supportsMasked(MatchField<?> field) {
        return supportsField(field);
    }

    @Override
    public boolean isExact(MatchField<?> field) {
        if (!supports(field))
            throw new UnsupportedOperationException("OFMatchV3Ver12 does not support matching on field " + field.getName());
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFPortDescPropOpticalVer14.java167
org/projectfloodlight/openflow/protocol/ver14/OFPortDescPropOpticalVer14.java327
    @Override
    public int getType() {
        return 0x1;
    }

    @Override
    public long getSupported() {
        return supported;
    }

    @Override
    public OFPortDescPropOptical.Builder setSupported(long supported) {
        this.supported = supported;
        this.supportedSet = true;
        return this;
    }
    @Override
    public long getTxMinFreqLmda() {
        return txMinFreqLmda;
    }

    @Override
    public OFPortDescPropOptical.Builder setTxMinFreqLmda(long txMinFreqLmda) {
        this.txMinFreqLmda = txMinFreqLmda;
        this.txMinFreqLmdaSet = true;
        return this;
    }
    @Override
    public long getTxMaxFreqLmda() {
        return txMaxFreqLmda;
    }

    @Override
    public OFPortDescPropOptical.Builder setTxMaxFreqLmda(long txMaxFreqLmda) {
        this.txMaxFreqLmda = txMaxFreqLmda;
        this.txMaxFreqLmdaSet = true;
        return this;
    }
    @Override
    public long getTxGridFreqLmda() {
        return txGridFreqLmda;
    }

    @Override
    public OFPortDescPropOptical.Builder setTxGridFreqLmda(long txGridFreqLmda) {
        this.txGridFreqLmda = txGridFreqLmda;
        this.txGridFreqLmdaSet = true;
        return this;
    }
    @Override
    public long getRxMinFreqLmda() {
        return rxMinFreqLmda;
    }

    @Override
    public OFPortDescPropOptical.Builder setRxMinFreqLmda(long rxMinFreqLmda) {
        this.rxMinFreqLmda = rxMinFreqLmda;
        this.rxMinFreqLmdaSet = true;
        return this;
    }
    @Override
    public long getRxMaxFreqLmda() {
        return rxMaxFreqLmda;
    }

    @Override
    public OFPortDescPropOptical.Builder setRxMaxFreqLmda(long rxMaxFreqLmda) {
        this.rxMaxFreqLmda = rxMaxFreqLmda;
        this.rxMaxFreqLmdaSet = true;
        return this;
    }
    @Override
    public long getRxGridFreqLmda() {
        return rxGridFreqLmda;
    }

    @Override
    public OFPortDescPropOptical.Builder setRxGridFreqLmda(long rxGridFreqLmda) {
        this.rxGridFreqLmda = rxGridFreqLmda;
        this.rxGridFreqLmdaSet = true;
        return this;
    }
    @Override
    public long getTxPwrMin() {
        return txPwrMin;
    }

    @Override
    public OFPortDescPropOptical.Builder setTxPwrMin(long txPwrMin) {
        this.txPwrMin = txPwrMin;
        this.txPwrMinSet = true;
        return this;
    }
    @Override
    public long getTxPwrMax() {
        return txPwrMax;
    }

    @Override
    public OFPortDescPropOptical.Builder setTxPwrMax(long txPwrMax) {
        this.txPwrMax = txPwrMax;
        this.txPwrMaxSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFPortDescPropOptical build() {
                long supported = this.supportedSet ? this.supported : parentMessage.supported;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsRequestVer13.java153
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsRequestVer14.java153
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setChecksumMask(U128 checksumMask) {
        this.checksumMask = checksumMask;
        this.checksumMaskSet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                GenTableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                U128 checksum = this.checksumSet ? this.checksum : parentMessage.checksum;
                if(checksum == null)
                    throw new NullPointerException("Property checksum must not be null");
                U128 checksumMask = this.checksumMaskSet ? this.checksumMask : parentMessage.checksumMask;
                if(checksumMask == null)
                    throw new NullPointerException("Property checksumMask must not be null");

                //
                return new OFBsnGentableEntryDescStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsRequestVer13.java153
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsRequestVer14.java153
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setChecksumMask(U128 checksumMask) {
        this.checksumMask = checksumMask;
        this.checksumMaskSet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                GenTableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                U128 checksum = this.checksumSet ? this.checksum : parentMessage.checksum;
                if(checksum == null)
                    throw new NullPointerException("Property checksum must not be null");
                U128 checksumMask = this.checksumMaskSet ? this.checksumMask : parentMessage.checksumMask;
                if(checksumMask == null)
                    throw new NullPointerException("Property checksumMask must not be null");

                //
                return new OFBsnGentableEntryStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryAddVer13.java149
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryAddVer14.java149
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2eL;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getValue() {
        return value;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setValue(List<OFBsnTlv> value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                GenTableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                U128 checksum = this.checksumSet ? this.checksum : parentMessage.checksum;
                if(checksum == null)
                    throw new NullPointerException("Property checksum must not be null");
                List<OFBsnTlv> key = this.keySet ? this.key : parentMessage.key;
                if(key == null)
                    throw new NullPointerException("Property key must not be null");
                List<OFBsnTlv> value = this.valueSet ? this.value : parentMessage.value;
                if(value == null)
                    throw new NullPointerException("Property value must not be null");

                //
                return new OFBsnGentableEntryAddVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFAggregateStatsRequestVer10.java160
org/projectfloodlight/openflow/protocol/ver10/OFAggregateStatsRequestVer10.java300
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAggregateStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFAggregateStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFAggregateStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFAggregateStatsRequest.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property outGroup not supported in version 1.0");
    }

    @Override
    public OFAggregateStatsRequest.Builder setOutGroup(OFGroup outGroup) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property outGroup not supported in version 1.0");
    }
    @Override
    public U64 getCookie()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property cookie not supported in version 1.0");
    }

    @Override
    public OFAggregateStatsRequest.Builder setCookie(U64 cookie) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property cookie not supported in version 1.0");
    }
    @Override
    public U64 getCookieMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property cookieMask not supported in version 1.0");
    }

    @Override
    public OFAggregateStatsRequest.Builder setCookieMask(U64 cookieMask) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property cookieMask not supported in version 1.0");
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFAggregateStatsRequest.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFAggregateStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionRequestVer10.java153
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionRequestVer11.java153
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionRequestVer12.java153
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionRequestVer13.java153
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionRequestVer14.java153
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }

    @Override
    public boolean isEnabled() {
        return enabled;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setEnabled(boolean enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }


        @Override
        public OFBsnSetPktinSuppressionRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                boolean enabled = this.enabledSet ? this.enabled : parentMessage.enabled;
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");

                //
                return new OFBsnSetPktinSuppressionRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsRequestVer10.java160
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsRequestVer10.java300
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.FLOW;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowStatsRequest.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property outGroup not supported in version 1.0");
    }

    @Override
    public OFFlowStatsRequest.Builder setOutGroup(OFGroup outGroup) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property outGroup not supported in version 1.0");
    }
    @Override
    public U64 getCookie()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property cookie not supported in version 1.0");
    }

    @Override
    public OFFlowStatsRequest.Builder setCookie(U64 cookie) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property cookie not supported in version 1.0");
    }
    @Override
    public U64 getCookieMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property cookieMask not supported in version 1.0");
    }

    @Override
    public OFFlowStatsRequest.Builder setCookieMask(U64 cookieMask) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property cookieMask not supported in version 1.0");
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsRequest.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFFlowStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupModFailedCodeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFGroupModFailedCodeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFGroupModFailedCodeSerializerVer14.java30
public class OFGroupModFailedCodeSerializerVer12 {

    public final static short GROUP_EXISTS_VAL = (short) 0x0;
    public final static short INVALID_GROUP_VAL = (short) 0x1;
    public final static short WEIGHT_UNSUPPORTED_VAL = (short) 0x2;
    public final static short OUT_OF_GROUPS_VAL = (short) 0x3;
    public final static short OUT_OF_BUCKETS_VAL = (short) 0x4;
    public final static short CHAINING_UNSUPPORTED_VAL = (short) 0x5;
    public final static short WATCH_UNSUPPORTED_VAL = (short) 0x6;
    public final static short LOOP_VAL = (short) 0x7;
    public final static short UNKNOWN_GROUP_VAL = (short) 0x8;
    public final static short CHAINED_GROUP_VAL = (short) 0x9;
    public final static short BAD_TYPE_VAL = (short) 0xa;
    public final static short BAD_COMMAND_VAL = (short) 0xb;
    public final static short BAD_BUCKET_VAL = (short) 0xc;
    public final static short BAD_WATCH_VAL = (short) 0xd;
    public final static short EPERM_VAL = (short) 0xe;

    public static OFGroupModFailedCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFGroupModFailedCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFGroupModFailedCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFGroupModFailedCode ofWireValue(short val) {
        switch(val) {
            case GROUP_EXISTS_VAL:
                return OFGroupModFailedCode.GROUP_EXISTS;
            case INVALID_GROUP_VAL:
                return OFGroupModFailedCode.INVALID_GROUP;
            case WEIGHT_UNSUPPORTED_VAL:
                return OFGroupModFailedCode.WEIGHT_UNSUPPORTED;
            case OUT_OF_GROUPS_VAL:
                return OFGroupModFailedCode.OUT_OF_GROUPS;
            case OUT_OF_BUCKETS_VAL:
                return OFGroupModFailedCode.OUT_OF_BUCKETS;
            case CHAINING_UNSUPPORTED_VAL:
                return OFGroupModFailedCode.CHAINING_UNSUPPORTED;
            case WATCH_UNSUPPORTED_VAL:
                return OFGroupModFailedCode.WATCH_UNSUPPORTED;
            case LOOP_VAL:
                return OFGroupModFailedCode.LOOP;
            case UNKNOWN_GROUP_VAL:
                return OFGroupModFailedCode.UNKNOWN_GROUP;
            case CHAINED_GROUP_VAL:
                return OFGroupModFailedCode.CHAINED_GROUP;
            case BAD_TYPE_VAL:
                return OFGroupModFailedCode.BAD_TYPE;
            case BAD_COMMAND_VAL:
                return OFGroupModFailedCode.BAD_COMMAND;
            case BAD_BUCKET_VAL:
                return OFGroupModFailedCode.BAD_BUCKET;
            case BAD_WATCH_VAL:
                return OFGroupModFailedCode.BAD_WATCH;
            case EPERM_VAL:
                return OFGroupModFailedCode.EPERM;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFGroupModFailedCode in version 1.2: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsRequestVer13.java276
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsRequestVer14.java276
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setChecksumMask(U128 checksumMask) {
        this.checksumMask = checksumMask;
        this.checksumMaskSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableEntryDescStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            if(!this.tableIdSet)
                throw new IllegalStateException("Property tableId doesn't have default value -- must be set");
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            U128 checksum = this.checksumSet ? this.checksum : DEFAULT_CHECKSUM;
            if(checksum == null)
                throw new NullPointerException("Property checksum must not be null");
            U128 checksumMask = this.checksumMaskSet ? this.checksumMask : DEFAULT_CHECKSUM_MASK;
            if(checksumMask == null)
                throw new NullPointerException("Property checksumMask must not be null");


            return new OFBsnGentableEntryDescStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsRequestVer13.java276
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsRequestVer14.java276
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setChecksumMask(U128 checksumMask) {
        this.checksumMask = checksumMask;
        this.checksumMaskSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableEntryStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            if(!this.tableIdSet)
                throw new IllegalStateException("Property tableId doesn't have default value -- must be set");
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            U128 checksum = this.checksumSet ? this.checksum : DEFAULT_CHECKSUM;
            if(checksum == null)
                throw new NullPointerException("Property checksum must not be null");
            U128 checksumMask = this.checksumMaskSet ? this.checksumMask : DEFAULT_CHECKSUM_MASK;
            if(checksumMask == null)
                throw new NullPointerException("Property checksumMask must not be null");


            return new OFBsnGentableEntryStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java399
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java1070
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java1860
        switch (field.id) {
            case IN_PORT:
                return (this.wildcards & OFPFW_IN_PORT) == 0;
            case ETH_DST:
                return (this.wildcards & OFPFW_DL_DST) == 0;
            case ETH_SRC:
                return (this.wildcards & OFPFW_DL_SRC) == 0;
            case ETH_TYPE:
                return (this.wildcards & OFPFW_DL_TYPE) == 0;
            case VLAN_VID:
                return (this.wildcards & OFPFW_DL_VLAN) == 0;
            case VLAN_PCP:
                return (this.wildcards & OFPFW_DL_VLAN_PCP) == 0;
            case ARP_OP:
                return (this.wildcards & OFPFW_NW_PROTO) == 0;
            case ARP_SPA:
                return this.getIpv4SrcCidrMaskLen() >= 32;
            case ARP_TPA:
                return this.getIpv4DstCidrMaskLen() >= 32;
            case IP_DSCP:
                return (this.wildcards & OFPFW_NW_TOS) == 0;
            case IP_PROTO:
                return (this.wildcards & OFPFW_NW_PROTO) == 0;
            case IPV4_SRC:
                return this.getIpv4SrcCidrMaskLen() >= 32;
            case IPV4_DST:
                return this.getIpv4DstCidrMaskLen() >= 32;
            case TCP_SRC:
                return (this.wildcards & OFPFW_TP_SRC) == 0;
            case TCP_DST:
                return (this.wildcards & OFPFW_TP_DST) == 0;
            case UDP_SRC:
                return (this.wildcards & OFPFW_TP_SRC) == 0;
            case UDP_DST:
                return (this.wildcards & OFPFW_TP_DST) == 0;
            case SCTP_SRC:
                return (this.wildcards & OFPFW_TP_SRC) == 0;
            case SCTP_DST:
                return (this.wildcards & OFPFW_TP_DST) == 0;
            case ICMPV4_TYPE:
                return (this.wildcards & OFPFW_TP_SRC) == 0;
            case ICMPV4_CODE:
                return (this.wildcards & OFPFW_TP_DST) == 0;
            default:
                throw new UnsupportedOperationException("OFMatch does not support matching on field " + field.getName());
        }
    }

    /**
     * Parse this match's wildcard fields and return the number of significant
     * bits in the IP destination field. NOTE: this returns the number of bits
     * that are fixed, i.e., like CIDR, not the number of bits that are free
     * like OpenFlow encodes.
     *
     * @return A number between 0 (matches all IPs) and 32 (exact match)
     */
    public int getIpv4DstCidrMaskLen() {
        return Math.max(32 - ((wildcards & OFPFW_NW_DST_MASK) >> OFPFW_NW_DST_SHIFT),
                        0);
    }

    /**
     * Parse this match's wildcard fields and return the number of significant
     * bits in the IP destination field. NOTE: this returns the number of bits
     * that are fixed, i.e., like CIDR, not the number of bits that are free
     * like OpenFlow encodes.
     *
     * @return A number between 0 (matches all IPs) and 32 (exact match)
     */
    public int getIpv4SrcCidrMaskLen() {
        return Math.max(32 - ((wildcards & OFPFW_NW_SRC_MASK) >> OFPFW_NW_SRC_SHIFT),
                        0);
    }


    @Override
    public boolean isFullyWildcarded(MatchField<?> field) {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpRequestVer13.java173
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpRequestVer13.java332
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x29L;
    }

    @Override
    public short getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setEnabled(short enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorSysPriority(int actorSysPriority) {
        this.actorSysPriority = actorSysPriority;
        this.actorSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorSysMac(MacAddress actorSysMac) {
        this.actorSysMac = actorSysMac;
        this.actorSysMacSet = true;
        return this;
    }
    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorPortPriority(int actorPortPriority) {
        this.actorPortPriority = actorPortPriority;
        this.actorPortPrioritySet = true;
        return this;
    }
    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorPortNum(int actorPortNum) {
        this.actorPortNum = actorPortNum;
        this.actorPortNumSet = true;
        return this;
    }
    @Override
    public int getActorKey() {
        return actorKey;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorKey(int actorKey) {
        this.actorKey = actorKey;
        this.actorKeySet = true;
        return this;
    }


        @Override
        public OFBsnSetLacpRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpRequestVer14.java173
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpRequestVer14.java332
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x29L;
    }

    @Override
    public short getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setEnabled(short enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorSysPriority(int actorSysPriority) {
        this.actorSysPriority = actorSysPriority;
        this.actorSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorSysMac(MacAddress actorSysMac) {
        this.actorSysMac = actorSysMac;
        this.actorSysMacSet = true;
        return this;
    }
    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorPortPriority(int actorPortPriority) {
        this.actorPortPriority = actorPortPriority;
        this.actorPortPrioritySet = true;
        return this;
    }
    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorPortNum(int actorPortNum) {
        this.actorPortNum = actorPortNum;
        this.actorPortNumSet = true;
        return this;
    }
    @Override
    public int getActorKey() {
        return actorKey;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorKey(int actorKey) {
        this.actorKey = actorKey;
        this.actorKeySet = true;
        return this;
    }


        @Override
        public OFBsnSetLacpRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
net/onrc/openvirtex/messages/ver13/OVXPacketInVer13.java600
net/onrc/openvirtex/messages/ver13/OVXPacketOutVer13.java385
        Map <MatchFields, OFOxm<?>> oxmMap = new LinkedHashMap<>();
        OFOxmInPort oxmInPort = new OFOxmInPortVer13(OFPort.ofShort(inputPort));
        OFOxmEthSrc oxmEthSrc = new OFOxmEthSrcVer13(MacAddress.of(ethSrc));
        OFOxmEthDst oxmEthDst = new OFOxmEthDstVer13(MacAddress.of(ethDst));
        OFOxmEthType oxmEthType = new OFOxmEthTypeVer13(EthType.of(ethType));
        OFOxmVlanVid oxmVlanVid = new OFOxmVlanVidVer13(OFVlanVidMatch.ofRawVid(vlanVid));
        OFOxmVlanPcp oxmVlanPcp = new OFOxmVlanPcpVer13(VlanPcp.FULL_MASK.of(vlanPcp));
        OFOxmIpDscp oxmIpDscp = new OFOxmIpDscpVer13(IpDscp.of(ipDscp));

        oxmMap.put(MatchFields.IN_PORT, oxmInPort);
        oxmMap.put(MatchFields.ETH_SRC, oxmEthSrc);
        oxmMap.put(MatchFields.ETH_DST, oxmEthDst);
        oxmMap.put(MatchFields.ETH_TYPE, oxmEthType);
        oxmMap.put(MatchFields.VLAN_VID, oxmVlanVid);
        oxmMap.put(MatchFields.VLAN_PCP, oxmVlanPcp);
        oxmMap.put(MatchFields.IP_DSCP, oxmIpDscp);

        if (ipProtocol != 0) {
            OFOxmIpProto oxmIpProto = new OFOxmIpProtoVer13(IpProtocol.of(ipProtocol));
            oxmMap.put(MatchFields.IP_PROTO, oxmIpProto);
        }
        if (ipv4Src != 0) {
            OFOxmIpv4Src oxmIpv4Src = new OFOxmIpv4SrcVer13(IPv4Address.of(ipv4Src));
            oxmMap.put(MatchFields.IPV4_SRC, oxmIpv4Src);
        }
        if (ipv4Dst != 0) {
            OFOxmIpv4Dst oxmIpv4Dst = new OFOxmIpv4DstVer13(IPv4Address.of(ipv4Dst));
            oxmMap.put(MatchFields.IPV4_DST, oxmIpv4Dst);
        }
        if (tcpSrc != 0) {
            OFOxmTcpSrc oxmTcpSrc = new OFOxmTcpSrcVer13(TransportPort.of(tcpSrc));
            oxmMap.put(MatchFields.TCP_SRC, oxmTcpSrc);
        }
        if (tcpDst != 0) {
            OFOxmTcpDst oxmTcpDst = new OFOxmTcpDstVer13(TransportPort.of(tcpDst));
            oxmMap.put(MatchFields.TCP_DST, oxmTcpDst);
        }
        OFOxmList oxmList = new OFOxmList(oxmMap);

        Match matchFromPacket =OVXFactoryInst.myFactory.buildMatchV3().setOxmList(oxmList).build();
        return matchFromPacket;
    }
   

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryAddVer13.java267
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryAddVer14.java267
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2eL;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getValue() {
        return value;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setValue(List<OFBsnTlv> value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableEntryAdd build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.tableIdSet)
                throw new IllegalStateException("Property tableId doesn't have default value -- must be set");
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            U128 checksum = this.checksumSet ? this.checksum : DEFAULT_CHECKSUM;
            if(checksum == null)
                throw new NullPointerException("Property checksum must not be null");
            List<OFBsnTlv> key = this.keySet ? this.key : DEFAULT_KEY;
            if(key == null)
                throw new NullPointerException("Property key must not be null");
            List<OFBsnTlv> value = this.valueSet ? this.value : DEFAULT_VALUE;
            if(value == null)
                throw new NullPointerException("Property value must not be null");


            return new OFBsnGentableEntryAddVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsRequestVer11.java184
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsRequestVer11.java348
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAggregateStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFAggregateStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFAggregateStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFAggregateStatsRequest.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFAggregateStatsRequest.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFAggregateStatsRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFAggregateStatsRequest.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFAggregateStatsRequest.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFAggregateStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsRequestVer11.java184
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsRequestVer11.java348
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.FLOW;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowStatsRequest.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowStatsRequest.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowStatsRequest.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsRequest.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFFlowStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java184
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java348
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAggregateStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFAggregateStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFAggregateStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFAggregateStatsRequest.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFAggregateStatsRequest.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFAggregateStatsRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFAggregateStatsRequest.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFAggregateStatsRequest.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFAggregateStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java184
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java348
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.FLOW;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowStatsRequest.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowStatsRequest.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowStatsRequest.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsRequest.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFFlowStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java184
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java348
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAggregateStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFAggregateStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFAggregateStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFAggregateStatsRequest.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFAggregateStatsRequest.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFAggregateStatsRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFAggregateStatsRequest.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFAggregateStatsRequest.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFAggregateStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java184
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java348
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.FLOW;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowStatsRequest.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowStatsRequest.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowStatsRequest.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsRequest.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFFlowStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesVer13.java532
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesVer14.java532
        OFTableFeaturesVer13 other = (OFTableFeaturesVer13) obj;

        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if (name == null) {
            if (other.name != null)
                return false;
        } else if (!name.equals(other.name))
            return false;
        if (metadataMatch == null) {
            if (other.metadataMatch != null)
                return false;
        } else if (!metadataMatch.equals(other.metadataMatch))
            return false;
        if (metadataWrite == null) {
            if (other.metadataWrite != null)
                return false;
        } else if (!metadataWrite.equals(other.metadataWrite))
            return false;
        if( config != other.config)
            return false;
        if( maxEntries != other.maxEntries)
            return false;
        if (properties == null) {
            if (other.properties != null)
                return false;
        } else if (!properties.equals(other.properties))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime * result + ((name == null) ? 0 : name.hashCode());
        result = prime * result + ((metadataMatch == null) ? 0 : metadataMatch.hashCode());
        result = prime * result + ((metadataWrite == null) ? 0 : metadataWrite.hashCode());
        result = prime *  (int) (config ^ (config >>> 32));
        result = prime *  (int) (maxEntries ^ (maxEntries >>> 32));
        result = prime * result + ((properties == null) ? 0 : properties.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java184
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java348
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAggregateStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFAggregateStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFAggregateStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFAggregateStatsRequest.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFAggregateStatsRequest.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFAggregateStatsRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFAggregateStatsRequest.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFAggregateStatsRequest.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFAggregateStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java184
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java348
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.FLOW;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowStatsRequest.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowStatsRequest.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowStatsRequest.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsRequest.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFFlowStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFAsyncGetReplyVer14.java132
org/projectfloodlight/openflow/protocol/ver14/OFAsyncGetReplyVer14.java243
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.GET_ASYNC_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAsyncGetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getPacketInMaskEqualMaster()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property packetInMaskEqualMaster not supported in version 1.4");
    }

    @Override
    public OFAsyncGetReply.Builder setPacketInMaskEqualMaster(long packetInMaskEqualMaster) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property packetInMaskEqualMaster not supported in version 1.4");
    }
    @Override
    public long getPacketInMaskSlave()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property packetInMaskSlave not supported in version 1.4");
    }

    @Override
    public OFAsyncGetReply.Builder setPacketInMaskSlave(long packetInMaskSlave) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property packetInMaskSlave not supported in version 1.4");
    }
    @Override
    public long getPortStatusMaskEqualMaster()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property portStatusMaskEqualMaster not supported in version 1.4");
    }

    @Override
    public OFAsyncGetReply.Builder setPortStatusMaskEqualMaster(long portStatusMaskEqualMaster) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property portStatusMaskEqualMaster not supported in version 1.4");
    }
    @Override
    public long getPortStatusMaskSlave()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property portStatusMaskSlave not supported in version 1.4");
    }

    @Override
    public OFAsyncGetReply.Builder setPortStatusMaskSlave(long portStatusMaskSlave) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property portStatusMaskSlave not supported in version 1.4");
    }
    @Override
    public long getFlowRemovedMaskEqualMaster()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property flowRemovedMaskEqualMaster not supported in version 1.4");
    }

    @Override
    public OFAsyncGetReply.Builder setFlowRemovedMaskEqualMaster(long flowRemovedMaskEqualMaster) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property flowRemovedMaskEqualMaster not supported in version 1.4");
    }
    @Override
    public long getFlowRemovedMaskSlave()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property flowRemovedMaskSlave not supported in version 1.4");
    }

    @Override
    public OFAsyncGetReply.Builder setFlowRemovedMaskSlave(long flowRemovedMaskSlave) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property flowRemovedMaskSlave not supported in version 1.4");
    }
    @Override
    public List<OFAsyncConfigProp> getProperties() {
        return properties;
    }

    @Override
    public OFAsyncGetReply.Builder setProperties(List<OFAsyncConfigProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }


        @Override
        public OFAsyncGetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFAsyncGetRequestVer14.java132
org/projectfloodlight/openflow/protocol/ver14/OFAsyncGetRequestVer14.java243
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.GET_ASYNC_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAsyncGetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getPacketInMaskEqualMaster()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property packetInMaskEqualMaster not supported in version 1.4");
    }

    @Override
    public OFAsyncGetRequest.Builder setPacketInMaskEqualMaster(long packetInMaskEqualMaster) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property packetInMaskEqualMaster not supported in version 1.4");
    }
    @Override
    public long getPacketInMaskSlave()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property packetInMaskSlave not supported in version 1.4");
    }

    @Override
    public OFAsyncGetRequest.Builder setPacketInMaskSlave(long packetInMaskSlave) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property packetInMaskSlave not supported in version 1.4");
    }
    @Override
    public long getPortStatusMaskEqualMaster()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property portStatusMaskEqualMaster not supported in version 1.4");
    }

    @Override
    public OFAsyncGetRequest.Builder setPortStatusMaskEqualMaster(long portStatusMaskEqualMaster) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property portStatusMaskEqualMaster not supported in version 1.4");
    }
    @Override
    public long getPortStatusMaskSlave()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property portStatusMaskSlave not supported in version 1.4");
    }

    @Override
    public OFAsyncGetRequest.Builder setPortStatusMaskSlave(long portStatusMaskSlave) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property portStatusMaskSlave not supported in version 1.4");
    }
    @Override
    public long getFlowRemovedMaskEqualMaster()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property flowRemovedMaskEqualMaster not supported in version 1.4");
    }

    @Override
    public OFAsyncGetRequest.Builder setFlowRemovedMaskEqualMaster(long flowRemovedMaskEqualMaster) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property flowRemovedMaskEqualMaster not supported in version 1.4");
    }
    @Override
    public long getFlowRemovedMaskSlave()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property flowRemovedMaskSlave not supported in version 1.4");
    }

    @Override
    public OFAsyncGetRequest.Builder setFlowRemovedMaskSlave(long flowRemovedMaskSlave) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property flowRemovedMaskSlave not supported in version 1.4");
    }
    @Override
    public List<OFAsyncConfigProp> getProperties() {
        return properties;
    }

    @Override
    public OFAsyncGetRequest.Builder setProperties(List<OFAsyncConfigProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }


        @Override
        public OFAsyncGetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFAsyncSetVer14.java132
org/projectfloodlight/openflow/protocol/ver14/OFAsyncSetVer14.java243
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.SET_ASYNC;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAsyncSet.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getPacketInMaskEqualMaster()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property packetInMaskEqualMaster not supported in version 1.4");
    }

    @Override
    public OFAsyncSet.Builder setPacketInMaskEqualMaster(long packetInMaskEqualMaster) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property packetInMaskEqualMaster not supported in version 1.4");
    }
    @Override
    public long getPacketInMaskSlave()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property packetInMaskSlave not supported in version 1.4");
    }

    @Override
    public OFAsyncSet.Builder setPacketInMaskSlave(long packetInMaskSlave) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property packetInMaskSlave not supported in version 1.4");
    }
    @Override
    public long getPortStatusMaskEqualMaster()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property portStatusMaskEqualMaster not supported in version 1.4");
    }

    @Override
    public OFAsyncSet.Builder setPortStatusMaskEqualMaster(long portStatusMaskEqualMaster) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property portStatusMaskEqualMaster not supported in version 1.4");
    }
    @Override
    public long getPortStatusMaskSlave()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property portStatusMaskSlave not supported in version 1.4");
    }

    @Override
    public OFAsyncSet.Builder setPortStatusMaskSlave(long portStatusMaskSlave) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property portStatusMaskSlave not supported in version 1.4");
    }
    @Override
    public long getFlowRemovedMaskEqualMaster()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property flowRemovedMaskEqualMaster not supported in version 1.4");
    }

    @Override
    public OFAsyncSet.Builder setFlowRemovedMaskEqualMaster(long flowRemovedMaskEqualMaster) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property flowRemovedMaskEqualMaster not supported in version 1.4");
    }
    @Override
    public long getFlowRemovedMaskSlave()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property flowRemovedMaskSlave not supported in version 1.4");
    }

    @Override
    public OFAsyncSet.Builder setFlowRemovedMaskSlave(long flowRemovedMaskSlave) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property flowRemovedMaskSlave not supported in version 1.4");
    }
    @Override
    public List<OFAsyncConfigProp> getProperties() {
        return properties;
    }

    @Override
    public OFAsyncSet.Builder setProperties(List<OFAsyncConfigProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }


        @Override
        public OFAsyncSet build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java430
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java430
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java430
    }



        @Override
        public OFPortStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                U64 rxPackets = this.rxPacketsSet ? this.rxPackets : parentMessage.rxPackets;
                if(rxPackets == null)
                    throw new NullPointerException("Property rxPackets must not be null");
                U64 txPackets = this.txPacketsSet ? this.txPackets : parentMessage.txPackets;
                if(txPackets == null)
                    throw new NullPointerException("Property txPackets must not be null");
                U64 rxBytes = this.rxBytesSet ? this.rxBytes : parentMessage.rxBytes;
                if(rxBytes == null)
                    throw new NullPointerException("Property rxBytes must not be null");
                U64 txBytes = this.txBytesSet ? this.txBytes : parentMessage.txBytes;
                if(txBytes == null)
                    throw new NullPointerException("Property txBytes must not be null");
                U64 rxDropped = this.rxDroppedSet ? this.rxDropped : parentMessage.rxDropped;
                if(rxDropped == null)
                    throw new NullPointerException("Property rxDropped must not be null");
                U64 txDropped = this.txDroppedSet ? this.txDropped : parentMessage.txDropped;
                if(txDropped == null)
                    throw new NullPointerException("Property txDropped must not be null");
                U64 rxErrors = this.rxErrorsSet ? this.rxErrors : parentMessage.rxErrors;
                if(rxErrors == null)
                    throw new NullPointerException("Property rxErrors must not be null");
                U64 txErrors = this.txErrorsSet ? this.txErrors : parentMessage.txErrors;
                if(txErrors == null)
                    throw new NullPointerException("Property txErrors must not be null");
                U64 rxFrameErr = this.rxFrameErrSet ? this.rxFrameErr : parentMessage.rxFrameErr;
                if(rxFrameErr == null)
                    throw new NullPointerException("Property rxFrameErr must not be null");
                U64 rxOverErr = this.rxOverErrSet ? this.rxOverErr : parentMessage.rxOverErr;
                if(rxOverErr == null)
                    throw new NullPointerException("Property rxOverErr must not be null");
                U64 rxCrcErr = this.rxCrcErrSet ? this.rxCrcErr : parentMessage.rxCrcErr;
                if(rxCrcErr == null)
                    throw new NullPointerException("Property rxCrcErr must not be null");
                U64 collisions = this.collisionsSet ? this.collisions : parentMessage.collisions;
                if(collisions == null)
                    throw new NullPointerException("Property collisions must not be null");

                //
                return new OFPortStatsEntryVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java430
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java430
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java430
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java444
    }



        @Override
        public OFPortStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                U64 rxPackets = this.rxPacketsSet ? this.rxPackets : parentMessage.rxPackets;
                if(rxPackets == null)
                    throw new NullPointerException("Property rxPackets must not be null");
                U64 txPackets = this.txPacketsSet ? this.txPackets : parentMessage.txPackets;
                if(txPackets == null)
                    throw new NullPointerException("Property txPackets must not be null");
                U64 rxBytes = this.rxBytesSet ? this.rxBytes : parentMessage.rxBytes;
                if(rxBytes == null)
                    throw new NullPointerException("Property rxBytes must not be null");
                U64 txBytes = this.txBytesSet ? this.txBytes : parentMessage.txBytes;
                if(txBytes == null)
                    throw new NullPointerException("Property txBytes must not be null");
                U64 rxDropped = this.rxDroppedSet ? this.rxDropped : parentMessage.rxDropped;
                if(rxDropped == null)
                    throw new NullPointerException("Property rxDropped must not be null");
                U64 txDropped = this.txDroppedSet ? this.txDropped : parentMessage.txDropped;
                if(txDropped == null)
                    throw new NullPointerException("Property txDropped must not be null");
                U64 rxErrors = this.rxErrorsSet ? this.rxErrors : parentMessage.rxErrors;
                if(rxErrors == null)
                    throw new NullPointerException("Property rxErrors must not be null");
                U64 txErrors = this.txErrorsSet ? this.txErrors : parentMessage.txErrors;
                if(txErrors == null)
                    throw new NullPointerException("Property txErrors must not be null");
                U64 rxFrameErr = this.rxFrameErrSet ? this.rxFrameErr : parentMessage.rxFrameErr;
                if(rxFrameErr == null)
                    throw new NullPointerException("Property rxFrameErr must not be null");
                U64 rxOverErr = this.rxOverErrSet ? this.rxOverErr : parentMessage.rxOverErr;
                if(rxOverErr == null)
                    throw new NullPointerException("Property rxOverErr must not be null");
                U64 rxCrcErr = this.rxCrcErrSet ? this.rxCrcErr : parentMessage.rxCrcErr;
                if(rxCrcErr == null)
                    throw new NullPointerException("Property rxCrcErr must not be null");
                U64 collisions = this.collisionsSet ? this.collisions : parentMessage.collisions;
                if(collisions == null)
                    throw new NullPointerException("Property collisions must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionRequestVer10.java280
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionRequestVer11.java280
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionRequestVer12.java280
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionRequestVer13.java280
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionRequestVer14.java280
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }

    @Override
    public boolean isEnabled() {
        return enabled;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setEnabled(boolean enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
//
        @Override
        public OFBsnSetPktinSuppressionRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            boolean enabled = this.enabledSet ? this.enabled : DEFAULT_ENABLED;
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");


            return new OFBsnSetPktinSuppressionRequestVer10(
FileLine
org/projectfloodlight/openflow/types/OFPort.java167
org/projectfloodlight/openflow/types/OFPort.java311
    public static OFPort ofInt(final int portNumber) {
        switch (portNumber) {
            case 0:
                return PrecachedPort.p0;
            case 1:
                return PrecachedPort.p1;
            case 2:
                return PrecachedPort.p2;
            case 3:
                return PrecachedPort.p3;
            case 4:
                return PrecachedPort.p4;
            case 5:
                return PrecachedPort.p5;
            case 6:
                return PrecachedPort.p6;
            case 7:
                return PrecachedPort.p7;
            case 8:
                return PrecachedPort.p8;
            case 9:
                return PrecachedPort.p9;
            case 10:
                return PrecachedPort.p10;
            case 11:
                return PrecachedPort.p11;
            case 12:
                return PrecachedPort.p12;
            case 13:
                return PrecachedPort.p13;
            case 14:
                return PrecachedPort.p14;
            case 15:
                return PrecachedPort.p15;
            case 16:
                return PrecachedPort.p16;
            case 17:
                return PrecachedPort.p17;
            case 18:
                return PrecachedPort.p18;
            case 19:
                return PrecachedPort.p19;
            case 20:
                return PrecachedPort.p20;
            case 21:
                return PrecachedPort.p21;
            case 22:
                return PrecachedPort.p22;
            case 23:
                return PrecachedPort.p23;
            case 24:
                return PrecachedPort.p24;
            case 25:
                return PrecachedPort.p25;
            case 26:
                return PrecachedPort.p26;
            case 27:
                return PrecachedPort.p27;
            case 28:
                return PrecachedPort.p28;
            case 29:
                return PrecachedPort.p29;
            case 31:
                return PrecachedPort.p31;
            case 32:
                return PrecachedPort.p32;
            case 33:
                return PrecachedPort.p33;
            case 34:
                return PrecachedPort.p34;
            case 35:
                return PrecachedPort.p35;
            case 36:
                return PrecachedPort.p36;
            case 37:
                return PrecachedPort.p37;
            case 38:
                return PrecachedPort.p38;
            case 39:
                return PrecachedPort.p39;
            case 40:
                return PrecachedPort.p40;
            case 41:
                return PrecachedPort.p41;
            case 42:
                return PrecachedPort.p42;
            case 43:
                return PrecachedPort.p43;
            case 44:
                return PrecachedPort.p44;
            case 45:
                return PrecachedPort.p45;
            case 46:
                return PrecachedPort.p46;
            case 47:
                return PrecachedPort.p47;
            case 48:
                return PrecachedPort.p48;
            case OFPP_MAX_INT:
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpRequestVer13.java176
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpRequestVer14.java335
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x29L;
    }

    @Override
    public short getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setEnabled(short enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorSysPriority(int actorSysPriority) {
        this.actorSysPriority = actorSysPriority;
        this.actorSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorSysMac(MacAddress actorSysMac) {
        this.actorSysMac = actorSysMac;
        this.actorSysMacSet = true;
        return this;
    }
    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorPortPriority(int actorPortPriority) {
        this.actorPortPriority = actorPortPriority;
        this.actorPortPrioritySet = true;
        return this;
    }
    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorPortNum(int actorPortNum) {
        this.actorPortNum = actorPortNum;
        this.actorPortNumSet = true;
        return this;
    }
    @Override
    public int getActorKey() {
        return actorKey;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorKey(int actorKey) {
        this.actorKey = actorKey;
        this.actorKeySet = true;
        return this;
    }


        @Override
        public OFBsnSetLacpRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpRequestVer13.java335
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpRequestVer14.java176
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x29L;
    }

    @Override
    public short getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setEnabled(short enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorSysPriority(int actorSysPriority) {
        this.actorSysPriority = actorSysPriority;
        this.actorSysPrioritySet = true;
        return this;
    }
    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorSysMac(MacAddress actorSysMac) {
        this.actorSysMac = actorSysMac;
        this.actorSysMacSet = true;
        return this;
    }
    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorPortPriority(int actorPortPriority) {
        this.actorPortPriority = actorPortPriority;
        this.actorPortPrioritySet = true;
        return this;
    }
    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorPortNum(int actorPortNum) {
        this.actorPortNum = actorPortNum;
        this.actorPortNumSet = true;
        return this;
    }
    @Override
    public int getActorKey() {
        return actorKey;
    }

    @Override
    public OFBsnSetLacpRequest.Builder setActorKey(int actorKey) {
        this.actorKey = actorKey;
        this.actorKeySet = true;
        return this;
    }
//
        @Override
        public OFBsnSetLacpRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFAsyncGetReplyVer13.java153
org/projectfloodlight/openflow/protocol/ver13/OFAsyncGetReplyVer13.java292
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.GET_ASYNC_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAsyncGetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getPacketInMaskEqualMaster() {
        return packetInMaskEqualMaster;
    }

    @Override
    public OFAsyncGetReply.Builder setPacketInMaskEqualMaster(long packetInMaskEqualMaster) {
        this.packetInMaskEqualMaster = packetInMaskEqualMaster;
        this.packetInMaskEqualMasterSet = true;
        return this;
    }
    @Override
    public long getPacketInMaskSlave() {
        return packetInMaskSlave;
    }

    @Override
    public OFAsyncGetReply.Builder setPacketInMaskSlave(long packetInMaskSlave) {
        this.packetInMaskSlave = packetInMaskSlave;
        this.packetInMaskSlaveSet = true;
        return this;
    }
    @Override
    public long getPortStatusMaskEqualMaster() {
        return portStatusMaskEqualMaster;
    }

    @Override
    public OFAsyncGetReply.Builder setPortStatusMaskEqualMaster(long portStatusMaskEqualMaster) {
        this.portStatusMaskEqualMaster = portStatusMaskEqualMaster;
        this.portStatusMaskEqualMasterSet = true;
        return this;
    }
    @Override
    public long getPortStatusMaskSlave() {
        return portStatusMaskSlave;
    }

    @Override
    public OFAsyncGetReply.Builder setPortStatusMaskSlave(long portStatusMaskSlave) {
        this.portStatusMaskSlave = portStatusMaskSlave;
        this.portStatusMaskSlaveSet = true;
        return this;
    }
    @Override
    public long getFlowRemovedMaskEqualMaster() {
        return flowRemovedMaskEqualMaster;
    }

    @Override
    public OFAsyncGetReply.Builder setFlowRemovedMaskEqualMaster(long flowRemovedMaskEqualMaster) {
        this.flowRemovedMaskEqualMaster = flowRemovedMaskEqualMaster;
        this.flowRemovedMaskEqualMasterSet = true;
        return this;
    }
    @Override
    public long getFlowRemovedMaskSlave() {
        return flowRemovedMaskSlave;
    }

    @Override
    public OFAsyncGetReply.Builder setFlowRemovedMaskSlave(long flowRemovedMaskSlave) {
        this.flowRemovedMaskSlave = flowRemovedMaskSlave;
        this.flowRemovedMaskSlaveSet = true;
        return this;
    }
    @Override
    public List<OFAsyncConfigProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.3");
    }

    @Override
    public OFAsyncGetReply.Builder setProperties(List<OFAsyncConfigProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.3");
    }


        @Override
        public OFAsyncGetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFAsyncGetRequestVer13.java153
org/projectfloodlight/openflow/protocol/ver13/OFAsyncGetRequestVer13.java292
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.GET_ASYNC_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAsyncGetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getPacketInMaskEqualMaster() {
        return packetInMaskEqualMaster;
    }

    @Override
    public OFAsyncGetRequest.Builder setPacketInMaskEqualMaster(long packetInMaskEqualMaster) {
        this.packetInMaskEqualMaster = packetInMaskEqualMaster;
        this.packetInMaskEqualMasterSet = true;
        return this;
    }
    @Override
    public long getPacketInMaskSlave() {
        return packetInMaskSlave;
    }

    @Override
    public OFAsyncGetRequest.Builder setPacketInMaskSlave(long packetInMaskSlave) {
        this.packetInMaskSlave = packetInMaskSlave;
        this.packetInMaskSlaveSet = true;
        return this;
    }
    @Override
    public long getPortStatusMaskEqualMaster() {
        return portStatusMaskEqualMaster;
    }

    @Override
    public OFAsyncGetRequest.Builder setPortStatusMaskEqualMaster(long portStatusMaskEqualMaster) {
        this.portStatusMaskEqualMaster = portStatusMaskEqualMaster;
        this.portStatusMaskEqualMasterSet = true;
        return this;
    }
    @Override
    public long getPortStatusMaskSlave() {
        return portStatusMaskSlave;
    }

    @Override
    public OFAsyncGetRequest.Builder setPortStatusMaskSlave(long portStatusMaskSlave) {
        this.portStatusMaskSlave = portStatusMaskSlave;
        this.portStatusMaskSlaveSet = true;
        return this;
    }
    @Override
    public long getFlowRemovedMaskEqualMaster() {
        return flowRemovedMaskEqualMaster;
    }

    @Override
    public OFAsyncGetRequest.Builder setFlowRemovedMaskEqualMaster(long flowRemovedMaskEqualMaster) {
        this.flowRemovedMaskEqualMaster = flowRemovedMaskEqualMaster;
        this.flowRemovedMaskEqualMasterSet = true;
        return this;
    }
    @Override
    public long getFlowRemovedMaskSlave() {
        return flowRemovedMaskSlave;
    }

    @Override
    public OFAsyncGetRequest.Builder setFlowRemovedMaskSlave(long flowRemovedMaskSlave) {
        this.flowRemovedMaskSlave = flowRemovedMaskSlave;
        this.flowRemovedMaskSlaveSet = true;
        return this;
    }
    @Override
    public List<OFAsyncConfigProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.3");
    }

    @Override
    public OFAsyncGetRequest.Builder setProperties(List<OFAsyncConfigProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.3");
    }


        @Override
        public OFAsyncGetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFAsyncSetVer13.java153
org/projectfloodlight/openflow/protocol/ver13/OFAsyncSetVer13.java292
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.SET_ASYNC;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAsyncSet.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getPacketInMaskEqualMaster() {
        return packetInMaskEqualMaster;
    }

    @Override
    public OFAsyncSet.Builder setPacketInMaskEqualMaster(long packetInMaskEqualMaster) {
        this.packetInMaskEqualMaster = packetInMaskEqualMaster;
        this.packetInMaskEqualMasterSet = true;
        return this;
    }
    @Override
    public long getPacketInMaskSlave() {
        return packetInMaskSlave;
    }

    @Override
    public OFAsyncSet.Builder setPacketInMaskSlave(long packetInMaskSlave) {
        this.packetInMaskSlave = packetInMaskSlave;
        this.packetInMaskSlaveSet = true;
        return this;
    }
    @Override
    public long getPortStatusMaskEqualMaster() {
        return portStatusMaskEqualMaster;
    }

    @Override
    public OFAsyncSet.Builder setPortStatusMaskEqualMaster(long portStatusMaskEqualMaster) {
        this.portStatusMaskEqualMaster = portStatusMaskEqualMaster;
        this.portStatusMaskEqualMasterSet = true;
        return this;
    }
    @Override
    public long getPortStatusMaskSlave() {
        return portStatusMaskSlave;
    }

    @Override
    public OFAsyncSet.Builder setPortStatusMaskSlave(long portStatusMaskSlave) {
        this.portStatusMaskSlave = portStatusMaskSlave;
        this.portStatusMaskSlaveSet = true;
        return this;
    }
    @Override
    public long getFlowRemovedMaskEqualMaster() {
        return flowRemovedMaskEqualMaster;
    }

    @Override
    public OFAsyncSet.Builder setFlowRemovedMaskEqualMaster(long flowRemovedMaskEqualMaster) {
        this.flowRemovedMaskEqualMaster = flowRemovedMaskEqualMaster;
        this.flowRemovedMaskEqualMasterSet = true;
        return this;
    }
    @Override
    public long getFlowRemovedMaskSlave() {
        return flowRemovedMaskSlave;
    }

    @Override
    public OFAsyncSet.Builder setFlowRemovedMaskSlave(long flowRemovedMaskSlave) {
        this.flowRemovedMaskSlave = flowRemovedMaskSlave;
        this.flowRemovedMaskSlaveSet = true;
        return this;
    }
    @Override
    public List<OFAsyncConfigProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.3");
    }

    @Override
    public OFAsyncSet.Builder setProperties(List<OFAsyncConfigProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.3");
    }


        @Override
        public OFAsyncSet build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java721
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java721
        OFBsnLacpStatsEntryVer13 other = (OFBsnLacpStatsEntryVer13) obj;

        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if( actorSysPriority != other.actorSysPriority)
            return false;
        if (actorSysMac == null) {
            if (other.actorSysMac != null)
                return false;
        } else if (!actorSysMac.equals(other.actorSysMac))
            return false;
        if( actorPortPriority != other.actorPortPriority)
            return false;
        if( actorPortNum != other.actorPortNum)
            return false;
        if( actorKey != other.actorKey)
            return false;
        if( convergenceStatus != other.convergenceStatus)
            return false;
        if( partnerSysPriority != other.partnerSysPriority)
            return false;
        if (partnerSysMac == null) {
            if (other.partnerSysMac != null)
                return false;
        } else if (!partnerSysMac.equals(other.partnerSysMac))
            return false;
        if( partnerPortPriority != other.partnerPortPriority)
            return false;
        if( partnerPortNum != other.partnerPortNum)
            return false;
        if( partnerKey != other.partnerKey)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime * result + actorSysPriority;
        result = prime * result + ((actorSysMac == null) ? 0 : actorSysMac.hashCode());
        result = prime * result + actorPortPriority;
        result = prime * result + actorPortNum;
        result = prime * result + actorKey;
        result = prime * result + convergenceStatus;
        result = prime * result + partnerSysPriority;
        result = prime * result + ((partnerSysMac == null) ? 0 : partnerSysMac.hashCode());
        result = prime * result + partnerPortPriority;
        result = prime * result + partnerPortNum;
        result = prime * result + partnerKey;
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java253
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java253
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java253
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java263
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsEntryVer14.java240
        BuilderWithParent(OFPortStatsEntryVer10 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public U64 getRxPackets() {
        return rxPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setRxPackets(U64 rxPackets) {
        this.rxPackets = rxPackets;
        this.rxPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getRxBytes() {
        return rxBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setRxBytes(U64 rxBytes) {
        this.rxBytes = rxBytes;
        this.rxBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getRxDropped() {
        return rxDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setRxDropped(U64 rxDropped) {
        this.rxDropped = rxDropped;
        this.rxDroppedSet = true;
        return this;
    }
    @Override
    public U64 getTxDropped() {
        return txDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setTxDropped(U64 txDropped) {
        this.txDropped = txDropped;
        this.txDroppedSet = true;
        return this;
    }
    @Override
    public U64 getRxErrors() {
        return rxErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setRxErrors(U64 rxErrors) {
        this.rxErrors = rxErrors;
        this.rxErrorsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public U64 getRxFrameErr() {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsRequestVer11.java187
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java351
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java351
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java351
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAggregateStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFAggregateStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFAggregateStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFAggregateStatsRequest.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFAggregateStatsRequest.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFAggregateStatsRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFAggregateStatsRequest.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFAggregateStatsRequest.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFAggregateStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsRequestVer11.java351
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java187
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java187
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java187
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAggregateStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFAggregateStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFAggregateStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFAggregateStatsRequest.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFAggregateStatsRequest.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFAggregateStatsRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFAggregateStatsRequest.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFAggregateStatsRequest.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
//
        @Override
        public OFAggregateStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsRequestVer11.java187
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java351
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java351
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java351
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.FLOW;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowStatsRequest.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowStatsRequest.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowStatsRequest.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsRequest.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFFlowStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsRequestVer11.java351
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java187
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java187
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java187
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.FLOW;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowStatsRequest.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public OFFlowStatsRequest.Builder setOutGroup(OFGroup outGroup) {
        this.outGroup = outGroup;
        this.outGroupSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowStatsRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public OFFlowStatsRequest.Builder setCookieMask(U64 cookieMask) {
        this.cookieMask = cookieMask;
        this.cookieMaskSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowStatsRequest.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
//
        @Override
        public OFFlowStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java259
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java259
                return new OFGroupStatsEntryVer13(
                    group,
                    refCount,
                    packetCount,
                    byteCount,
                    durationSec,
                    durationNsec,
                    bucketStats
                );
        }

    }

    static class Builder implements OFGroupStatsEntry.Builder {
        // OF message fields
        private boolean groupSet;
        private OFGroup group;
        private boolean refCountSet;
        private long refCount;
        private boolean packetCountSet;
        private U64 packetCount;
        private boolean byteCountSet;
        private U64 byteCount;
        private boolean durationSecSet;
        private long durationSec;
        private boolean durationNsecSet;
        private long durationNsec;
        private boolean bucketStatsSet;
        private List<OFBucketCounter> bucketStats;

    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public long getRefCount() {
        return refCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setRefCount(long refCount) {
        this.refCount = refCount;
        this.refCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public List<OFBucketCounter> getBucketStats() {
        return bucketStats;
    }

    @Override
    public OFGroupStatsEntry.Builder setBucketStats(List<OFBucketCounter> bucketStats) {
        this.bucketStats = bucketStats;
        this.bucketStatsSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFGroupStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFGroupStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsVer13.java254
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsVer14.java254
                return new OFMeterStatsVer13(
                    meterId,
                    flowCount,
                    packetInCount,
                    byteInCount,
                    durationSec,
                    durationNsec,
                    bandStats
                );
        }

    }

    static class Builder implements OFMeterStats.Builder {
        // OF message fields
        private boolean meterIdSet;
        private long meterId;
        private boolean flowCountSet;
        private long flowCount;
        private boolean packetInCountSet;
        private U64 packetInCount;
        private boolean byteInCountSet;
        private U64 byteInCount;
        private boolean durationSecSet;
        private long durationSec;
        private boolean durationNsecSet;
        private long durationNsec;
        private boolean bandStatsSet;
        private List<OFMeterBandStats> bandStats;

    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterStats.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }
    @Override
    public long getFlowCount() {
        return flowCount;
    }

    @Override
    public OFMeterStats.Builder setFlowCount(long flowCount) {
        this.flowCount = flowCount;
        this.flowCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketInCount() {
        return packetInCount;
    }

    @Override
    public OFMeterStats.Builder setPacketInCount(U64 packetInCount) {
        this.packetInCount = packetInCount;
        this.packetInCountSet = true;
        return this;
    }
    @Override
    public U64 getByteInCount() {
        return byteInCount;
    }

    @Override
    public OFMeterStats.Builder setByteInCount(U64 byteInCount) {
        this.byteInCount = byteInCount;
        this.byteInCountSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFMeterStats.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFMeterStats.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public List<OFMeterBandStats> getBandStats() {
        return bandStats;
    }

    @Override
    public OFMeterStats.Builder setBandStats(List<OFMeterBandStats> bandStats) {
        this.bandStats = bandStats;
        this.bandStatsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesVer13.java264
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesVer14.java264
                return new OFTableFeaturesVer13(
                    tableId,
                    name,
                    metadataMatch,
                    metadataWrite,
                    config,
                    maxEntries,
                    properties
                );
        }

    }

    static class Builder implements OFTableFeatures.Builder {
        // OF message fields
        private boolean tableIdSet;
        private TableId tableId;
        private boolean nameSet;
        private String name;
        private boolean metadataMatchSet;
        private U64 metadataMatch;
        private boolean metadataWriteSet;
        private U64 metadataWrite;
        private boolean configSet;
        private long config;
        private boolean maxEntriesSet;
        private long maxEntries;
        private boolean propertiesSet;
        private List<OFTableFeatureProp> properties;

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableFeatures.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFTableFeatures.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public U64 getMetadataMatch() {
        return metadataMatch;
    }

    @Override
    public OFTableFeatures.Builder setMetadataMatch(U64 metadataMatch) {
        this.metadataMatch = metadataMatch;
        this.metadataMatchSet = true;
        return this;
    }
    @Override
    public U64 getMetadataWrite() {
        return metadataWrite;
    }

    @Override
    public OFTableFeatures.Builder setMetadataWrite(U64 metadataWrite) {
        this.metadataWrite = metadataWrite;
        this.metadataWriteSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFTableFeatures.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public long getMaxEntries() {
        return maxEntries;
    }

    @Override
    public OFTableFeatures.Builder setMaxEntries(long maxEntries) {
        this.maxEntries = maxEntries;
        this.maxEntriesSet = true;
        return this;
    }
    @Override
    public List<OFTableFeatureProp> getProperties() {
        return properties;
    }

    @Override
    public OFTableFeatures.Builder setProperties(List<OFTableFeatureProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPacketOutVer10.java145
org/projectfloodlight/openflow/protocol/ver11/OFPacketOutVer11.java145
org/projectfloodlight/openflow/protocol/ver12/OFPacketOutVer12.java145
org/projectfloodlight/openflow/protocol/ver13/OFPacketOutVer13.java145
org/projectfloodlight/openflow/protocol/ver14/OFPacketOutVer14.java145
    }

    @Override
    public OFType getType() {
        return OFType.PACKET_OUT;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPacketOut.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPacketOut.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getInPort() {
        return inPort;
    }

    @Override
    public OFPacketOut.Builder setInPort(OFPort inPort) {
        this.inPort = inPort;
        this.inPortSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFPacketOut.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFPacketOut.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFPacketOut build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFBufferId bufferId = this.bufferIdSet ? this.bufferId : parentMessage.bufferId;
                if(bufferId == null)
                    throw new NullPointerException("Property bufferId must not be null");
                OFPort inPort = this.inPortSet ? this.inPort : parentMessage.inPort;
                if(inPort == null)
                    throw new NullPointerException("Property inPort must not be null");
                List<OFAction> actions = this.actionsSet ? this.actions : parentMessage.actions;
                if(actions == null)
                    throw new NullPointerException("Property actions must not be null");
                byte[] data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFPacketOutVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFAggregateStatsReplyVer10.java145
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsReplyVer11.java145
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsReplyVer12.java145
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsReplyVer13.java145
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsReplyVer14.java145
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAggregateStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFAggregateStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public long getFlowCount() {
        return flowCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setFlowCount(long flowCount) {
        this.flowCount = flowCount;
        this.flowCountSet = true;
        return this;
    }


        @Override
        public OFAggregateStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                U64 packetCount = this.packetCountSet ? this.packetCount : parentMessage.packetCount;
                if(packetCount == null)
                    throw new NullPointerException("Property packetCount must not be null");
                U64 byteCount = this.byteCountSet ? this.byteCount : parentMessage.byteCount;
                if(byteCount == null)
                    throw new NullPointerException("Property byteCount must not be null");
                long flowCount = this.flowCountSet ? this.flowCount : parentMessage.flowCount;

                //
                return new OFAggregateStatsReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortFeaturesSerializerVer10.java49
org/projectfloodlight/openflow/protocol/ver11/OFPortFeaturesSerializerVer11.java53
org/projectfloodlight/openflow/protocol/ver12/OFPortFeaturesSerializerVer12.java53
org/projectfloodlight/openflow/protocol/ver13/OFPortFeaturesSerializerVer13.java54
org/projectfloodlight/openflow/protocol/ver14/OFPortFeaturesSerializerVer14.java54
    public static Set<OFPortFeatures> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFPortFeatures> set) {
        bb.writeInt(toWireValue(set));
    }

    public static void putTo(Set<OFPortFeatures> set, PrimitiveSink sink) {
        sink.putInt(toWireValue(set));
    }


    public static Set<OFPortFeatures> ofWireValue(int val) {
        EnumSet<OFPortFeatures> set = EnumSet.noneOf(OFPortFeatures.class);

        if((val & PF_10MB_HD_VAL) != 0)
            set.add(OFPortFeatures.PF_10MB_HD);
        if((val & PF_10MB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_10MB_FD);
        if((val & PF_100MB_HD_VAL) != 0)
            set.add(OFPortFeatures.PF_100MB_HD);
        if((val & PF_100MB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_100MB_FD);
        if((val & PF_1GB_HD_VAL) != 0)
            set.add(OFPortFeatures.PF_1GB_HD);
        if((val & PF_1GB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_1GB_FD);
        if((val & PF_10GB_FD_VAL) != 0)
            set.add(OFPortFeatures.PF_10GB_FD);
        if((val & PF_COPPER_VAL) != 0)
            set.add(OFPortFeatures.PF_COPPER);
        if((val & PF_FIBER_VAL) != 0)
            set.add(OFPortFeatures.PF_FIBER);
        if((val & PF_AUTONEG_VAL) != 0)
            set.add(OFPortFeatures.PF_AUTONEG);
        if((val & PF_PAUSE_VAL) != 0)
            set.add(OFPortFeatures.PF_PAUSE);
        if((val & PF_PAUSE_ASYM_VAL) != 0)
            set.add(OFPortFeatures.PF_PAUSE_ASYM);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsEntryVer10.java150
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsEntryVer10.java280
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsEntry.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.0");
    }

    @Override
    public OFQueueStatsEntry.Builder setDurationSec(long durationSec) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property durationSec not supported in version 1.0");
    }
    @Override
    public long getDurationNsec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationNsec not supported in version 1.0");
    }

    @Override
    public OFQueueStatsEntry.Builder setDurationNsec(long durationNsec) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property durationNsec not supported in version 1.0");
    }
    @Override
    public List<OFQueueStatsProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.0");
    }

    @Override
    public OFQueueStatsEntry.Builder setProperties(List<OFQueueStatsProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.0");
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }



        @Override
        public OFQueueStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsEntryVer11.java150
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsEntryVer11.java280
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsEntry.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.1");
    }

    @Override
    public OFQueueStatsEntry.Builder setDurationSec(long durationSec) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property durationSec not supported in version 1.1");
    }
    @Override
    public long getDurationNsec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationNsec not supported in version 1.1");
    }

    @Override
    public OFQueueStatsEntry.Builder setDurationNsec(long durationNsec) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property durationNsec not supported in version 1.1");
    }
    @Override
    public List<OFQueueStatsProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.1");
    }

    @Override
    public OFQueueStatsEntry.Builder setProperties(List<OFQueueStatsProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.1");
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }



        @Override
        public OFQueueStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsEntryVer12.java150
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsEntryVer12.java280
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsEntry.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.2");
    }

    @Override
    public OFQueueStatsEntry.Builder setDurationSec(long durationSec) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property durationSec not supported in version 1.2");
    }
    @Override
    public long getDurationNsec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationNsec not supported in version 1.2");
    }

    @Override
    public OFQueueStatsEntry.Builder setDurationNsec(long durationNsec) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property durationNsec not supported in version 1.2");
    }
    @Override
    public List<OFQueueStatsProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.2");
    }

    @Override
    public OFQueueStatsEntry.Builder setProperties(List<OFQueueStatsProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.2");
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFQueueStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleVer13.java149
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleVer14.java149
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdle.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x28L;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFBsnFlowIdle.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBsnFlowIdle.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnFlowIdle.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFBsnFlowIdle.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFBsnFlowIdle build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                Match match = this.matchSet ? this.match : parentMessage.match;
                if(match == null)
                    throw new NullPointerException("Property match must not be null");

                //
                return new OFBsnFlowIdleVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java257
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java257
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java257
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java267
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsEntryVer14.java500
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public U64 getRxPackets() {
        return rxPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setRxPackets(U64 rxPackets) {
        this.rxPackets = rxPackets;
        this.rxPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getRxBytes() {
        return rxBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setRxBytes(U64 rxBytes) {
        this.rxBytes = rxBytes;
        this.rxBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getRxDropped() {
        return rxDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setRxDropped(U64 rxDropped) {
        this.rxDropped = rxDropped;
        this.rxDroppedSet = true;
        return this;
    }
    @Override
    public U64 getTxDropped() {
        return txDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setTxDropped(U64 txDropped) {
        this.txDropped = txDropped;
        this.txDroppedSet = true;
        return this;
    }
    @Override
    public U64 getRxErrors() {
        return rxErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setRxErrors(U64 rxErrors) {
        this.rxErrors = rxErrors;
        this.rxErrorsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public U64 getRxFrameErr() {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java525
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java525
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java525
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java547
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsEntryVer14.java244
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public U64 getRxPackets() {
        return rxPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setRxPackets(U64 rxPackets) {
        this.rxPackets = rxPackets;
        this.rxPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFPortStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getRxBytes() {
        return rxBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setRxBytes(U64 rxBytes) {
        this.rxBytes = rxBytes;
        this.rxBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFPortStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getRxDropped() {
        return rxDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setRxDropped(U64 rxDropped) {
        this.rxDropped = rxDropped;
        this.rxDroppedSet = true;
        return this;
    }
    @Override
    public U64 getTxDropped() {
        return txDropped;
    }

    @Override
    public OFPortStatsEntry.Builder setTxDropped(U64 txDropped) {
        this.txDropped = txDropped;
        this.txDroppedSet = true;
        return this;
    }
    @Override
    public U64 getRxErrors() {
        return rxErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setRxErrors(U64 rxErrors) {
        this.rxErrors = rxErrors;
        this.rxErrorsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFPortStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public U64 getRxFrameErr() {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsEntryVer13.java160
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsEntryVer13.java302
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsEntry.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFQueueStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFQueueStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public List<OFQueueStatsProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.3");
    }

    @Override
    public OFQueueStatsEntry.Builder setProperties(List<OFQueueStatsProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.3");
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFQueueStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPacketOutVer10.java253
org/projectfloodlight/openflow/protocol/ver11/OFPacketOutVer11.java253
org/projectfloodlight/openflow/protocol/ver12/OFPacketOutVer12.java253
org/projectfloodlight/openflow/protocol/ver13/OFPacketOutVer13.java253
org/projectfloodlight/openflow/protocol/ver14/OFPacketOutVer14.java253
    }

    @Override
    public OFType getType() {
        return OFType.PACKET_OUT;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPacketOut.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPacketOut.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getInPort() {
        return inPort;
    }

    @Override
    public OFPacketOut.Builder setInPort(OFPort inPort) {
        this.inPort = inPort;
        this.inPortSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFPacketOut.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFPacketOut.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFPacketOut build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            OFBufferId bufferId = this.bufferIdSet ? this.bufferId : DEFAULT_BUFFER_ID;
            if(bufferId == null)
                throw new NullPointerException("Property bufferId must not be null");
            OFPort inPort = this.inPortSet ? this.inPort : DEFAULT_IN_PORT;
            if(inPort == null)
                throw new NullPointerException("Property inPort must not be null");
            List<OFAction> actions = this.actionsSet ? this.actions : DEFAULT_ACTIONS;
            if(actions == null)
                throw new NullPointerException("Property actions must not be null");
            byte[] data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFPacketOutVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxRequestVer10.java147
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxRequestVer11.java147
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxRequestVer12.java147
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxRequestVer13.java147
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxRequestVer14.java147
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x21L;
    }

    @Override
    public long getTimeoutMs() {
        return timeoutMs;
    }

    @Override
    public OFBsnPduRxRequest.Builder setTimeoutMs(long timeoutMs) {
        this.timeoutMs = timeoutMs;
        this.timeoutMsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxRequest.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnPduRxRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                long timeoutMs = this.timeoutMsSet ? this.timeoutMs : parentMessage.timeoutMs;
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                short slotNum = this.slotNumSet ? this.slotNum : parentMessage.slotNum;
                byte[] data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFBsnPduRxRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxRequestVer10.java147
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxRequestVer11.java147
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxRequestVer12.java147
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxRequestVer13.java147
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxRequestVer14.java147
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduTxRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1fL;
    }

    @Override
    public long getTxIntervalMs() {
        return txIntervalMs;
    }

    @Override
    public OFBsnPduTxRequest.Builder setTxIntervalMs(long txIntervalMs) {
        this.txIntervalMs = txIntervalMs;
        this.txIntervalMsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduTxRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduTxRequest.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnPduTxRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnPduTxRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                long txIntervalMs = this.txIntervalMsSet ? this.txIntervalMs : parentMessage.txIntervalMs;
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                short slotNum = this.slotNumSet ? this.slotNum : parentMessage.slotNum;
                byte[] data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFBsnPduTxRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java530
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java530
        OFGroupStatsEntryVer13 other = (OFGroupStatsEntryVer13) obj;

        if (group == null) {
            if (other.group != null)
                return false;
        } else if (!group.equals(other.group))
            return false;
        if( refCount != other.refCount)
            return false;
        if (packetCount == null) {
            if (other.packetCount != null)
                return false;
        } else if (!packetCount.equals(other.packetCount))
            return false;
        if (byteCount == null) {
            if (other.byteCount != null)
                return false;
        } else if (!byteCount.equals(other.byteCount))
            return false;
        if( durationSec != other.durationSec)
            return false;
        if( durationNsec != other.durationNsec)
            return false;
        if (bucketStats == null) {
            if (other.bucketStats != null)
                return false;
        } else if (!bucketStats.equals(other.bucketStats))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((group == null) ? 0 : group.hashCode());
        result = prime *  (int) (refCount ^ (refCount >>> 32));
        result = prime * result + ((packetCount == null) ? 0 : packetCount.hashCode());
        result = prime * result + ((byteCount == null) ? 0 : byteCount.hashCode());
        result = prime *  (int) (durationSec ^ (durationSec >>> 32));
        result = prime *  (int) (durationNsec ^ (durationNsec >>> 32));
        result = prime * result + ((bucketStats == null) ? 0 : bucketStats.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsEntryVer14.java169
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsEntryVer14.java319
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsEntry.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFQueueStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFQueueStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public List<OFQueueStatsProp> getProperties() {
        return properties;
    }

    @Override
    public OFQueueStatsEntry.Builder setProperties(List<OFQueueStatsProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFQueueStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java698
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java698
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java698
    }

//
        @Override
        public OFPortStatsEntry build() {
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            U64 rxPackets = this.rxPacketsSet ? this.rxPackets : DEFAULT_RX_PACKETS;
            if(rxPackets == null)
                throw new NullPointerException("Property rxPackets must not be null");
            U64 txPackets = this.txPacketsSet ? this.txPackets : DEFAULT_TX_PACKETS;
            if(txPackets == null)
                throw new NullPointerException("Property txPackets must not be null");
            U64 rxBytes = this.rxBytesSet ? this.rxBytes : DEFAULT_RX_BYTES;
            if(rxBytes == null)
                throw new NullPointerException("Property rxBytes must not be null");
            U64 txBytes = this.txBytesSet ? this.txBytes : DEFAULT_TX_BYTES;
            if(txBytes == null)
                throw new NullPointerException("Property txBytes must not be null");
            U64 rxDropped = this.rxDroppedSet ? this.rxDropped : DEFAULT_RX_DROPPED;
            if(rxDropped == null)
                throw new NullPointerException("Property rxDropped must not be null");
            U64 txDropped = this.txDroppedSet ? this.txDropped : DEFAULT_TX_DROPPED;
            if(txDropped == null)
                throw new NullPointerException("Property txDropped must not be null");
            U64 rxErrors = this.rxErrorsSet ? this.rxErrors : DEFAULT_RX_ERRORS;
            if(rxErrors == null)
                throw new NullPointerException("Property rxErrors must not be null");
            U64 txErrors = this.txErrorsSet ? this.txErrors : DEFAULT_TX_ERRORS;
            if(txErrors == null)
                throw new NullPointerException("Property txErrors must not be null");
            U64 rxFrameErr = this.rxFrameErrSet ? this.rxFrameErr : DEFAULT_RX_FRAME_ERR;
            if(rxFrameErr == null)
                throw new NullPointerException("Property rxFrameErr must not be null");
            U64 rxOverErr = this.rxOverErrSet ? this.rxOverErr : DEFAULT_RX_OVER_ERR;
            if(rxOverErr == null)
                throw new NullPointerException("Property rxOverErr must not be null");
            U64 rxCrcErr = this.rxCrcErrSet ? this.rxCrcErr : DEFAULT_RX_CRC_ERR;
            if(rxCrcErr == null)
                throw new NullPointerException("Property rxCrcErr must not be null");
            U64 collisions = this.collisionsSet ? this.collisions : DEFAULT_COLLISIONS;
            if(collisions == null)
                throw new NullPointerException("Property collisions must not be null");


            return new OFPortStatsEntryVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortConfigSerializerVer11.java34
org/projectfloodlight/openflow/protocol/ver12/OFPortConfigSerializerVer12.java34
org/projectfloodlight/openflow/protocol/ver13/OFPortConfigSerializerVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFPortConfigSerializerVer14.java34
public class OFPortConfigSerializerVer11 {

    public final static int PORT_DOWN_VAL = 0x1;
    public final static int NO_RECV_VAL = 0x4;
    public final static int NO_FWD_VAL = 0x20;
    public final static int NO_PACKET_IN_VAL = 0x40;
    public final static int BSN_MIRROR_DEST_VAL = (int) 0x80000000;

    public static Set<OFPortConfig> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFPortConfig> set) {
        bb.writeInt(toWireValue(set));
    }

    public static void putTo(Set<OFPortConfig> set, PrimitiveSink sink) {
        sink.putInt(toWireValue(set));
    }


    public static Set<OFPortConfig> ofWireValue(int val) {
        EnumSet<OFPortConfig> set = EnumSet.noneOf(OFPortConfig.class);

        if((val & PORT_DOWN_VAL) != 0)
            set.add(OFPortConfig.PORT_DOWN);
        if((val & NO_RECV_VAL) != 0)
            set.add(OFPortConfig.NO_RECV);
        if((val & NO_FWD_VAL) != 0)
            set.add(OFPortConfig.NO_FWD);
        if((val & NO_PACKET_IN_VAL) != 0)
            set.add(OFPortConfig.NO_PACKET_IN);
        if((val & BSN_MIRROR_DEST_VAL) != 0)
            set.add(OFPortConfig.BSN_MIRROR_DEST);
        return Collections.unmodifiableSet(set);
    }

    public static int toWireValue(Set<OFPortConfig> set) {
        int wireValue = 0;

        for(OFPortConfig e: set) {
            switch(e) {
                case PORT_DOWN:
                    wireValue |= PORT_DOWN_VAL;
                    break;
                case NO_RECV:
                    wireValue |= NO_RECV_VAL;
                    break;
                case NO_FWD:
                    wireValue |= NO_FWD_VAL;
                    break;
                case NO_PACKET_IN:
                    wireValue |= NO_PACKET_IN_VAL;
                    break;
                case BSN_MIRROR_DEST:
                    wireValue |= BSN_MIRROR_DEST_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFPortConfig in version 1.1: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFAggregateStatsReplyVer10.java256
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsReplyVer11.java256
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsReplyVer12.java256
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsReplyVer13.java256
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsReplyVer14.java256
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAggregateStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFAggregateStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public long getFlowCount() {
        return flowCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setFlowCount(long flowCount) {
        this.flowCount = flowCount;
        this.flowCountSet = true;
        return this;
    }
//
        @Override
        public OFAggregateStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            U64 packetCount = this.packetCountSet ? this.packetCount : DEFAULT_PACKET_COUNT;
            if(packetCount == null)
                throw new NullPointerException("Property packetCount must not be null");
            U64 byteCount = this.byteCountSet ? this.byteCount : DEFAULT_BYTE_COUNT;
            if(byteCount == null)
                throw new NullPointerException("Property byteCount must not be null");
            long flowCount = this.flowCountSet ? this.flowCount : DEFAULT_FLOW_COUNT;


            return new OFAggregateStatsReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleVer13.java265
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleVer14.java265
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdle.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x28L;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFBsnFlowIdle.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBsnFlowIdle.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnFlowIdle.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFBsnFlowIdle.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
//
        @Override
        public OFBsnFlowIdle build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            Match match = this.matchSet ? this.match : DEFAULT_MATCH;
            if(match == null)
                throw new NullPointerException("Property match must not be null");


            return new OFBsnFlowIdleVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java698
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java698
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java698
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java724
    }

//
        @Override
        public OFPortStatsEntry build() {
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            U64 rxPackets = this.rxPacketsSet ? this.rxPackets : DEFAULT_RX_PACKETS;
            if(rxPackets == null)
                throw new NullPointerException("Property rxPackets must not be null");
            U64 txPackets = this.txPacketsSet ? this.txPackets : DEFAULT_TX_PACKETS;
            if(txPackets == null)
                throw new NullPointerException("Property txPackets must not be null");
            U64 rxBytes = this.rxBytesSet ? this.rxBytes : DEFAULT_RX_BYTES;
            if(rxBytes == null)
                throw new NullPointerException("Property rxBytes must not be null");
            U64 txBytes = this.txBytesSet ? this.txBytes : DEFAULT_TX_BYTES;
            if(txBytes == null)
                throw new NullPointerException("Property txBytes must not be null");
            U64 rxDropped = this.rxDroppedSet ? this.rxDropped : DEFAULT_RX_DROPPED;
            if(rxDropped == null)
                throw new NullPointerException("Property rxDropped must not be null");
            U64 txDropped = this.txDroppedSet ? this.txDropped : DEFAULT_TX_DROPPED;
            if(txDropped == null)
                throw new NullPointerException("Property txDropped must not be null");
            U64 rxErrors = this.rxErrorsSet ? this.rxErrors : DEFAULT_RX_ERRORS;
            if(rxErrors == null)
                throw new NullPointerException("Property rxErrors must not be null");
            U64 txErrors = this.txErrorsSet ? this.txErrors : DEFAULT_TX_ERRORS;
            if(txErrors == null)
                throw new NullPointerException("Property txErrors must not be null");
            U64 rxFrameErr = this.rxFrameErrSet ? this.rxFrameErr : DEFAULT_RX_FRAME_ERR;
            if(rxFrameErr == null)
                throw new NullPointerException("Property rxFrameErr must not be null");
            U64 rxOverErr = this.rxOverErrSet ? this.rxOverErr : DEFAULT_RX_OVER_ERR;
            if(rxOverErr == null)
                throw new NullPointerException("Property rxOverErr must not be null");
            U64 rxCrcErr = this.rxCrcErrSet ? this.rxCrcErr : DEFAULT_RX_CRC_ERR;
            if(rxCrcErr == null)
                throw new NullPointerException("Property rxCrcErr must not be null");
            U64 collisions = this.collisionsSet ? this.collisions : DEFAULT_COLLISIONS;
            if(collisions == null)
                throw new NullPointerException("Property collisions must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportL2GreFlagsSerializerVer10.java34
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreFlagsSerializerVer11.java34
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreFlagsSerializerVer12.java34
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreFlagsSerializerVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreFlagsSerializerVer14.java34
public class OFBsnVportL2GreFlagsSerializerVer10 {

    public final static int BSN_VPORT_L2GRE_LOCAL_MAC_IS_VALID_VAL = 0x1;
    public final static int BSN_VPORT_L2GRE_DSCP_ASSIGN_VAL = 0x2;
    public final static int BSN_VPORT_L2GRE_DSCP_COPY_VAL = 0x4;
    public final static int BSN_VPORT_L2GRE_LOOPBACK_IS_VALID_VAL = 0x8;
    public final static int BSN_VPORT_L2GRE_RATE_LIMIT_IS_VALID_VAL = 0x10;

    public static Set<OFBsnVportL2GreFlags> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFBsnVportL2GreFlags> set) {
        bb.writeInt(toWireValue(set));
    }

    public static void putTo(Set<OFBsnVportL2GreFlags> set, PrimitiveSink sink) {
        sink.putInt(toWireValue(set));
    }


    public static Set<OFBsnVportL2GreFlags> ofWireValue(int val) {
        EnumSet<OFBsnVportL2GreFlags> set = EnumSet.noneOf(OFBsnVportL2GreFlags.class);

        if((val & BSN_VPORT_L2GRE_LOCAL_MAC_IS_VALID_VAL) != 0)
            set.add(OFBsnVportL2GreFlags.BSN_VPORT_L2GRE_LOCAL_MAC_IS_VALID);
        if((val & BSN_VPORT_L2GRE_DSCP_ASSIGN_VAL) != 0)
            set.add(OFBsnVportL2GreFlags.BSN_VPORT_L2GRE_DSCP_ASSIGN);
        if((val & BSN_VPORT_L2GRE_DSCP_COPY_VAL) != 0)
            set.add(OFBsnVportL2GreFlags.BSN_VPORT_L2GRE_DSCP_COPY);
        if((val & BSN_VPORT_L2GRE_LOOPBACK_IS_VALID_VAL) != 0)
            set.add(OFBsnVportL2GreFlags.BSN_VPORT_L2GRE_LOOPBACK_IS_VALID);
        if((val & BSN_VPORT_L2GRE_RATE_LIMIT_IS_VALID_VAL) != 0)
            set.add(OFBsnVportL2GreFlags.BSN_VPORT_L2GRE_RATE_LIMIT_IS_VALID);
        return Collections.unmodifiableSet(set);
    }

    public static int toWireValue(Set<OFBsnVportL2GreFlags> set) {
        int wireValue = 0;

        for(OFBsnVportL2GreFlags e: set) {
            switch(e) {
                case BSN_VPORT_L2GRE_LOCAL_MAC_IS_VALID:
                    wireValue |= BSN_VPORT_L2GRE_LOCAL_MAC_IS_VALID_VAL;
                    break;
                case BSN_VPORT_L2GRE_DSCP_ASSIGN:
                    wireValue |= BSN_VPORT_L2GRE_DSCP_ASSIGN_VAL;
                    break;
                case BSN_VPORT_L2GRE_DSCP_COPY:
                    wireValue |= BSN_VPORT_L2GRE_DSCP_COPY_VAL;
                    break;
                case BSN_VPORT_L2GRE_LOOPBACK_IS_VALID:
                    wireValue |= BSN_VPORT_L2GRE_LOOPBACK_IS_VALID_VAL;
                    break;
                case BSN_VPORT_L2GRE_RATE_LIMIT_IS_VALID:
                    wireValue |= BSN_VPORT_L2GRE_RATE_LIMIT_IS_VALID_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFBsnVportL2GreFlags in version 1.0: " + e);
FileLine
net/onrc/openvirtex/api/service/handlers/tenant/StartOVXPort.java70
net/onrc/openvirtex/api/service/handlers/tenant/StopOVXPort.java70
                    "Start virtual port {} on virtual switch {} in virtual network {}",
                    port, dpid, virtualNetwork.getTenantId());
            OVXPort ovxPort = virtualNetwork.getSwitch(dpid.longValue())
                    .getPort(port.shortValue());
            Map<String, Object> reply = new HashMap<String, Object>(
                    ovxPort.getDBObject());
            reply.put(TenantHandler.VDPID, ovxPort.getParentSwitch()
                    .getSwitchId());
            reply.put(TenantHandler.TENANT, ovxPort.getTenantId());
            resp = new JSONRPC2Response(reply, 0);

        } catch (final MissingRequiredField e) {
            resp = new JSONRPC2Response(
                    new JSONRPC2Error(
                            JSONRPC2Error.INVALID_PARAMS.getCode(),
                            this.cmdName()
                                    + ": Unable to delete this virtual port in the virtual network : "
                                    + e.getMessage()), 0);
        } catch (final InvalidPortException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Invalid port : " + e.getMessage()), 0);
        } catch (final InvalidTenantIdException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Invalid tenant id : " + e.getMessage()), 0);
        } catch (final InvalidDPIDException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Invalid virtual dpid : " + e.getMessage()), 0);
        } catch (final NetworkMappingException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": " + e.getMessage()), 0);
        }
        return resp;
    }


    @Override
    public JSONRPC2ParamsType getType() {
        return JSONRPC2ParamsType.OBJECT;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxRequestVer10.java261
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxRequestVer11.java261
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxRequestVer12.java261
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxRequestVer14.java261
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x21L;
    }

    @Override
    public long getTimeoutMs() {
        return timeoutMs;
    }

    @Override
    public OFBsnPduRxRequest.Builder setTimeoutMs(long timeoutMs) {
        this.timeoutMs = timeoutMs;
        this.timeoutMsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxRequest.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnPduRxRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBsnPduRxRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            long timeoutMs = this.timeoutMsSet ? this.timeoutMs : DEFAULT_TIMEOUT_MS;
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            short slotNum = this.slotNumSet ? this.slotNum : DEFAULT_SLOT_NUM;
            byte[] data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFBsnPduRxRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxRequestVer10.java261
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxRequestVer11.java261
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxRequestVer12.java261
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxRequestVer14.java261
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduTxRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1fL;
    }

    @Override
    public long getTxIntervalMs() {
        return txIntervalMs;
    }

    @Override
    public OFBsnPduTxRequest.Builder setTxIntervalMs(long txIntervalMs) {
        this.txIntervalMs = txIntervalMs;
        this.txIntervalMsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduTxRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduTxRequest.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnPduTxRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBsnPduTxRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            long txIntervalMs = this.txIntervalMsSet ? this.txIntervalMs : DEFAULT_TX_INTERVAL_MS;
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            short slotNum = this.slotNumSet ? this.slotNum : DEFAULT_SLOT_NUM;
            byte[] data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFBsnPduTxRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFDescStatsReplyVer10.java171
org/projectfloodlight/openflow/protocol/ver10/OFDescStatsReplyVer10.java318
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public String getMfrDesc() {
        return mfrDesc;
    }

    @Override
    public OFDescStatsReply.Builder setMfrDesc(String mfrDesc) {
        this.mfrDesc = mfrDesc;
        this.mfrDescSet = true;
        return this;
    }
    @Override
    public String getHwDesc() {
        return hwDesc;
    }

    @Override
    public OFDescStatsReply.Builder setHwDesc(String hwDesc) {
        this.hwDesc = hwDesc;
        this.hwDescSet = true;
        return this;
    }
    @Override
    public String getSwDesc() {
        return swDesc;
    }

    @Override
    public OFDescStatsReply.Builder setSwDesc(String swDesc) {
        this.swDesc = swDesc;
        this.swDescSet = true;
        return this;
    }
    @Override
    public String getSerialNum() {
        return serialNum;
    }

    @Override
    public OFDescStatsReply.Builder setSerialNum(String serialNum) {
        this.serialNum = serialNum;
        this.serialNumSet = true;
        return this;
    }
    @Override
    public String getDpDesc() {
        return dpDesc;
    }

    @Override
    public OFDescStatsReply.Builder setDpDesc(String dpDesc) {
        this.dpDesc = dpDesc;
        this.dpDescSet = true;
        return this;
    }


        @Override
        public OFDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFDescStatsReplyVer11.java171
org/projectfloodlight/openflow/protocol/ver11/OFDescStatsReplyVer11.java318
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public String getMfrDesc() {
        return mfrDesc;
    }

    @Override
    public OFDescStatsReply.Builder setMfrDesc(String mfrDesc) {
        this.mfrDesc = mfrDesc;
        this.mfrDescSet = true;
        return this;
    }
    @Override
    public String getHwDesc() {
        return hwDesc;
    }

    @Override
    public OFDescStatsReply.Builder setHwDesc(String hwDesc) {
        this.hwDesc = hwDesc;
        this.hwDescSet = true;
        return this;
    }
    @Override
    public String getSwDesc() {
        return swDesc;
    }

    @Override
    public OFDescStatsReply.Builder setSwDesc(String swDesc) {
        this.swDesc = swDesc;
        this.swDescSet = true;
        return this;
    }
    @Override
    public String getSerialNum() {
        return serialNum;
    }

    @Override
    public OFDescStatsReply.Builder setSerialNum(String serialNum) {
        this.serialNum = serialNum;
        this.serialNumSet = true;
        return this;
    }
    @Override
    public String getDpDesc() {
        return dpDesc;
    }

    @Override
    public OFDescStatsReply.Builder setDpDesc(String dpDesc) {
        this.dpDesc = dpDesc;
        this.dpDescSet = true;
        return this;
    }


        @Override
        public OFDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFDescStatsReplyVer12.java171
org/projectfloodlight/openflow/protocol/ver12/OFDescStatsReplyVer12.java318
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public String getMfrDesc() {
        return mfrDesc;
    }

    @Override
    public OFDescStatsReply.Builder setMfrDesc(String mfrDesc) {
        this.mfrDesc = mfrDesc;
        this.mfrDescSet = true;
        return this;
    }
    @Override
    public String getHwDesc() {
        return hwDesc;
    }

    @Override
    public OFDescStatsReply.Builder setHwDesc(String hwDesc) {
        this.hwDesc = hwDesc;
        this.hwDescSet = true;
        return this;
    }
    @Override
    public String getSwDesc() {
        return swDesc;
    }

    @Override
    public OFDescStatsReply.Builder setSwDesc(String swDesc) {
        this.swDesc = swDesc;
        this.swDescSet = true;
        return this;
    }
    @Override
    public String getSerialNum() {
        return serialNum;
    }

    @Override
    public OFDescStatsReply.Builder setSerialNum(String serialNum) {
        this.serialNum = serialNum;
        this.serialNumSet = true;
        return this;
    }
    @Override
    public String getDpDesc() {
        return dpDesc;
    }

    @Override
    public OFDescStatsReply.Builder setDpDesc(String dpDesc) {
        this.dpDesc = dpDesc;
        this.dpDescSet = true;
        return this;
    }


        @Override
        public OFDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFDescStatsReplyVer13.java171
org/projectfloodlight/openflow/protocol/ver13/OFDescStatsReplyVer13.java318
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public String getMfrDesc() {
        return mfrDesc;
    }

    @Override
    public OFDescStatsReply.Builder setMfrDesc(String mfrDesc) {
        this.mfrDesc = mfrDesc;
        this.mfrDescSet = true;
        return this;
    }
    @Override
    public String getHwDesc() {
        return hwDesc;
    }

    @Override
    public OFDescStatsReply.Builder setHwDesc(String hwDesc) {
        this.hwDesc = hwDesc;
        this.hwDescSet = true;
        return this;
    }
    @Override
    public String getSwDesc() {
        return swDesc;
    }

    @Override
    public OFDescStatsReply.Builder setSwDesc(String swDesc) {
        this.swDesc = swDesc;
        this.swDescSet = true;
        return this;
    }
    @Override
    public String getSerialNum() {
        return serialNum;
    }

    @Override
    public OFDescStatsReply.Builder setSerialNum(String serialNum) {
        this.serialNum = serialNum;
        this.serialNumSet = true;
        return this;
    }
    @Override
    public String getDpDesc() {
        return dpDesc;
    }

    @Override
    public OFDescStatsReply.Builder setDpDesc(String dpDesc) {
        this.dpDesc = dpDesc;
        this.dpDescSet = true;
        return this;
    }


        @Override
        public OFDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFDescStatsReplyVer14.java171
org/projectfloodlight/openflow/protocol/ver14/OFDescStatsReplyVer14.java318
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public String getMfrDesc() {
        return mfrDesc;
    }

    @Override
    public OFDescStatsReply.Builder setMfrDesc(String mfrDesc) {
        this.mfrDesc = mfrDesc;
        this.mfrDescSet = true;
        return this;
    }
    @Override
    public String getHwDesc() {
        return hwDesc;
    }

    @Override
    public OFDescStatsReply.Builder setHwDesc(String hwDesc) {
        this.hwDesc = hwDesc;
        this.hwDescSet = true;
        return this;
    }
    @Override
    public String getSwDesc() {
        return swDesc;
    }

    @Override
    public OFDescStatsReply.Builder setSwDesc(String swDesc) {
        this.swDesc = swDesc;
        this.swDescSet = true;
        return this;
    }
    @Override
    public String getSerialNum() {
        return serialNum;
    }

    @Override
    public OFDescStatsReply.Builder setSerialNum(String serialNum) {
        this.serialNum = serialNum;
        this.serialNumSet = true;
        return this;
    }
    @Override
    public String getDpDesc() {
        return dpDesc;
    }

    @Override
    public OFDescStatsReply.Builder setDpDesc(String dpDesc) {
        this.dpDesc = dpDesc;
        this.dpDescSet = true;
        return this;
    }


        @Override
        public OFDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java438
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java438
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java438
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java438
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java438
        public OFFlowAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                U64 cookieMask = this.cookieMaskSet ? this.cookieMask : parentMessage.cookieMask;
                if(cookieMask == null)
                    throw new NullPointerException("Property cookieMask must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                OFBufferId bufferId = this.bufferIdSet ? this.bufferId : parentMessage.bufferId;
                if(bufferId == null)
                    throw new NullPointerException("Property bufferId must not be null");
                OFPort outPort = this.outPortSet ? this.outPort : parentMessage.outPort;
                if(outPort == null)
                    throw new NullPointerException("Property outPort must not be null");
                OFGroup outGroup = this.outGroupSet ? this.outGroup : parentMessage.outGroup;
                if(outGroup == null)
                    throw new NullPointerException("Property outGroup must not be null");
                Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                int importance = this.importanceSet ? this.importance : parentMessage.importance;
                Match match = this.matchSet ? this.match : parentMessage.match;
                if(match == null)
                    throw new NullPointerException("Property match must not be null");
                List<OFInstruction> instructions = this.instructionsSet ? this.instructions : parentMessage.instructions;
                if(instructions == null)
                    throw new NullPointerException("Property instructions must not be null");

                //
                return new OFFlowAddVer14(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFMatchV2Ver11.java655
org/projectfloodlight/openflow/protocol/ver11/OFMatchV2Ver11.java1087
                if(metadataMask == null)
                    throw new NullPointerException("Property metadataMask must not be null");

                //
                return new OFMatchV2Ver11(
                    inPort,
                    wildcards,
                    ethSrc,
                    ethSrcMask,
                    ethDst,
                    ethDstMask,
                    vlanVid,
                    vlanPcp,
                    ethType,
                    ipDscp,
                    ipProto,
                    ipv4Src,
                    ipv4SrcMask,
                    ipv4Dst,
                    ipv4DstMask,
                    tcpSrc,
                    tcpDst,
                    mplsLabel,
                    mplsTc,
                    metadata,
                    metadataMask
                );
        }

    @Override
    public <F extends OFValueType<F>> F get(MatchField<F> field)
            throws UnsupportedOperationException {
        // FIXME yotam - please replace with real implementation
        return null;
    }

    @Override
    public <F extends OFValueType<F>> Masked<F> getMasked(MatchField<F> field)
            throws UnsupportedOperationException {
        // FIXME yotam - please replace with real implementation
        return null;
    }

    @Override
    public boolean supports(MatchField<?> field) {
        // FIXME yotam - please replace with real implementation
        return false;
    }

    @Override
    public boolean supportsMasked(MatchField<?> field) {
        // FIXME yotam - please replace with real implementation
        return false;
    }

    @Override
    public boolean isExact(MatchField<?> field) {
        // FIXME yotam - please replace with real implementation
        return false;
    }

    @Override
    public boolean isFullyWildcarded(MatchField<?> field) {
        // FIXME yotam - please replace with real implementation
        return false;
    }

    @Override
    public boolean isPartiallyMasked(MatchField<?> field) {
        // FIXME yotam - please replace with real implementation
        return false;
    }

    @Override
    public <F extends OFValueType<F>> Match.Builder setExact(
            MatchField<F> field, F value) {
        // FIXME yotam - please replace with real implementation
        return null;
    }

    @Override
    public <F extends OFValueType<F>> Match.Builder setMasked(
            MatchField<F> field, F value, F mask) {
        // FIXME yotam - please replace with real implementation
        return null;
    }

    @Override
    public <F extends OFValueType<F>> Match.Builder setMasked(
            MatchField<F> field, Masked<F> valueWithMask) {
        // FIXME yotam - please replace with real implementation
        return null;
    }

    @Override
    public <F extends OFValueType<F>> Match.Builder wildcard(MatchField<F> field) {
        // FIXME yotam - please replace with real implementation
        return null;
    }

    }
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsRequestVer13.java147
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsRequestVer14.java147
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getTlvs() {
        return tlvs;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setTlvs(List<OFBsnTlv> tlvs) {
        this.tlvs = tlvs;
        this.tlvsSet = true;
        return this;
    }


        @Override
        public OFBsnGenericStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                String name = this.nameSet ? this.name : parentMessage.name;
                if(name == null)
                    throw new NullPointerException("Property name must not be null");
                List<OFBsnTlv> tlvs = this.tlvsSet ? this.tlvs : parentMessage.tlvs;
                if(tlvs == null)
                    throw new NullPointerException("Property tlvs must not be null");

                //
                return new OFBsnGenericStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFConfigFlagsSerializerVer11.java34
org/projectfloodlight/openflow/protocol/ver12/OFConfigFlagsSerializerVer12.java34
public class OFConfigFlagsSerializerVer11 {

    public final static short FRAG_NORMAL_VAL = (short) 0x0;
    public final static short FRAG_DROP_VAL = (short) 0x1;
    public final static short FRAG_REASM_VAL = (short) 0x2;
    public final static short FRAG_MASK_VAL = (short) 0x3;
    public final static short INVALID_TTL_TO_CONTROLLER_VAL = (short) 0x4;

    public static Set<OFConfigFlags> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFConfigFlags> set) {
        bb.writeShort(toWireValue(set));
    }

    public static void putTo(Set<OFConfigFlags> set, PrimitiveSink sink) {
        sink.putShort(toWireValue(set));
    }


    public static Set<OFConfigFlags> ofWireValue(short val) {
        EnumSet<OFConfigFlags> set = EnumSet.noneOf(OFConfigFlags.class);

        if((val & FRAG_MASK_VAL) == FRAG_NORMAL_VAL)
            set.add(OFConfigFlags.FRAG_NORMAL);
        else if((val & FRAG_MASK_VAL) == FRAG_DROP_VAL)
            set.add(OFConfigFlags.FRAG_DROP);
        else if((val & FRAG_MASK_VAL) == FRAG_REASM_VAL)
            set.add(OFConfigFlags.FRAG_REASM);
        if((val & INVALID_TTL_TO_CONTROLLER_VAL) != 0)
            set.add(OFConfigFlags.INVALID_TTL_TO_CONTROLLER);
        return Collections.unmodifiableSet(set);
    }

    public static short toWireValue(Set<OFConfigFlags> set) {
        short wireValue = 0;

        for(OFConfigFlags e: set) {
            switch(e) {
                case FRAG_NORMAL:
                    wireValue |= FRAG_NORMAL_VAL;
                    break;
                case FRAG_DROP:
                    wireValue |= FRAG_DROP_VAL;
                    break;
                case FRAG_REASM:
                    wireValue |= FRAG_REASM_VAL;
                    break;
                case INVALID_TTL_TO_CONTROLLER:
                    wireValue |= INVALID_TTL_TO_CONTROLLER_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFConfigFlags in version 1.1: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java210
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java419
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java215
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java430
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java215
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java430
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java215
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java430
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_REMOVED;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowRemoved.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowRemoved.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowRemoved.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public short getReason() {
        return reason;
    }

    @Override
    public OFFlowRemoved.Builder setReason(short reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowRemoved.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowRemoved.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java426
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java426
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java457
            throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }


        @Override
        public OFFlowAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                U64 cookieMask = this.cookieMaskSet ? this.cookieMask : parentMessage.cookieMask;
                if(cookieMask == null)
                    throw new NullPointerException("Property cookieMask must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                OFBufferId bufferId = this.bufferIdSet ? this.bufferId : parentMessage.bufferId;
                if(bufferId == null)
                    throw new NullPointerException("Property bufferId must not be null");
                OFPort outPort = this.outPortSet ? this.outPort : parentMessage.outPort;
                if(outPort == null)
                    throw new NullPointerException("Property outPort must not be null");
                OFGroup outGroup = this.outGroupSet ? this.outGroup : parentMessage.outGroup;
                if(outGroup == null)
                    throw new NullPointerException("Property outGroup must not be null");
                Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                Match match = this.matchSet ? this.match : parentMessage.match;
                if(match == null)
                    throw new NullPointerException("Property match must not be null");
                List<OFInstruction> instructions = this.instructionsSet ? this.instructions : parentMessage.instructions;
                if(instructions == null)
                    throw new NullPointerException("Property instructions must not be null");

                //
                return new OFFlowAddVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java426
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java426
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java453
            throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }


        @Override
        public OFFlowDeleteStrict build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                U64 cookieMask = this.cookieMaskSet ? this.cookieMask : parentMessage.cookieMask;
                if(cookieMask == null)
                    throw new NullPointerException("Property cookieMask must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                OFBufferId bufferId = this.bufferIdSet ? this.bufferId : parentMessage.bufferId;
                if(bufferId == null)
                    throw new NullPointerException("Property bufferId must not be null");
                OFPort outPort = this.outPortSet ? this.outPort : parentMessage.outPort;
                if(outPort == null)
                    throw new NullPointerException("Property outPort must not be null");
                OFGroup outGroup = this.outGroupSet ? this.outGroup : parentMessage.outGroup;
                if(outGroup == null)
                    throw new NullPointerException("Property outGroup must not be null");
                Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                Match match = this.matchSet ? this.match : parentMessage.match;
                if(match == null)
                    throw new NullPointerException("Property match must not be null");
                List<OFInstruction> instructions = this.instructionsSet ? this.instructions : parentMessage.instructions;
                if(instructions == null)
                    throw new NullPointerException("Property instructions must not be null");

                //
                return new OFFlowDeleteStrictVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java426
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java426
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java452
            throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }


        @Override
        public OFFlowDelete build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                U64 cookieMask = this.cookieMaskSet ? this.cookieMask : parentMessage.cookieMask;
                if(cookieMask == null)
                    throw new NullPointerException("Property cookieMask must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                OFBufferId bufferId = this.bufferIdSet ? this.bufferId : parentMessage.bufferId;
                if(bufferId == null)
                    throw new NullPointerException("Property bufferId must not be null");
                OFPort outPort = this.outPortSet ? this.outPort : parentMessage.outPort;
                if(outPort == null)
                    throw new NullPointerException("Property outPort must not be null");
                OFGroup outGroup = this.outGroupSet ? this.outGroup : parentMessage.outGroup;
                if(outGroup == null)
                    throw new NullPointerException("Property outGroup must not be null");
                Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                Match match = this.matchSet ? this.match : parentMessage.match;
                if(match == null)
                    throw new NullPointerException("Property match must not be null");
                List<OFInstruction> instructions = this.instructionsSet ? this.instructions : parentMessage.instructions;
                if(instructions == null)
                    throw new NullPointerException("Property instructions must not be null");

                //
                return new OFFlowDeleteVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java426
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java426
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java453
            throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }


        @Override
        public OFFlowModifyStrict build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                U64 cookieMask = this.cookieMaskSet ? this.cookieMask : parentMessage.cookieMask;
                if(cookieMask == null)
                    throw new NullPointerException("Property cookieMask must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                OFBufferId bufferId = this.bufferIdSet ? this.bufferId : parentMessage.bufferId;
                if(bufferId == null)
                    throw new NullPointerException("Property bufferId must not be null");
                OFPort outPort = this.outPortSet ? this.outPort : parentMessage.outPort;
                if(outPort == null)
                    throw new NullPointerException("Property outPort must not be null");
                OFGroup outGroup = this.outGroupSet ? this.outGroup : parentMessage.outGroup;
                if(outGroup == null)
                    throw new NullPointerException("Property outGroup must not be null");
                Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                Match match = this.matchSet ? this.match : parentMessage.match;
                if(match == null)
                    throw new NullPointerException("Property match must not be null");
                List<OFInstruction> instructions = this.instructionsSet ? this.instructions : parentMessage.instructions;
                if(instructions == null)
                    throw new NullPointerException("Property instructions must not be null");

                //
                return new OFFlowModifyStrictVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java426
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java426
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java451
            throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }


        @Override
        public OFFlowModify build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                U64 cookieMask = this.cookieMaskSet ? this.cookieMask : parentMessage.cookieMask;
                if(cookieMask == null)
                    throw new NullPointerException("Property cookieMask must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                OFBufferId bufferId = this.bufferIdSet ? this.bufferId : parentMessage.bufferId;
                if(bufferId == null)
                    throw new NullPointerException("Property bufferId must not be null");
                OFPort outPort = this.outPortSet ? this.outPort : parentMessage.outPort;
                if(outPort == null)
                    throw new NullPointerException("Property outPort must not be null");
                OFGroup outGroup = this.outGroupSet ? this.outGroup : parentMessage.outGroup;
                if(outGroup == null)
                    throw new NullPointerException("Property outGroup must not be null");
                Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                Match match = this.matchSet ? this.match : parentMessage.match;
                if(match == null)
                    throw new NullPointerException("Property match must not be null");
                List<OFInstruction> instructions = this.instructionsSet ? this.instructions : parentMessage.instructions;
                if(instructions == null)
                    throw new NullPointerException("Property instructions must not be null");

                //
                return new OFFlowModifyVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java677
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java677
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 52)
                throw new OFParseError("Wrong length: Expected=52(52), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x2bL
            int subtype = bb.readInt();
            if(subtype != 0x2b)
                throw new OFParseError("Wrong subtype: Expected=0x2bL(0x2bL), got="+subtype);
            short convergenceStatus = U8.f(bb.readByte());
            // pad: 3 bytes
            bb.skipBytes(3);
            OFPort portNo = OFPort.read4Bytes(bb);
            int actorSysPriority = U16.f(bb.readShort());
            MacAddress actorSysMac = MacAddress.read6Bytes(bb);
            int actorPortPriority = U16.f(bb.readShort());
            int actorPortNum = U16.f(bb.readShort());
            int actorKey = U16.f(bb.readShort());
            int partnerSysPriority = U16.f(bb.readShort());
            MacAddress partnerSysMac = MacAddress.read6Bytes(bb);
            int partnerPortPriority = U16.f(bb.readShort());
            int partnerPortNum = U16.f(bb.readShort());
            int partnerKey = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBadMatchCodeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFBadMatchCodeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFBadMatchCodeSerializerVer14.java30
public class OFBadMatchCodeSerializerVer12 {

    public final static short BAD_TYPE_VAL = (short) 0x0;
    public final static short BAD_LEN_VAL = (short) 0x1;
    public final static short BAD_TAG_VAL = (short) 0x2;
    public final static short BAD_DL_ADDR_MASK_VAL = (short) 0x3;
    public final static short BAD_NW_ADDR_MASK_VAL = (short) 0x4;
    public final static short BAD_WILDCARDS_VAL = (short) 0x5;
    public final static short BAD_FIELD_VAL = (short) 0x6;
    public final static short BAD_VALUE_VAL = (short) 0x7;
    public final static short BAD_MASK_VAL = (short) 0x8;
    public final static short BAD_PREREQ_VAL = (short) 0x9;
    public final static short DUP_FIELD_VAL = (short) 0xa;
    public final static short EPERM_VAL = (short) 0xb;

    public static OFBadMatchCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBadMatchCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFBadMatchCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFBadMatchCode ofWireValue(short val) {
        switch(val) {
            case BAD_TYPE_VAL:
                return OFBadMatchCode.BAD_TYPE;
            case BAD_LEN_VAL:
                return OFBadMatchCode.BAD_LEN;
            case BAD_TAG_VAL:
                return OFBadMatchCode.BAD_TAG;
            case BAD_DL_ADDR_MASK_VAL:
                return OFBadMatchCode.BAD_DL_ADDR_MASK;
            case BAD_NW_ADDR_MASK_VAL:
                return OFBadMatchCode.BAD_NW_ADDR_MASK;
            case BAD_WILDCARDS_VAL:
                return OFBadMatchCode.BAD_WILDCARDS;
            case BAD_FIELD_VAL:
                return OFBadMatchCode.BAD_FIELD;
            case BAD_VALUE_VAL:
                return OFBadMatchCode.BAD_VALUE;
            case BAD_MASK_VAL:
                return OFBadMatchCode.BAD_MASK;
            case BAD_PREREQ_VAL:
                return OFBadMatchCode.BAD_PREREQ;
            case DUP_FIELD_VAL:
                return OFBadMatchCode.DUP_FIELD;
            case EPERM_VAL:
                return OFBadMatchCode.EPERM;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFBadMatchCode in version 1.2: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterModFailedCodeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFMeterModFailedCodeSerializerVer14.java30
public class OFMeterModFailedCodeSerializerVer13 {

    public final static short UNKNOWN_VAL = (short) 0x0;
    public final static short METER_EXISTS_VAL = (short) 0x1;
    public final static short INVALID_METER_VAL = (short) 0x2;
    public final static short UNKNOWN_METER_VAL = (short) 0x3;
    public final static short BAD_COMMAND_VAL = (short) 0x4;
    public final static short BAD_FLAGS_VAL = (short) 0x5;
    public final static short BAD_RATE_VAL = (short) 0x6;
    public final static short BAD_BURST_VAL = (short) 0x7;
    public final static short BAD_BAND_VAL = (short) 0x8;
    public final static short BAD_BAND_VALUE_VAL = (short) 0x9;
    public final static short OUT_OF_METERS_VAL = (short) 0xa;
    public final static short OUT_OF_BANDS_VAL = (short) 0xb;

    public static OFMeterModFailedCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFMeterModFailedCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFMeterModFailedCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFMeterModFailedCode ofWireValue(short val) {
        switch(val) {
            case UNKNOWN_VAL:
                return OFMeterModFailedCode.UNKNOWN;
            case METER_EXISTS_VAL:
                return OFMeterModFailedCode.METER_EXISTS;
            case INVALID_METER_VAL:
                return OFMeterModFailedCode.INVALID_METER;
            case UNKNOWN_METER_VAL:
                return OFMeterModFailedCode.UNKNOWN_METER;
            case BAD_COMMAND_VAL:
                return OFMeterModFailedCode.BAD_COMMAND;
            case BAD_FLAGS_VAL:
                return OFMeterModFailedCode.BAD_FLAGS;
            case BAD_RATE_VAL:
                return OFMeterModFailedCode.BAD_RATE;
            case BAD_BURST_VAL:
                return OFMeterModFailedCode.BAD_BURST;
            case BAD_BAND_VAL:
                return OFMeterModFailedCode.BAD_BAND;
            case BAD_BAND_VALUE_VAL:
                return OFMeterModFailedCode.BAD_BAND_VALUE;
            case OUT_OF_METERS_VAL:
                return OFMeterModFailedCode.OUT_OF_METERS;
            case OUT_OF_BANDS_VAL:
                return OFMeterModFailedCode.OUT_OF_BANDS;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFMeterModFailedCode in version 1.3: " + val);
FileLine
net/onrc/openvirtex/messages/ver13/OVXFlowAddVer13.java166
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteStrictVer13.java106
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteVer13.java108
net/onrc/openvirtex/messages/ver13/OVXFlowModifyStrictVer13.java106
net/onrc/openvirtex/messages/ver13/OVXFlowModifyVer13.java111
        System.out.println("Going after actions with ovxmatch="+ ovxMatch.toString());
        for (OFAction act: this.getActions()) {
            try {
                if (act.getType().equals(OFActionType.SET_FIELD)) {
                    OFOxm<?> oxmField = ((OFActionSetField)act).getField();
                    act  = OVXFactoryInst.myOVXFactory.buildOVXActionSetField(oxmField);
                } else if (act.getType().equals(OFActionType.OUTPUT)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionOutputV3(((OFActionOutput)act).getPort(),((OFActionOutput)act).getMaxLen());
                } else if (act.getType().equals(OFActionType.SET_QUEUE)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionSetQueue(((OFActionSetQueue)act).getQueueId());
                } else if (act.getType().equals(OFActionType.PUSH_VLAN)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionPushVlan(((OFActionPushVlan)act).getEthertype());
                } else if (act.getType().equals(OFActionType.POP_VLAN)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionPopVlan();
                }

                ((VirtualizableActionV3) act).virtualize(sw,
                        this.approvedActions, ovxMatch);
            } catch (final ActionVirtualizationDenied e) {
                this.log.warn("Action {} could not be virtualized; error: {}",
                        act, e.getMessage());
                ft.deleteFlowMod(ovxCookie);
                sw.sendMsg(OVXMessageUtil.makeError(e.getErrorCode(), this), sw);
                return;
            } catch (final DroppedMessageException e) {
                this.log.warn("Dropping flowmod {} {}", this, e);
                ft.deleteFlowMod(ovxCookie);
                // TODO perhaps send error message to controller
                return;
            }
        }
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortModVer10.java149
org/projectfloodlight/openflow/protocol/ver10/OFPortModVer10.java277
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.PORT_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortMod.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortMod.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortMod.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFPortMod.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public long getMask() {
        return mask;
    }

    @Override
    public OFPortMod.Builder setMask(long mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public long getAdvertise() {
        return advertise;
    }

    @Override
    public OFPortMod.Builder setAdvertise(long advertise) {
        this.advertise = advertise;
        this.advertiseSet = true;
        return this;
    }
    @Override
    public List<OFPortModProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.0");
    }

    @Override
    public OFPortMod.Builder setProperties(List<OFPortModProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.0");
    }


        @Override
        public OFPortMod build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortModVer11.java149
org/projectfloodlight/openflow/protocol/ver11/OFPortModVer11.java277
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.PORT_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortMod.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortMod.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortMod.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFPortMod.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public long getMask() {
        return mask;
    }

    @Override
    public OFPortMod.Builder setMask(long mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public long getAdvertise() {
        return advertise;
    }

    @Override
    public OFPortMod.Builder setAdvertise(long advertise) {
        this.advertise = advertise;
        this.advertiseSet = true;
        return this;
    }
    @Override
    public List<OFPortModProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.1");
    }

    @Override
    public OFPortMod.Builder setProperties(List<OFPortModProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.1");
    }


        @Override
        public OFPortMod build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPortModVer12.java149
org/projectfloodlight/openflow/protocol/ver12/OFPortModVer12.java277
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.PORT_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortMod.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortMod.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortMod.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFPortMod.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public long getMask() {
        return mask;
    }

    @Override
    public OFPortMod.Builder setMask(long mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public long getAdvertise() {
        return advertise;
    }

    @Override
    public OFPortMod.Builder setAdvertise(long advertise) {
        this.advertise = advertise;
        this.advertiseSet = true;
        return this;
    }
    @Override
    public List<OFPortModProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.2");
    }

    @Override
    public OFPortMod.Builder setProperties(List<OFPortModProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.2");
    }


        @Override
        public OFPortMod build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsRequestVer13.java253
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsRequestVer14.java253
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getTlvs() {
        return tlvs;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setTlvs(List<OFBsnTlv> tlvs) {
        this.tlvs = tlvs;
        this.tlvsSet = true;
        return this;
    }
//
        @Override
        public OFBsnGenericStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            String name = this.nameSet ? this.name : DEFAULT_NAME;
            if(name == null)
                throw new NullPointerException("Property name must not be null");
            List<OFBsnTlv> tlvs = this.tlvsSet ? this.tlvs : DEFAULT_TLVS;
            if(tlvs == null)
                throw new NullPointerException("Property tlvs must not be null");


            return new OFBsnGenericStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortModVer13.java149
org/projectfloodlight/openflow/protocol/ver13/OFPortModVer13.java277
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.PORT_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortMod.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortMod.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortMod.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFPortMod.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public long getMask() {
        return mask;
    }

    @Override
    public OFPortMod.Builder setMask(long mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public long getAdvertise() {
        return advertise;
    }

    @Override
    public OFPortMod.Builder setAdvertise(long advertise) {
        this.advertise = advertise;
        this.advertiseSet = true;
        return this;
    }
    @Override
    public List<OFPortModProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.3");
    }

    @Override
    public OFPortMod.Builder setProperties(List<OFPortModProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.3");
    }


        @Override
        public OFPortMod build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFPortModVer14.java153
org/projectfloodlight/openflow/protocol/ver14/OFPortModVer14.java283
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.PORT_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortMod.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortMod.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortMod.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFPortMod.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public long getMask() {
        return mask;
    }

    @Override
    public OFPortMod.Builder setMask(long mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public long getAdvertise()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property advertise not supported in version 1.4");
    }

    @Override
    public OFPortMod.Builder setAdvertise(long advertise) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property advertise not supported in version 1.4");
    }
    @Override
    public List<OFPortModProp> getProperties() {
        return properties;
    }

    @Override
    public OFPortMod.Builder setProperties(List<OFPortModProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }


        @Override
        public OFPortMod build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFDescStatsReplyVer10.java174
org/projectfloodlight/openflow/protocol/ver11/OFDescStatsReplyVer11.java321
org/projectfloodlight/openflow/protocol/ver12/OFDescStatsReplyVer12.java321
org/projectfloodlight/openflow/protocol/ver13/OFDescStatsReplyVer13.java321
org/projectfloodlight/openflow/protocol/ver14/OFDescStatsReplyVer14.java321
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public String getMfrDesc() {
        return mfrDesc;
    }

    @Override
    public OFDescStatsReply.Builder setMfrDesc(String mfrDesc) {
        this.mfrDesc = mfrDesc;
        this.mfrDescSet = true;
        return this;
    }
    @Override
    public String getHwDesc() {
        return hwDesc;
    }

    @Override
    public OFDescStatsReply.Builder setHwDesc(String hwDesc) {
        this.hwDesc = hwDesc;
        this.hwDescSet = true;
        return this;
    }
    @Override
    public String getSwDesc() {
        return swDesc;
    }

    @Override
    public OFDescStatsReply.Builder setSwDesc(String swDesc) {
        this.swDesc = swDesc;
        this.swDescSet = true;
        return this;
    }
    @Override
    public String getSerialNum() {
        return serialNum;
    }

    @Override
    public OFDescStatsReply.Builder setSerialNum(String serialNum) {
        this.serialNum = serialNum;
        this.serialNumSet = true;
        return this;
    }
    @Override
    public String getDpDesc() {
        return dpDesc;
    }

    @Override
    public OFDescStatsReply.Builder setDpDesc(String dpDesc) {
        this.dpDesc = dpDesc;
        this.dpDescSet = true;
        return this;
    }


        @Override
        public OFDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFDescStatsReplyVer10.java321
org/projectfloodlight/openflow/protocol/ver11/OFDescStatsReplyVer11.java174
org/projectfloodlight/openflow/protocol/ver12/OFDescStatsReplyVer12.java174
org/projectfloodlight/openflow/protocol/ver13/OFDescStatsReplyVer13.java174
org/projectfloodlight/openflow/protocol/ver14/OFDescStatsReplyVer14.java174
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public String getMfrDesc() {
        return mfrDesc;
    }

    @Override
    public OFDescStatsReply.Builder setMfrDesc(String mfrDesc) {
        this.mfrDesc = mfrDesc;
        this.mfrDescSet = true;
        return this;
    }
    @Override
    public String getHwDesc() {
        return hwDesc;
    }

    @Override
    public OFDescStatsReply.Builder setHwDesc(String hwDesc) {
        this.hwDesc = hwDesc;
        this.hwDescSet = true;
        return this;
    }
    @Override
    public String getSwDesc() {
        return swDesc;
    }

    @Override
    public OFDescStatsReply.Builder setSwDesc(String swDesc) {
        this.swDesc = swDesc;
        this.swDescSet = true;
        return this;
    }
    @Override
    public String getSerialNum() {
        return serialNum;
    }

    @Override
    public OFDescStatsReply.Builder setSerialNum(String serialNum) {
        this.serialNum = serialNum;
        this.serialNumSet = true;
        return this;
    }
    @Override
    public String getDpDesc() {
        return dpDesc;
    }

    @Override
    public OFDescStatsReply.Builder setDpDesc(String dpDesc) {
        this.dpDesc = dpDesc;
        this.dpDescSet = true;
        return this;
    }
//
        @Override
        public OFDescStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsReplyVer13.java145
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsReplyVer14.java145
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xeL;
    }

    @Override
    public String getImageChecksum() {
        return imageChecksum;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setImageChecksum(String imageChecksum) {
        this.imageChecksum = imageChecksum;
        this.imageChecksumSet = true;
        return this;
    }
    @Override
    public String getStartupConfigChecksum() {
        return startupConfigChecksum;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setStartupConfigChecksum(String startupConfigChecksum) {
        this.startupConfigChecksum = startupConfigChecksum;
        this.startupConfigChecksumSet = true;
        return this;
    }


        @Override
        public OFBsnImageDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                String imageChecksum = this.imageChecksumSet ? this.imageChecksum : parentMessage.imageChecksum;
                if(imageChecksum == null)
                    throw new NullPointerException("Property imageChecksum must not be null");
                String startupConfigChecksum = this.startupConfigChecksumSet ? this.startupConfigChecksum : parentMessage.startupConfigChecksum;
                if(startupConfigChecksum == null)
                    throw new NullPointerException("Property startupConfigChecksum must not be null");

                //
                return new OFBsnImageDescStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java431
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java431
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java431
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java431
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java431
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java431
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java431
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java431
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java431
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java431
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java462
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java458
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java457
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java458
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java456
        public OFFlowAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                U64 cookieMask = this.cookieMaskSet ? this.cookieMask : parentMessage.cookieMask;
                if(cookieMask == null)
                    throw new NullPointerException("Property cookieMask must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                OFBufferId bufferId = this.bufferIdSet ? this.bufferId : parentMessage.bufferId;
                if(bufferId == null)
                    throw new NullPointerException("Property bufferId must not be null");
                OFPort outPort = this.outPortSet ? this.outPort : parentMessage.outPort;
                if(outPort == null)
                    throw new NullPointerException("Property outPort must not be null");
                OFGroup outGroup = this.outGroupSet ? this.outGroup : parentMessage.outGroup;
                if(outGroup == null)
                    throw new NullPointerException("Property outGroup must not be null");
                Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                Match match = this.matchSet ? this.match : parentMessage.match;
                if(match == null)
                    throw new NullPointerException("Property match must not be null");
                List<OFInstruction> instructions = this.instructionsSet ? this.instructions : parentMessage.instructions;
                if(instructions == null)
                    throw new NullPointerException("Property instructions must not be null");

                //
                return new OFFlowAddVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java479
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java1147
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java1937
        switch (field.id) {
            case IN_PORT:
                return (this.wildcards & OFPFW_IN_PORT) != 0;
            case ETH_DST:
                return (this.wildcards & OFPFW_DL_DST) != 0;
            case ETH_SRC:
                return (this.wildcards & OFPFW_DL_SRC) != 0;
            case ETH_TYPE:
                return (this.wildcards & OFPFW_DL_TYPE) != 0;
            case VLAN_VID:
                return (this.wildcards & OFPFW_DL_VLAN) != 0;
            case VLAN_PCP:
                return (this.wildcards & OFPFW_DL_VLAN_PCP) != 0;
            case ARP_OP:
                return (this.wildcards & OFPFW_NW_PROTO) != 0;
            case ARP_SPA:
                return this.getIpv4SrcCidrMaskLen() <= 0;
            case ARP_TPA:
                return this.getIpv4DstCidrMaskLen() <= 0;
            case IP_DSCP:
                return (this.wildcards & OFPFW_NW_TOS) != 0;
            case IP_PROTO:
                return (this.wildcards & OFPFW_NW_PROTO) != 0;
            case TCP_SRC:
                return (this.wildcards & OFPFW_TP_SRC) != 0;
            case TCP_DST:
                return (this.wildcards & OFPFW_TP_DST) != 0;
            case UDP_SRC:
                return (this.wildcards & OFPFW_TP_SRC) != 0;
            case UDP_DST:
                return (this.wildcards & OFPFW_TP_DST) != 0;
            case SCTP_SRC:
                return (this.wildcards & OFPFW_TP_SRC) != 0;
            case SCTP_DST:
                return (this.wildcards & OFPFW_TP_DST) != 0;
            case ICMPV4_TYPE:
                return (this.wildcards & OFPFW_TP_SRC) != 0;
            case ICMPV4_CODE:
                return (this.wildcards & OFPFW_TP_DST) != 0;
            case IPV4_SRC:
                return this.getIpv4SrcCidrMaskLen() <= 0;
            case IPV4_DST:
                return this.getIpv4DstCidrMaskLen() <= 0;
            default:
                throw new UnsupportedOperationException("OFMatch does not support matching on field " + field.getName());
        }
    }

    @Override
    public boolean isPartiallyMasked(MatchField<?> field) {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFlagsSerializerVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFMeterFlagsSerializerVer14.java34
public class OFMeterFlagsSerializerVer13 {

    public final static short KBPS_VAL = (short) 0x1;
    public final static short PKTPS_VAL = (short) 0x2;
    public final static short BURST_VAL = (short) 0x4;
    public final static short STATS_VAL = (short) 0x8;

    public static Set<OFMeterFlags> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFMeterFlags> set) {
        bb.writeShort(toWireValue(set));
    }

    public static void putTo(Set<OFMeterFlags> set, PrimitiveSink sink) {
        sink.putShort(toWireValue(set));
    }


    public static Set<OFMeterFlags> ofWireValue(short val) {
        EnumSet<OFMeterFlags> set = EnumSet.noneOf(OFMeterFlags.class);

        if((val & KBPS_VAL) != 0)
            set.add(OFMeterFlags.KBPS);
        if((val & PKTPS_VAL) != 0)
            set.add(OFMeterFlags.PKTPS);
        if((val & BURST_VAL) != 0)
            set.add(OFMeterFlags.BURST);
        if((val & STATS_VAL) != 0)
            set.add(OFMeterFlags.STATS);
        return Collections.unmodifiableSet(set);
    }

    public static short toWireValue(Set<OFMeterFlags> set) {
        short wireValue = 0;

        for(OFMeterFlags e: set) {
            switch(e) {
                case KBPS:
                    wireValue |= KBPS_VAL;
                    break;
                case PKTPS:
                    wireValue |= PKTPS_VAL;
                    break;
                case BURST:
                    wireValue |= BURST_VAL;
                    break;
                case STATS:
                    wireValue |= STATS_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFMeterFlags in version 1.3: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsVer13.java518
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsVer14.java518
        OFMeterStatsVer13 other = (OFMeterStatsVer13) obj;

        if( meterId != other.meterId)
            return false;
        if( flowCount != other.flowCount)
            return false;
        if (packetInCount == null) {
            if (other.packetInCount != null)
                return false;
        } else if (!packetInCount.equals(other.packetInCount))
            return false;
        if (byteInCount == null) {
            if (other.byteInCount != null)
                return false;
        } else if (!byteInCount.equals(other.byteInCount))
            return false;
        if( durationSec != other.durationSec)
            return false;
        if( durationNsec != other.durationNsec)
            return false;
        if (bandStats == null) {
            if (other.bandStats != null)
                return false;
        } else if (!bandStats.equals(other.bandStats))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (meterId ^ (meterId >>> 32));
        result = prime *  (int) (flowCount ^ (flowCount >>> 32));
        result = prime * result + ((packetInCount == null) ? 0 : packetInCount.hashCode());
        result = prime * result + ((byteInCount == null) ? 0 : byteInCount.hashCode());
        result = prime *  (int) (durationSec ^ (durationSec >>> 32));
        result = prime *  (int) (durationNsec ^ (durationNsec >>> 32));
        result = prime * result + ((bandStats == null) ? 0 : bandStats.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java702
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java754
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java754
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java754
        OFPortDescVer10 other = (OFPortDescVer10) obj;

        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if (hwAddr == null) {
            if (other.hwAddr != null)
                return false;
        } else if (!hwAddr.equals(other.hwAddr))
            return false;
        if (name == null) {
            if (other.name != null)
                return false;
        } else if (!name.equals(other.name))
            return false;
        if (config == null) {
            if (other.config != null)
                return false;
        } else if (!config.equals(other.config))
            return false;
        if (state == null) {
            if (other.state != null)
                return false;
        } else if (!state.equals(other.state))
            return false;
        if (curr == null) {
            if (other.curr != null)
                return false;
        } else if (!curr.equals(other.curr))
            return false;
        if (advertised == null) {
            if (other.advertised != null)
                return false;
        } else if (!advertised.equals(other.advertised))
            return false;
        if (supported == null) {
            if (other.supported != null)
                return false;
        } else if (!supported.equals(other.supported))
            return false;
        if (peer == null) {
            if (other.peer != null)
                return false;
        } else if (!peer.equals(other.peer))
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportQInQVer10.java230
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportQInQVer11.java230
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportQInQVer12.java230
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportQInQVer13.java230
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportQInQVer14.java230
                return new OFBsnVportQInQVer10(
                    portNo,
                    ingressTpid,
                    ingressVlanId,
                    egressTpid,
                    egressVlanId,
                    ifName
                );
        }

    }

    static class Builder implements OFBsnVportQInQ.Builder {
        // OF message fields
        private boolean portNoSet;
        private long portNo;
        private boolean ingressTpidSet;
        private int ingressTpid;
        private boolean ingressVlanIdSet;
        private int ingressVlanId;
        private boolean egressTpidSet;
        private int egressTpid;
        private boolean egressVlanIdSet;
        private int egressVlanId;
        private boolean ifNameSet;
        private String ifName;

    @Override
    public int getType() {
        return 0x0;
    }

    @Override
    public long getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnVportQInQ.Builder setPortNo(long portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getIngressTpid() {
        return ingressTpid;
    }

    @Override
    public OFBsnVportQInQ.Builder setIngressTpid(int ingressTpid) {
        this.ingressTpid = ingressTpid;
        this.ingressTpidSet = true;
        return this;
    }
    @Override
    public int getIngressVlanId() {
        return ingressVlanId;
    }

    @Override
    public OFBsnVportQInQ.Builder setIngressVlanId(int ingressVlanId) {
        this.ingressVlanId = ingressVlanId;
        this.ingressVlanIdSet = true;
        return this;
    }
    @Override
    public int getEgressTpid() {
        return egressTpid;
    }

    @Override
    public OFBsnVportQInQ.Builder setEgressTpid(int egressTpid) {
        this.egressTpid = egressTpid;
        this.egressTpidSet = true;
        return this;
    }
    @Override
    public int getEgressVlanId() {
        return egressVlanId;
    }

    @Override
    public OFBsnVportQInQ.Builder setEgressVlanId(int egressVlanId) {
        this.egressVlanId = egressVlanId;
        this.egressVlanIdSet = true;
        return this;
    }
    @Override
    public String getIfName() {
        return ifName;
    }

    @Override
    public OFBsnVportQInQ.Builder setIfName(String ifName) {
        this.ifName = ifName;
        this.ifNameSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaUploadVer13.java141
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaUploadVer14.java141
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaUpload.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x40L;
    }

    @Override
    public Set<OFBsnLuaUploadFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnLuaUpload.Builder setFlags(Set<OFBsnLuaUploadFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public String getFilename() {
        return filename;
    }

    @Override
    public OFBsnLuaUpload.Builder setFilename(String filename) {
        this.filename = filename;
        this.filenameSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaUpload.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnLuaUpload build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFBsnLuaUploadFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                String filename = this.filenameSet ? this.filename : parentMessage.filename;
                if(filename == null)
                    throw new NullPointerException("Property filename must not be null");
                byte[] data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFBsnLuaUploadVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java965
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java965
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java965
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java1011
        } else if (!collisions.equals(other.collisions))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime * result + ((rxPackets == null) ? 0 : rxPackets.hashCode());
        result = prime * result + ((txPackets == null) ? 0 : txPackets.hashCode());
        result = prime * result + ((rxBytes == null) ? 0 : rxBytes.hashCode());
        result = prime * result + ((txBytes == null) ? 0 : txBytes.hashCode());
        result = prime * result + ((rxDropped == null) ? 0 : rxDropped.hashCode());
        result = prime * result + ((txDropped == null) ? 0 : txDropped.hashCode());
        result = prime * result + ((rxErrors == null) ? 0 : rxErrors.hashCode());
        result = prime * result + ((txErrors == null) ? 0 : txErrors.hashCode());
        result = prime * result + ((rxFrameErr == null) ? 0 : rxFrameErr.hashCode());
        result = prime * result + ((rxOverErr == null) ? 0 : rxOverErr.hashCode());
        result = prime * result + ((rxCrcErr == null) ? 0 : rxCrcErr.hashCode());
        result = prime * result + ((collisions == null) ? 0 : collisions.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsReplyVer13.java251
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsReplyVer14.java251
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xeL;
    }

    @Override
    public String getImageChecksum() {
        return imageChecksum;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setImageChecksum(String imageChecksum) {
        this.imageChecksum = imageChecksum;
        this.imageChecksumSet = true;
        return this;
    }
    @Override
    public String getStartupConfigChecksum() {
        return startupConfigChecksum;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setStartupConfigChecksum(String startupConfigChecksum) {
        this.startupConfigChecksum = startupConfigChecksum;
        this.startupConfigChecksumSet = true;
        return this;
    }
//
        @Override
        public OFBsnImageDescStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            String imageChecksum = this.imageChecksumSet ? this.imageChecksum : DEFAULT_IMAGE_CHECKSUM;
            if(imageChecksum == null)
                throw new NullPointerException("Property imageChecksum must not be null");
            String startupConfigChecksum = this.startupConfigChecksumSet ? this.startupConfigChecksum : DEFAULT_STARTUP_CONFIG_CHECKSUM;
            if(startupConfigChecksum == null)
                throw new NullPointerException("Property startupConfigChecksum must not be null");


            return new OFBsnImageDescStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFeaturesReplyVer11.java172
org/projectfloodlight/openflow/protocol/ver11/OFFeaturesReplyVer11.java326
org/projectfloodlight/openflow/protocol/ver12/OFFeaturesReplyVer12.java172
org/projectfloodlight/openflow/protocol/ver12/OFFeaturesReplyVer12.java326
    }

    @Override
    public OFType getType() {
        return OFType.FEATURES_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFeaturesReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public DatapathId getDatapathId() {
        return datapathId;
    }

    @Override
    public OFFeaturesReply.Builder setDatapathId(DatapathId datapathId) {
        this.datapathId = datapathId;
        this.datapathIdSet = true;
        return this;
    }
    @Override
    public long getNBuffers() {
        return nBuffers;
    }

    @Override
    public OFFeaturesReply.Builder setNBuffers(long nBuffers) {
        this.nBuffers = nBuffers;
        this.nBuffersSet = true;
        return this;
    }
    @Override
    public short getNTables() {
        return nTables;
    }

    @Override
    public OFFeaturesReply.Builder setNTables(short nTables) {
        this.nTables = nTables;
        this.nTablesSet = true;
        return this;
    }
    @Override
    public Set<OFCapabilities> getCapabilities() {
        return capabilities;
    }

    @Override
    public OFFeaturesReply.Builder setCapabilities(Set<OFCapabilities> capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public long getReserved() {
        return reserved;
    }

    @Override
    public OFFeaturesReply.Builder setReserved(long reserved) {
        this.reserved = reserved;
        this.reservedSet = true;
        return this;
    }
    @Override
    public List<OFPortDesc> getPorts() {
        return ports;
    }

    @Override
    public OFFeaturesReply.Builder setPorts(List<OFPortDesc> ports) {
        this.ports = ports;
        this.portsSet = true;
        return this;
    }
    @Override
    public Set<OFActionType> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java146
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java267
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public long getRefCount() {
        return refCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setRefCount(long refCount) {
        this.refCount = refCount;
        this.refCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public List<OFBucketCounter> getBucketStats() {
        return bucketStats;
    }

    @Override
    public OFGroupStatsEntry.Builder setBucketStats(List<OFBucketCounter> bucketStats) {
        this.bucketStats = bucketStats;
        this.bucketStatsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.1");
    }

    @Override
    public OFGroupStatsEntry.Builder setDurationSec(long durationSec) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property durationSec not supported in version 1.1");
    }
    @Override
    public long getDurationNsec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationNsec not supported in version 1.1");
    }

    @Override
    public OFGroupStatsEntry.Builder setDurationNsec(long durationNsec) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property durationNsec not supported in version 1.1");
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }



        @Override
        public OFGroupStatsEntry build() {
                OFGroup group = this.groupSet ? this.group : parentMessage.group;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java146
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java267
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public long getRefCount() {
        return refCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setRefCount(long refCount) {
        this.refCount = refCount;
        this.refCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public List<OFBucketCounter> getBucketStats() {
        return bucketStats;
    }

    @Override
    public OFGroupStatsEntry.Builder setBucketStats(List<OFBucketCounter> bucketStats) {
        this.bucketStats = bucketStats;
        this.bucketStatsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.2");
    }

    @Override
    public OFGroupStatsEntry.Builder setDurationSec(long durationSec) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property durationSec not supported in version 1.2");
    }
    @Override
    public long getDurationNsec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationNsec not supported in version 1.2");
    }

    @Override
    public OFGroupStatsEntry.Builder setDurationNsec(long durationNsec) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property durationNsec not supported in version 1.2");
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFGroupStatsEntry build() {
                OFGroup group = this.groupSet ? this.group : parentMessage.group;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java839
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java861
        } else if (!flags.equals(other.flags))
            return false;
        if (cookie == null) {
            if (other.cookie != null)
                return false;
        } else if (!cookie.equals(other.cookie))
            return false;
        if (packetCount == null) {
            if (other.packetCount != null)
                return false;
        } else if (!packetCount.equals(other.packetCount))
            return false;
        if (byteCount == null) {
            if (other.byteCount != null)
                return false;
        } else if (!byteCount.equals(other.byteCount))
            return false;
        if (match == null) {
            if (other.match != null)
                return false;
        } else if (!match.equals(other.match))
            return false;
        if (instructions == null) {
            if (other.instructions != null)
                return false;
        } else if (!instructions.equals(other.instructions))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime *  (int) (durationSec ^ (durationSec >>> 32));
        result = prime *  (int) (durationNsec ^ (durationNsec >>> 32));
        result = prime * result + priority;
        result = prime * result + idleTimeout;
        result = prime * result + hardTimeout;
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((cookie == null) ? 0 : cookie.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java181
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java356
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.PACKET_IN;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPacketIn.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPacketIn.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public int getTotalLen() {
        return totalLen;
    }

    @Override
    public OFPacketIn.Builder setTotalLen(int totalLen) {
        this.totalLen = totalLen;
        this.totalLenSet = true;
        return this;
    }
    @Override
    public OFPacketInReason getReason() {
        return reason;
    }

    @Override
    public OFPacketIn.Builder setReason(OFPacketInReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFPacketIn.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFPacketIn.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFPacketIn.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
    @Override
    public OFPort getInPort()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java359
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java359
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java359
    }



        @Override
        public OFPortDesc build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : parentMessage.hwAddr;
                if(hwAddr == null)
                    throw new NullPointerException("Property hwAddr must not be null");
                String name = this.nameSet ? this.name : parentMessage.name;
                if(name == null)
                    throw new NullPointerException("Property name must not be null");
                Set<OFPortConfig> config = this.configSet ? this.config : parentMessage.config;
                if(config == null)
                    throw new NullPointerException("Property config must not be null");
                Set<OFPortState> state = this.stateSet ? this.state : parentMessage.state;
                if(state == null)
                    throw new NullPointerException("Property state must not be null");
                Set<OFPortFeatures> curr = this.currSet ? this.curr : parentMessage.curr;
                if(curr == null)
                    throw new NullPointerException("Property curr must not be null");
                Set<OFPortFeatures> advertised = this.advertisedSet ? this.advertised : parentMessage.advertised;
                if(advertised == null)
                    throw new NullPointerException("Property advertised must not be null");
                Set<OFPortFeatures> supported = this.supportedSet ? this.supported : parentMessage.supported;
                if(supported == null)
                    throw new NullPointerException("Property supported must not be null");
                Set<OFPortFeatures> peer = this.peerSet ? this.peer : parentMessage.peer;
                if(peer == null)
                    throw new NullPointerException("Property peer must not be null");
                long currSpeed = this.currSpeedSet ? this.currSpeed : parentMessage.currSpeed;
                long maxSpeed = this.maxSpeedSet ? this.maxSpeed : parentMessage.maxSpeed;

                //
                return new OFPortDescVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java156
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java289
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public long getRefCount() {
        return refCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setRefCount(long refCount) {
        this.refCount = refCount;
        this.refCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public List<OFBucketCounter> getBucketStats() {
        return bucketStats;
    }

    @Override
    public OFGroupStatsEntry.Builder setBucketStats(List<OFBucketCounter> bucketStats) {
        this.bucketStats = bucketStats;
        this.bucketStatsSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFGroupStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFGroupStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFGroupStatsEntry build() {
                OFGroup group = this.groupSet ? this.group : parentMessage.group;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsVer13.java153
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsVer13.java284
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterStats.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }
    @Override
    public long getFlowCount() {
        return flowCount;
    }

    @Override
    public OFMeterStats.Builder setFlowCount(long flowCount) {
        this.flowCount = flowCount;
        this.flowCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketInCount() {
        return packetInCount;
    }

    @Override
    public OFMeterStats.Builder setPacketInCount(U64 packetInCount) {
        this.packetInCount = packetInCount;
        this.packetInCountSet = true;
        return this;
    }
    @Override
    public U64 getByteInCount() {
        return byteInCount;
    }

    @Override
    public OFMeterStats.Builder setByteInCount(U64 byteInCount) {
        this.byteInCount = byteInCount;
        this.byteInCountSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFMeterStats.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFMeterStats.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public List<OFMeterBandStats> getBandStats() {
        return bandStats;
    }

    @Override
    public OFMeterStats.Builder setBandStats(List<OFMeterBandStats> bandStats) {
        this.bandStats = bandStats;
        this.bandStatsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFMeterStats build() {
                long meterId = this.meterIdSet ? this.meterId : parentMessage.meterId;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesVer13.java159
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesVer13.java294
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableFeatures.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFTableFeatures.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public U64 getMetadataMatch() {
        return metadataMatch;
    }

    @Override
    public OFTableFeatures.Builder setMetadataMatch(U64 metadataMatch) {
        this.metadataMatch = metadataMatch;
        this.metadataMatchSet = true;
        return this;
    }
    @Override
    public U64 getMetadataWrite() {
        return metadataWrite;
    }

    @Override
    public OFTableFeatures.Builder setMetadataWrite(U64 metadataWrite) {
        this.metadataWrite = metadataWrite;
        this.metadataWriteSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFTableFeatures.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public long getMaxEntries() {
        return maxEntries;
    }

    @Override
    public OFTableFeatures.Builder setMaxEntries(long maxEntries) {
        this.maxEntries = maxEntries;
        this.maxEntriesSet = true;
        return this;
    }
    @Override
    public List<OFTableFeatureProp> getProperties() {
        return properties;
    }

    @Override
    public OFTableFeatures.Builder setProperties(List<OFTableFeatureProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFTableFeatures build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java156
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java289
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public long getRefCount() {
        return refCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setRefCount(long refCount) {
        this.refCount = refCount;
        this.refCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public List<OFBucketCounter> getBucketStats() {
        return bucketStats;
    }

    @Override
    public OFGroupStatsEntry.Builder setBucketStats(List<OFBucketCounter> bucketStats) {
        this.bucketStats = bucketStats;
        this.bucketStatsSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFGroupStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFGroupStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFGroupStatsEntry build() {
                OFGroup group = this.groupSet ? this.group : parentMessage.group;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsVer14.java153
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsVer14.java284
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterStats.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }
    @Override
    public long getFlowCount() {
        return flowCount;
    }

    @Override
    public OFMeterStats.Builder setFlowCount(long flowCount) {
        this.flowCount = flowCount;
        this.flowCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketInCount() {
        return packetInCount;
    }

    @Override
    public OFMeterStats.Builder setPacketInCount(U64 packetInCount) {
        this.packetInCount = packetInCount;
        this.packetInCountSet = true;
        return this;
    }
    @Override
    public U64 getByteInCount() {
        return byteInCount;
    }

    @Override
    public OFMeterStats.Builder setByteInCount(U64 byteInCount) {
        this.byteInCount = byteInCount;
        this.byteInCountSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFMeterStats.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFMeterStats.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public List<OFMeterBandStats> getBandStats() {
        return bandStats;
    }

    @Override
    public OFMeterStats.Builder setBandStats(List<OFMeterBandStats> bandStats) {
        this.bandStats = bandStats;
        this.bandStatsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFMeterStats build() {
                long meterId = this.meterIdSet ? this.meterId : parentMessage.meterId;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesVer14.java159
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesVer14.java294
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableFeatures.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFTableFeatures.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public U64 getMetadataMatch() {
        return metadataMatch;
    }

    @Override
    public OFTableFeatures.Builder setMetadataMatch(U64 metadataMatch) {
        this.metadataMatch = metadataMatch;
        this.metadataMatchSet = true;
        return this;
    }
    @Override
    public U64 getMetadataWrite() {
        return metadataWrite;
    }

    @Override
    public OFTableFeatures.Builder setMetadataWrite(U64 metadataWrite) {
        this.metadataWrite = metadataWrite;
        this.metadataWriteSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFTableFeatures.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public long getMaxEntries() {
        return maxEntries;
    }

    @Override
    public OFTableFeatures.Builder setMaxEntries(long maxEntries) {
        this.maxEntries = maxEntries;
        this.maxEntriesSet = true;
        return this;
    }
    @Override
    public List<OFTableFeatureProp> getProperties() {
        return properties;
    }

    @Override
    public OFTableFeatures.Builder setProperties(List<OFTableFeatureProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFTableFeatures build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFeaturesReplyVer11.java596
org/projectfloodlight/openflow/protocol/ver12/OFFeaturesReplyVer12.java596
        OFFeaturesReplyVer11 other = (OFFeaturesReplyVer11) obj;

        if( xid != other.xid)
            return false;
        if (datapathId == null) {
            if (other.datapathId != null)
                return false;
        } else if (!datapathId.equals(other.datapathId))
            return false;
        if( nBuffers != other.nBuffers)
            return false;
        if( nTables != other.nTables)
            return false;
        if (capabilities == null) {
            if (other.capabilities != null)
                return false;
        } else if (!capabilities.equals(other.capabilities))
            return false;
        if( reserved != other.reserved)
            return false;
        if (ports == null) {
            if (other.ports != null)
                return false;
        } else if (!ports.equals(other.ports))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((datapathId == null) ? 0 : datapathId.hashCode());
        result = prime *  (int) (nBuffers ^ (nBuffers >>> 32));
        result = prime * result + nTables;
        result = prime * result + ((capabilities == null) ? 0 : capabilities.hashCode());
        result = prime *  (int) (reserved ^ (reserved >>> 32));
        result = prime * result + ((ports == null) ? 0 : ports.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaUploadVer13.java242
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaUploadVer14.java242
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaUpload.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x40L;
    }

    @Override
    public Set<OFBsnLuaUploadFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnLuaUpload.Builder setFlags(Set<OFBsnLuaUploadFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public String getFilename() {
        return filename;
    }

    @Override
    public OFBsnLuaUpload.Builder setFilename(String filename) {
        this.filename = filename;
        this.filenameSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaUpload.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBsnLuaUpload build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFBsnLuaUploadFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            String filename = this.filenameSet ? this.filename : DEFAULT_FILENAME;
            if(filename == null)
                throw new NullPointerException("Property filename must not be null");
            byte[] data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFBsnLuaUploadVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFeaturesReplyVer13.java590
org/projectfloodlight/openflow/protocol/ver14/OFFeaturesReplyVer14.java590
        OFFeaturesReplyVer13 other = (OFFeaturesReplyVer13) obj;

        if( xid != other.xid)
            return false;
        if (datapathId == null) {
            if (other.datapathId != null)
                return false;
        } else if (!datapathId.equals(other.datapathId))
            return false;
        if( nBuffers != other.nBuffers)
            return false;
        if( nTables != other.nTables)
            return false;
        if (auxiliaryId == null) {
            if (other.auxiliaryId != null)
                return false;
        } else if (!auxiliaryId.equals(other.auxiliaryId))
            return false;
        if (capabilities == null) {
            if (other.capabilities != null)
                return false;
        } else if (!capabilities.equals(other.capabilities))
            return false;
        if( reserved != other.reserved)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((datapathId == null) ? 0 : datapathId.hashCode());
        result = prime *  (int) (nBuffers ^ (nBuffers >>> 32));
        result = prime * result + nTables;
        result = prime * result + ((auxiliaryId == null) ? 0 : auxiliaryId.hashCode());
        result = prime * result + ((capabilities == null) ? 0 : capabilities.hashCode());
        result = prime *  (int) (reserved ^ (reserved >>> 32));
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupCapabilitiesSerializerVer12.java34
org/projectfloodlight/openflow/protocol/ver13/OFGroupCapabilitiesSerializerVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFGroupCapabilitiesSerializerVer14.java34
public class OFGroupCapabilitiesSerializerVer12 {

    public final static int SELECT_WEIGHT_VAL = 0x1;
    public final static int SELECT_LIVENESS_VAL = 0x2;
    public final static int CHAINING_VAL = 0x4;
    public final static int CHAINING_CHECKS_VAL = 0x8;

    public static Set<OFGroupCapabilities> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFGroupCapabilities> set) {
        bb.writeInt(toWireValue(set));
    }

    public static void putTo(Set<OFGroupCapabilities> set, PrimitiveSink sink) {
        sink.putInt(toWireValue(set));
    }


    public static Set<OFGroupCapabilities> ofWireValue(int val) {
        EnumSet<OFGroupCapabilities> set = EnumSet.noneOf(OFGroupCapabilities.class);

        if((val & SELECT_WEIGHT_VAL) != 0)
            set.add(OFGroupCapabilities.SELECT_WEIGHT);
        if((val & SELECT_LIVENESS_VAL) != 0)
            set.add(OFGroupCapabilities.SELECT_LIVENESS);
        if((val & CHAINING_VAL) != 0)
            set.add(OFGroupCapabilities.CHAINING);
        if((val & CHAINING_CHECKS_VAL) != 0)
            set.add(OFGroupCapabilities.CHAINING_CHECKS);
        return Collections.unmodifiableSet(set);
    }

    public static int toWireValue(Set<OFGroupCapabilities> set) {
        int wireValue = 0;

        for(OFGroupCapabilities e: set) {
            switch(e) {
                case SELECT_WEIGHT:
                    wireValue |= SELECT_WEIGHT_VAL;
                    break;
                case SELECT_LIVENESS:
                    wireValue |= SELECT_LIVENESS_VAL;
                    break;
                case CHAINING:
                    wireValue |= CHAINING_VAL;
                    break;
                case CHAINING_CHECKS:
                    wireValue |= CHAINING_CHECKS_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFGroupCapabilities in version 1.2: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java704
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java704
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java704
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java704
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java704
        public OFFlowAdd build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            U64 cookieMask = this.cookieMaskSet ? this.cookieMask : DEFAULT_COOKIE_MASK;
            if(cookieMask == null)
                throw new NullPointerException("Property cookieMask must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            OFBufferId bufferId = this.bufferIdSet ? this.bufferId : DEFAULT_BUFFER_ID;
            if(bufferId == null)
                throw new NullPointerException("Property bufferId must not be null");
            OFPort outPort = this.outPortSet ? this.outPort : DEFAULT_OUT_PORT;
            if(outPort == null)
                throw new NullPointerException("Property outPort must not be null");
            OFGroup outGroup = this.outGroupSet ? this.outGroup : DEFAULT_OUT_GROUP;
            if(outGroup == null)
                throw new NullPointerException("Property outGroup must not be null");
            Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            int importance = this.importanceSet ? this.importance : DEFAULT_IMPORTANCE;
            Match match = this.matchSet ? this.match : DEFAULT_MATCH;
            if(match == null)
                throw new NullPointerException("Property match must not be null");
            List<OFInstruction> instructions = this.instructionsSet ? this.instructions : DEFAULT_INSTRUCTIONS;
            if(instructions == null)
                throw new NullPointerException("Property instructions must not be null");


            return new OFFlowAddVer14(
FileLine
net/onrc/openvirtex/messages/ver13/OVXFlowAddVer13.java410
net/onrc/openvirtex/messages/ver13/OVXFlowModifyStrictVer13.java272
            flowMod = OVXFactoryInst.myOVXFactory.buildOVXFlowAdd(this.getXid(),this.getMatch(), this.getCookie(), this.getIdleTimeout(), this.getHardTimeout(),this.getPriority(), this.getBufferId(), this.getOutPort(), this.getFlags(), this.getActions());
        } else {
            flowMod = OVXFactoryInst.myOVXFactory.buildOVXFlowAdd(this.getXid(), this.getCookie(), this.getCookieMask(), this.getTableId(), this.getIdleTimeout(), this.getHardTimeout(), this.getPriority(), this.getBufferId(), this.getOutPort(), this.getOutGroup(), this.getFlags(), this.getMatch(), this.getInstructions());
        }
        return flowMod;
    }

    public Map<String, Object> toMap() {
        final Map<String, Object> map = new LinkedHashMap<String, Object>();
        if (this.match != null) {
            map.put("match", OVXFactoryInst.myOVXFactory.buildOVXMatchV3(match).toMap());
        }
        LinkedList<Map<String, Object>> actions = new LinkedList<Map<String, Object>>();

        for (OFAction act : this.getActions()) {
            try {
                actions.add(OVXUtil.actionToMap(act));
            } catch (UnknownActionException e) {
                log.warn("Ignoring action {} because {}", act, e.getMessage());
            }
        }
        map.put("instructionApplyActionsList", actions);
FileLine
net/onrc/openvirtex/db/DBManager.java451
net/onrc/openvirtex/db/DBManager.java538
                    .get(TenantHandler.PATH);
            for (Map<String, Object> hop : path) {
                // Fetch link
                Long srcDpid = (Long) hop.get(TenantHandler.SRC_DPID);
                Short srcPort = ((Integer) hop.get(TenantHandler.SRC_PORT))
                        .shortValue();
                
                Long dstDpid = (Long) hop.get(TenantHandler.DST_DPID);
                Short dstPort = ((Integer) hop.get(TenantHandler.DST_PORT))
                        .shortValue();
                DPIDandPortPair dpp = new DPIDandPortPair(new DPIDandPort(
                        srcDpid, OFPort.ofShort(srcPort)), new DPIDandPort(dstDpid, OFPort.ofShort(dstPort)));
                // Register link in current manager
                mngr.registerLink(dpp);
                // Update list of managers that wait for this link
                List<OVXNetworkManager> mngrs = this.linkToMngr.get(dpp);
                if (mngrs == null) {
                    this.linkToMngr
                            .put(dpp, new ArrayList<OVXNetworkManager>());
                }
                this.linkToMngr.get(dpp).add(mngr);

                // Register src/dst switches of this link
                mngr.registerSwitch(srcDpid);
                mngr.registerSwitch(dstDpid);
                // Update list of managers that wait for these switches
                mngrs = this.dpidToMngr.get(srcDpid);
                if (mngrs == null) {
                    this.dpidToMngr.put(srcDpid,
                            new ArrayList<OVXNetworkManager>());
                }
                this.dpidToMngr.get(srcDpid).add(mngr);
                mngrs = this.dpidToMngr.get(dstDpid);
                if (mngrs == null) {
                    this.dpidToMngr.put(dstDpid,
                            new ArrayList<OVXNetworkManager>());
                }
                this.dpidToMngr.get(dstDpid).add(mngr);
            }
        }
    }
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java901
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java901
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java901
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java901
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java901
        StringBuilder b = new StringBuilder("OFFlowAddVer14(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("cookie=").append(cookie);
        b.append(", ");
        b.append("cookieMask=").append(cookieMask);
        b.append(", ");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("idleTimeout=").append(idleTimeout);
        b.append(", ");
        b.append("hardTimeout=").append(hardTimeout);
        b.append(", ");
        b.append("priority=").append(priority);
        b.append(", ");
        b.append("bufferId=").append(bufferId);
        b.append(", ");
        b.append("outPort=").append(outPort);
        b.append(", ");
        b.append("outGroup=").append(outGroup);
        b.append(", ");
        b.append("flags=").append(flags);
        b.append(", ");
        b.append("importance=").append(importance);
        b.append(", ");
        b.append("match=").append(match);
        b.append(", ");
        b.append("instructions=").append(instructions);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPacketInVer12.java176
org/projectfloodlight/openflow/protocol/ver12/OFPacketInVer12.java343
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java184
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java184
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java359
    }

    @Override
    public OFType getType() {
        return OFType.PACKET_IN;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPacketIn.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPacketIn.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public int getTotalLen() {
        return totalLen;
    }

    @Override
    public OFPacketIn.Builder setTotalLen(int totalLen) {
        this.totalLen = totalLen;
        this.totalLenSet = true;
        return this;
    }
    @Override
    public OFPacketInReason getReason() {
        return reason;
    }

    @Override
    public OFPacketIn.Builder setReason(OFPacketInReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFPacketIn.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFPacketIn.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFPacketIn.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
    @Override
    public OFPort getInPort()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property inPort not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionRequestVer10.java150
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionRequestVer10.java277
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }

    @Override
    public boolean isEnabled() {
        return enabled;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setEnabled(boolean enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }


        @Override
        public OFBsnSetPktinSuppressionRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionRequestVer11.java150
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionRequestVer11.java277
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }

    @Override
    public boolean isEnabled() {
        return enabled;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setEnabled(boolean enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }


        @Override
        public OFBsnSetPktinSuppressionRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionRequestVer12.java150
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionRequestVer12.java277
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }

    @Override
    public boolean isEnabled() {
        return enabled;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setEnabled(boolean enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }


        @Override
        public OFBsnSetPktinSuppressionRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionRequestVer13.java150
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionRequestVer13.java277
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }

    @Override
    public boolean isEnabled() {
        return enabled;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setEnabled(boolean enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }


        @Override
        public OFBsnSetPktinSuppressionRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionRequestVer14.java150
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionRequestVer14.java277
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }

    @Override
    public boolean isEnabled() {
        return enabled;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setEnabled(boolean enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }


        @Override
        public OFBsnSetPktinSuppressionRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java687
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java687
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java731
            throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }
//
        @Override
        public OFFlowAdd build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            U64 cookieMask = this.cookieMaskSet ? this.cookieMask : DEFAULT_COOKIE_MASK;
            if(cookieMask == null)
                throw new NullPointerException("Property cookieMask must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            OFBufferId bufferId = this.bufferIdSet ? this.bufferId : DEFAULT_BUFFER_ID;
            if(bufferId == null)
                throw new NullPointerException("Property bufferId must not be null");
            OFPort outPort = this.outPortSet ? this.outPort : DEFAULT_OUT_PORT;
            if(outPort == null)
                throw new NullPointerException("Property outPort must not be null");
            OFGroup outGroup = this.outGroupSet ? this.outGroup : DEFAULT_OUT_GROUP;
            if(outGroup == null)
                throw new NullPointerException("Property outGroup must not be null");
            Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            Match match = this.matchSet ? this.match : DEFAULT_MATCH;
            if(match == null)
                throw new NullPointerException("Property match must not be null");
            List<OFInstruction> instructions = this.instructionsSet ? this.instructions : DEFAULT_INSTRUCTIONS;
            if(instructions == null)
                throw new NullPointerException("Property instructions must not be null");


            return new OFFlowAddVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java687
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java687
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java727
            throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }
//
        @Override
        public OFFlowDeleteStrict build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            U64 cookieMask = this.cookieMaskSet ? this.cookieMask : DEFAULT_COOKIE_MASK;
            if(cookieMask == null)
                throw new NullPointerException("Property cookieMask must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            OFBufferId bufferId = this.bufferIdSet ? this.bufferId : DEFAULT_BUFFER_ID;
            if(bufferId == null)
                throw new NullPointerException("Property bufferId must not be null");
            OFPort outPort = this.outPortSet ? this.outPort : DEFAULT_OUT_PORT;
            if(outPort == null)
                throw new NullPointerException("Property outPort must not be null");
            OFGroup outGroup = this.outGroupSet ? this.outGroup : DEFAULT_OUT_GROUP;
            if(outGroup == null)
                throw new NullPointerException("Property outGroup must not be null");
            Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            Match match = this.matchSet ? this.match : DEFAULT_MATCH;
            if(match == null)
                throw new NullPointerException("Property match must not be null");
            List<OFInstruction> instructions = this.instructionsSet ? this.instructions : DEFAULT_INSTRUCTIONS;
            if(instructions == null)
                throw new NullPointerException("Property instructions must not be null");


            return new OFFlowDeleteStrictVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java687
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java687
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java726
            throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }
//
        @Override
        public OFFlowDelete build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            U64 cookieMask = this.cookieMaskSet ? this.cookieMask : DEFAULT_COOKIE_MASK;
            if(cookieMask == null)
                throw new NullPointerException("Property cookieMask must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            OFBufferId bufferId = this.bufferIdSet ? this.bufferId : DEFAULT_BUFFER_ID;
            if(bufferId == null)
                throw new NullPointerException("Property bufferId must not be null");
            OFPort outPort = this.outPortSet ? this.outPort : DEFAULT_OUT_PORT;
            if(outPort == null)
                throw new NullPointerException("Property outPort must not be null");
            OFGroup outGroup = this.outGroupSet ? this.outGroup : DEFAULT_OUT_GROUP;
            if(outGroup == null)
                throw new NullPointerException("Property outGroup must not be null");
            Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            Match match = this.matchSet ? this.match : DEFAULT_MATCH;
            if(match == null)
                throw new NullPointerException("Property match must not be null");
            List<OFInstruction> instructions = this.instructionsSet ? this.instructions : DEFAULT_INSTRUCTIONS;
            if(instructions == null)
                throw new NullPointerException("Property instructions must not be null");


            return new OFFlowDeleteVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java687
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java687
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java727
            throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }
//
        @Override
        public OFFlowModifyStrict build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            U64 cookieMask = this.cookieMaskSet ? this.cookieMask : DEFAULT_COOKIE_MASK;
            if(cookieMask == null)
                throw new NullPointerException("Property cookieMask must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            OFBufferId bufferId = this.bufferIdSet ? this.bufferId : DEFAULT_BUFFER_ID;
            if(bufferId == null)
                throw new NullPointerException("Property bufferId must not be null");
            OFPort outPort = this.outPortSet ? this.outPort : DEFAULT_OUT_PORT;
            if(outPort == null)
                throw new NullPointerException("Property outPort must not be null");
            OFGroup outGroup = this.outGroupSet ? this.outGroup : DEFAULT_OUT_GROUP;
            if(outGroup == null)
                throw new NullPointerException("Property outGroup must not be null");
            Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            Match match = this.matchSet ? this.match : DEFAULT_MATCH;
            if(match == null)
                throw new NullPointerException("Property match must not be null");
            List<OFInstruction> instructions = this.instructionsSet ? this.instructions : DEFAULT_INSTRUCTIONS;
            if(instructions == null)
                throw new NullPointerException("Property instructions must not be null");


            return new OFFlowModifyStrictVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java687
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java687
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java725
            throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }
//
        @Override
        public OFFlowModify build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            U64 cookieMask = this.cookieMaskSet ? this.cookieMask : DEFAULT_COOKIE_MASK;
            if(cookieMask == null)
                throw new NullPointerException("Property cookieMask must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            OFBufferId bufferId = this.bufferIdSet ? this.bufferId : DEFAULT_BUFFER_ID;
            if(bufferId == null)
                throw new NullPointerException("Property bufferId must not be null");
            OFPort outPort = this.outPortSet ? this.outPort : DEFAULT_OUT_PORT;
            if(outPort == null)
                throw new NullPointerException("Property outPort must not be null");
            OFGroup outGroup = this.outGroupSet ? this.outGroup : DEFAULT_OUT_GROUP;
            if(outGroup == null)
                throw new NullPointerException("Property outGroup must not be null");
            Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            Match match = this.matchSet ? this.match : DEFAULT_MATCH;
            if(match == null)
                throw new NullPointerException("Property match must not be null");
            List<OFInstruction> instructions = this.instructionsSet ? this.instructions : DEFAULT_INSTRUCTIONS;
            if(instructions == null)
                throw new NullPointerException("Property instructions must not be null");


            return new OFFlowModifyVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupAddVer11.java131
org/projectfloodlight/openflow/protocol/ver12/OFGroupAddVer12.java131
org/projectfloodlight/openflow/protocol/ver13/OFGroupAddVer13.java131
org/projectfloodlight/openflow/protocol/ver14/OFGroupAddVer14.java131
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.ADD;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupAdd.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupAdd.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupAdd.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }


        @Override
        public OFGroupAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFGroupType groupType = this.groupTypeSet ? this.groupType : parentMessage.groupType;
                if(groupType == null)
                    throw new NullPointerException("Property groupType must not be null");
                OFGroup group = this.groupSet ? this.group : parentMessage.group;
                if(group == null)
                    throw new NullPointerException("Property group must not be null");
                List<OFBucket> buckets = this.bucketsSet ? this.buckets : parentMessage.buckets;
                if(buckets == null)
                    throw new NullPointerException("Property buckets must not be null");

                //
                return new OFGroupAddVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDeleteVer11.java131
org/projectfloodlight/openflow/protocol/ver12/OFGroupDeleteVer12.java131
org/projectfloodlight/openflow/protocol/ver13/OFGroupDeleteVer13.java131
org/projectfloodlight/openflow/protocol/ver14/OFGroupDeleteVer14.java131
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.DELETE;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupDelete.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupDelete.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupDelete.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }


        @Override
        public OFGroupDelete build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFGroupType groupType = this.groupTypeSet ? this.groupType : parentMessage.groupType;
                if(groupType == null)
                    throw new NullPointerException("Property groupType must not be null");
                OFGroup group = this.groupSet ? this.group : parentMessage.group;
                if(group == null)
                    throw new NullPointerException("Property group must not be null");
                List<OFBucket> buckets = this.bucketsSet ? this.buckets : parentMessage.buckets;
                if(buckets == null)
                    throw new NullPointerException("Property buckets must not be null");

                //
                return new OFGroupDeleteVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupModifyVer11.java131
org/projectfloodlight/openflow/protocol/ver12/OFGroupModifyVer12.java131
org/projectfloodlight/openflow/protocol/ver13/OFGroupModifyVer13.java131
org/projectfloodlight/openflow/protocol/ver14/OFGroupModifyVer14.java131
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupModify.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.MODIFY;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupModify.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupModify.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupModify.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }


        @Override
        public OFGroupModify build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFGroupType groupType = this.groupTypeSet ? this.groupType : parentMessage.groupType;
                if(groupType == null)
                    throw new NullPointerException("Property groupType must not be null");
                OFGroup group = this.groupSet ? this.group : parentMessage.group;
                if(group == null)
                    throw new NullPointerException("Property group must not be null");
                List<OFBucket> buckets = this.bucketsSet ? this.buckets : parentMessage.buckets;
                if(buckets == null)
                    throw new NullPointerException("Property buckets must not be null");

                //
                return new OFGroupModifyVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearRequestVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearRequestVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x30L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setChecksumMask(U128 checksumMask) {
        this.checksumMask = checksumMask;
        this.checksumMaskSet = true;
        return this;
    }


        @Override
        public OFBsnGentableClearRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                GenTableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                U128 checksum = this.checksumSet ? this.checksum : parentMessage.checksum;
                if(checksum == null)
                    throw new NullPointerException("Property checksum must not be null");
                U128 checksumMask = this.checksumMaskSet ? this.checksumMask : parentMessage.checksumMask;
                if(checksumMask == null)
                    throw new NullPointerException("Property checksumMask must not be null");

                //
                return new OFBsnGentableClearRequestVer13(
FileLine
net/onrc/openvirtex/messages/ver10/OVXFlowAddVer10.java312
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteStrictVer10.java217
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteVer10.java217
net/onrc/openvirtex/messages/ver10/OVXFlowModifyStrictVer10.java217
net/onrc/openvirtex/messages/ver10/OVXFlowModifyVer10.java217
                if (inPort != null
                        && inPort.isLink()
                        && (!this.getMatch().isFullyWildcarded(MatchField.ETH_DST) || !this.getMatch().isFullyWildcarded(MatchField.ETH_SRC))) {
                    // rewrite the OFMatch with the values of the link
                    OVXPort dstPort = sw.getMap()
                            .getVirtualNetwork(sw.getTenantId())
                            .getNeighborPort(inPort);
                    OVXLink link = sw.getMap()
                            .getVirtualNetwork(sw.getTenantId())
                            .getLink(dstPort, inPort);
                    if (inPort != null && link != null) {
                        try {
                            Integer flowId = sw
                                    .getMap()
                                    .getVirtualNetwork(sw.getTenantId())
                                    .getFlowManager()
                                    .getFlowId(((OFMatchV1)this.match).getEthSrc().getBytes(),
                                            ((OFMatchV1)this.match).getEthDst().getBytes());
                            OVXLinkUtils lUtils = new OVXLinkUtils(
                                    sw.getTenantId(), link.getLinkId(), flowId);
                            lUtils.rewriteMatch(this.getMatch());
                        } catch (IndexOutOfBoundException e) {
                            log.error(
                                    "Too many host to generate the flow pairs in this virtual network {}. "
                                            + "Dropping flow-mod {} ",
                                            sw.getTenantId(), this);
                            throw new DroppedMessageException();
                        } 
                    }
                }
            }
        } catch (NetworkMappingException e) {
            log.warn(
                    "OVXFlowMod. Error retrieving the network with id {} for flowMod {}. Dropping packet...",
                    this.sw.getTenantId(), this);
        } catch (DroppedMessageException e) {
            log.warn(
                    "OVXFlowMod. Error retrieving flowId in network with id {} for flowMod {}. Dropping packet...",
                    this.sw.getTenantId(), this);
        }
        this.actions=this.approvedActions;
        if (pflag) {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java968
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java968
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java968
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java968
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java968
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java968
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java968
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java968
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java968
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java968
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java1012
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java1008
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java1007
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java1008
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java1006
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java986
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java986
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java986
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java986
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java986
        } else if (!flags.equals(other.flags))
            return false;
        if (match == null) {
            if (other.match != null)
                return false;
        } else if (!match.equals(other.match))
            return false;
        if (instructions == null) {
            if (other.instructions != null)
                return false;
        } else if (!instructions.equals(other.instructions))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((cookie == null) ? 0 : cookie.hashCode());
        result = prime * result + ((cookieMask == null) ? 0 : cookieMask.hashCode());
        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime * result + idleTimeout;
        result = prime * result + hardTimeout;
        result = prime * result + priority;
        result = prime * result + ((bufferId == null) ? 0 : bufferId.hashCode());
        result = prime * result + ((outPort == null) ? 0 : outPort.hashCode());
        result = prime * result + ((outGroup == null) ? 0 : outGroup.hashCode());
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((match == null) ? 0 : match.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPacketInVer12.java176
org/projectfloodlight/openflow/protocol/ver12/OFPacketInVer12.java343
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java359
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java184
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java359
    }

    @Override
    public OFType getType() {
        return OFType.PACKET_IN;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPacketIn.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPacketIn.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public int getTotalLen() {
        return totalLen;
    }

    @Override
    public OFPacketIn.Builder setTotalLen(int totalLen) {
        this.totalLen = totalLen;
        this.totalLenSet = true;
        return this;
    }
    @Override
    public OFPacketInReason getReason() {
        return reason;
    }

    @Override
    public OFPacketIn.Builder setReason(OFPacketInReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFPacketIn.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFPacketIn.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFPacketIn.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
    @Override
    public OFPort getInPort()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportL2GreVer10.java362
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreVer11.java362
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreVer12.java362
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreVer13.java362
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreVer14.java362
    }



        @Override
        public OFBsnVportL2Gre build() {
                Set<OFBsnVportL2GreFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                OFPort loopbackPortNo = this.loopbackPortNoSet ? this.loopbackPortNo : parentMessage.loopbackPortNo;
                if(loopbackPortNo == null)
                    throw new NullPointerException("Property loopbackPortNo must not be null");
                MacAddress localMac = this.localMacSet ? this.localMac : parentMessage.localMac;
                if(localMac == null)
                    throw new NullPointerException("Property localMac must not be null");
                MacAddress nhMac = this.nhMacSet ? this.nhMac : parentMessage.nhMac;
                if(nhMac == null)
                    throw new NullPointerException("Property nhMac must not be null");
                IPv4Address srcIp = this.srcIpSet ? this.srcIp : parentMessage.srcIp;
                if(srcIp == null)
                    throw new NullPointerException("Property srcIp must not be null");
                IPv4Address dstIp = this.dstIpSet ? this.dstIp : parentMessage.dstIp;
                if(dstIp == null)
                    throw new NullPointerException("Property dstIp must not be null");
                short dscp = this.dscpSet ? this.dscp : parentMessage.dscp;
                short ttl = this.ttlSet ? this.ttl : parentMessage.ttl;
                long vpn = this.vpnSet ? this.vpn : parentMessage.vpn;
                long rateLimit = this.rateLimitSet ? this.rateLimit : parentMessage.rateLimit;
                String ifName = this.ifNameSet ? this.ifName : parentMessage.ifName;
                if(ifName == null)
                    throw new NullPointerException("Property ifName must not be null");

                //
                return new OFBsnVportL2GreVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java152
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java152
        BuilderWithParent(OFGroupStatsEntryVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public long getRefCount() {
        return refCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setRefCount(long refCount) {
        this.refCount = refCount;
        this.refCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public List<OFBucketCounter> getBucketStats() {
        return bucketStats;
    }

    @Override
    public OFGroupStatsEntry.Builder setBucketStats(List<OFBucketCounter> bucketStats) {
        this.bucketStats = bucketStats;
        this.bucketStatsSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFGroupStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFGroupStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsVer13.java149
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsVer14.java149
        BuilderWithParent(OFMeterStatsVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterStats.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }
    @Override
    public long getFlowCount() {
        return flowCount;
    }

    @Override
    public OFMeterStats.Builder setFlowCount(long flowCount) {
        this.flowCount = flowCount;
        this.flowCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketInCount() {
        return packetInCount;
    }

    @Override
    public OFMeterStats.Builder setPacketInCount(U64 packetInCount) {
        this.packetInCount = packetInCount;
        this.packetInCountSet = true;
        return this;
    }
    @Override
    public U64 getByteInCount() {
        return byteInCount;
    }

    @Override
    public OFMeterStats.Builder setByteInCount(U64 byteInCount) {
        this.byteInCount = byteInCount;
        this.byteInCountSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFMeterStats.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFMeterStats.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public List<OFMeterBandStats> getBandStats() {
        return bandStats;
    }

    @Override
    public OFMeterStats.Builder setBandStats(List<OFMeterBandStats> bandStats) {
        this.bandStats = bandStats;
        this.bandStatsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesVer13.java155
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesVer14.java155
        BuilderWithParent(OFTableFeaturesVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableFeatures.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFTableFeatures.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public U64 getMetadataMatch() {
        return metadataMatch;
    }

    @Override
    public OFTableFeatures.Builder setMetadataMatch(U64 metadataMatch) {
        this.metadataMatch = metadataMatch;
        this.metadataMatchSet = true;
        return this;
    }
    @Override
    public U64 getMetadataWrite() {
        return metadataWrite;
    }

    @Override
    public OFTableFeatures.Builder setMetadataWrite(U64 metadataWrite) {
        this.metadataWrite = metadataWrite;
        this.metadataWriteSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFTableFeatures.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public long getMaxEntries() {
        return maxEntries;
    }

    @Override
    public OFTableFeatures.Builder setMaxEntries(long maxEntries) {
        this.maxEntries = maxEntries;
        this.maxEntriesSet = true;
        return this;
    }
    @Override
    public List<OFTableFeatureProp> getProperties() {
        return properties;
    }

    @Override
    public OFTableFeatures.Builder setProperties(List<OFTableFeatureProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFConfigFlagsSerializerVer10.java34
org/projectfloodlight/openflow/protocol/ver13/OFConfigFlagsSerializerVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFConfigFlagsSerializerVer14.java34
public class OFConfigFlagsSerializerVer10 {

    public final static short FRAG_NORMAL_VAL = (short) 0x0;
    public final static short FRAG_DROP_VAL = (short) 0x1;
    public final static short FRAG_REASM_VAL = (short) 0x2;
    public final static short FRAG_MASK_VAL = (short) 0x3;

    public static Set<OFConfigFlags> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFConfigFlags> set) {
        bb.writeShort(toWireValue(set));
    }

    public static void putTo(Set<OFConfigFlags> set, PrimitiveSink sink) {
        sink.putShort(toWireValue(set));
    }


    public static Set<OFConfigFlags> ofWireValue(short val) {
        EnumSet<OFConfigFlags> set = EnumSet.noneOf(OFConfigFlags.class);

        if((val & FRAG_MASK_VAL) == FRAG_NORMAL_VAL)
            set.add(OFConfigFlags.FRAG_NORMAL);
        else if((val & FRAG_MASK_VAL) == FRAG_DROP_VAL)
            set.add(OFConfigFlags.FRAG_DROP);
        else if((val & FRAG_MASK_VAL) == FRAG_REASM_VAL)
            set.add(OFConfigFlags.FRAG_REASM);
        return Collections.unmodifiableSet(set);
    }

    public static short toWireValue(Set<OFConfigFlags> set) {
        short wireValue = 0;

        for(OFConfigFlags e: set) {
            switch(e) {
                case FRAG_NORMAL:
                    wireValue |= FRAG_NORMAL_VAL;
                    break;
                case FRAG_DROP:
                    wireValue |= FRAG_DROP_VAL;
                    break;
                case FRAG_REASM:
                    wireValue |= FRAG_REASM_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFConfigFlags in version 1.0: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFTypeSerializerVer12.java59
org/projectfloodlight/openflow/protocol/ver13/OFTypeSerializerVer13.java63
    public static OFType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFType e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFType e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFType ofWireValue(byte val) {
        switch(val) {
            case HELLO_VAL:
                return OFType.HELLO;
            case ERROR_VAL:
                return OFType.ERROR;
            case ECHO_REQUEST_VAL:
                return OFType.ECHO_REQUEST;
            case ECHO_REPLY_VAL:
                return OFType.ECHO_REPLY;
            case EXPERIMENTER_VAL:
                return OFType.EXPERIMENTER;
            case FEATURES_REQUEST_VAL:
                return OFType.FEATURES_REQUEST;
            case FEATURES_REPLY_VAL:
                return OFType.FEATURES_REPLY;
            case GET_CONFIG_REQUEST_VAL:
                return OFType.GET_CONFIG_REQUEST;
            case GET_CONFIG_REPLY_VAL:
                return OFType.GET_CONFIG_REPLY;
            case SET_CONFIG_VAL:
                return OFType.SET_CONFIG;
            case PACKET_IN_VAL:
                return OFType.PACKET_IN;
            case FLOW_REMOVED_VAL:
                return OFType.FLOW_REMOVED;
            case PORT_STATUS_VAL:
                return OFType.PORT_STATUS;
            case PACKET_OUT_VAL:
                return OFType.PACKET_OUT;
            case FLOW_MOD_VAL:
                return OFType.FLOW_MOD;
            case GROUP_MOD_VAL:
                return OFType.GROUP_MOD;
            case PORT_MOD_VAL:
                return OFType.PORT_MOD;
            case TABLE_MOD_VAL:
                return OFType.TABLE_MOD;
            case STATS_REQUEST_VAL:
                return OFType.STATS_REQUEST;
            case STATS_REPLY_VAL:
                return OFType.STATS_REPLY;
            case BARRIER_REQUEST_VAL:
                return OFType.BARRIER_REQUEST;
            case BARRIER_REPLY_VAL:
                return OFType.BARRIER_REPLY;
            case QUEUE_GET_CONFIG_REQUEST_VAL:
                return OFType.QUEUE_GET_CONFIG_REQUEST;
            case QUEUE_GET_CONFIG_REPLY_VAL:
                return OFType.QUEUE_GET_CONFIG_REPLY;
            case ROLE_REQUEST_VAL:
                return OFType.ROLE_REQUEST;
            case ROLE_REPLY_VAL:
                return OFType.ROLE_REPLY;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java691
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java691
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java691
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java691
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java691
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java691
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java691
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java691
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java691
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java691
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java735
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java731
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java730
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java731
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java729
        public OFFlowAdd build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            U64 cookieMask = this.cookieMaskSet ? this.cookieMask : DEFAULT_COOKIE_MASK;
            if(cookieMask == null)
                throw new NullPointerException("Property cookieMask must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            OFBufferId bufferId = this.bufferIdSet ? this.bufferId : DEFAULT_BUFFER_ID;
            if(bufferId == null)
                throw new NullPointerException("Property bufferId must not be null");
            OFPort outPort = this.outPortSet ? this.outPort : DEFAULT_OUT_PORT;
            if(outPort == null)
                throw new NullPointerException("Property outPort must not be null");
            OFGroup outGroup = this.outGroupSet ? this.outGroup : DEFAULT_OUT_GROUP;
            if(outGroup == null)
                throw new NullPointerException("Property outGroup must not be null");
            Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            Match match = this.matchSet ? this.match : DEFAULT_MATCH;
            if(match == null)
                throw new NullPointerException("Property match must not be null");
            List<OFInstruction> instructions = this.instructionsSet ? this.instructions : DEFAULT_INSTRUCTIONS;
            if(instructions == null)
                throw new NullPointerException("Property instructions must not be null");


            return new OFFlowAddVer11(
FileLine
net/onrc/openvirtex/messages/ver10/OVXPortStatusVer10.java64
net/onrc/openvirtex/messages/ver13/OVXPortStatusVer13.java56
        PhysicalPort p = sw.getPort(this.desc.getPortNo().getShortPortNumber());
        if (p == null) {
            handlePortAdd(sw, p);
            return;
        }

        log.info("Received {} from switch {}", this.toString(),
                sw.getSwitchId());
        LinkPair<PhysicalLink> pair = p.getLink();
        try {
            Set<Integer> vnets = map.listVirtualNetworks().keySet();
            for (Integer tenantId : vnets) {
                /* handle vLinks/routes containing phyLink to/from this port. */
                if ((pair != null) && (pair.exists())) {
                    handleLinkChange(sw, map, pair, tenantId);
                }
                List<Map<Integer, OVXPort>> vports = p.getOVXPorts(tenantId);
                /* cycle through all OVXPorts for this port. */
                Iterator<Map<Integer, OVXPort>> pItr = vports.iterator();
                while (pItr.hasNext()) {
                    Map<Integer, OVXPort> mp = pItr.next();
                    if (mp == null) {
                        continue;
                    }
                    for (Map.Entry<Integer, OVXPort> pMap : mp.entrySet()) {
                        OVXPort vport = pMap.getValue();
                        if (vport == null) {
                            continue;
                        }
                        if (isReason(OFPortReason.DELETE)) {
                            /* try to remove OVXPort, vLinks, routes */
                            vport.unMapHost();
                            vport.handlePortDelete(this);
                            sw.removePort(p);
                        } else if (isReason(OFPortReason.MODIFY)) {
                            if (isState(OFPortState.LINK_DOWN)) {
                                /* set ports as edge, but don't remove vLinks */
                                vport.handlePortDisable(this);
                            } else if (!isState(OFPortState.LINK_DOWN)
                                    && ((OFPortStateSerializerVer10.toWireValue(p.getState()) & OFPortStateSerializerVer10.LINK_DOWN_VAL
FileLine
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteStrictVer13.java271
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteVer13.java275
net/onrc/openvirtex/messages/ver13/OVXFlowModifyStrictVer13.java274
            flowMod = OVXFactoryInst.myOVXFactory.buildOVXFlowDeleteStrict(this.getXid(), this.getCookie(), this.getCookieMask(), this.getTableId(), this.getIdleTimeout(), this.getHardTimeout(), this.getPriority(), this.getBufferId(), this.getOutPort(), this.getOutGroup(), this.getFlags(), this.getMatch(), this.getInstructions());
        }

        return flowMod;
    }

    public Map<String, Object> toMap() {
        final Map<String, Object> map = new LinkedHashMap<String, Object>();
        if (this.match != null) {
            map.put("match", OVXFactoryInst.myOVXFactory.buildOVXMatchV3(match).toMap());
        }
        LinkedList<Map<String, Object>> actions = new LinkedList<Map<String, Object>>();
        for (OFAction act : this.getActions()) {
            try {
                actions.add(OVXUtil.actionToMap(act));
            } catch (UnknownActionException e) {
                log.warn("Ignoring action {} because {}", act, e.getMessage());
            }
        }
        map.put("actionsList", actions);
        map.put("priority", String.valueOf(this.getPriority()));
        return map;
    }

    public void setVirtualCookie() {
        long tmp = this.ovxCookie;
        this.ovxCookie = this.cookie.getValue();
        this.cookie = U64.of(tmp);
    }
}
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java925
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java925
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java925
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java925
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java925
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java925
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java925
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java925
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java925
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java925
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java969
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java965
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java964
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java965
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java963
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java941
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java941
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java941
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java941
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java941
        OFFlowAddVer11 other = (OFFlowAddVer11) obj;

        if( xid != other.xid)
            return false;
        if (cookie == null) {
            if (other.cookie != null)
                return false;
        } else if (!cookie.equals(other.cookie))
            return false;
        if (cookieMask == null) {
            if (other.cookieMask != null)
                return false;
        } else if (!cookieMask.equals(other.cookieMask))
            return false;
        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if( idleTimeout != other.idleTimeout)
            return false;
        if( hardTimeout != other.hardTimeout)
            return false;
        if( priority != other.priority)
            return false;
        if (bufferId == null) {
            if (other.bufferId != null)
                return false;
        } else if (!bufferId.equals(other.bufferId))
            return false;
        if (outPort == null) {
            if (other.outPort != null)
                return false;
        } else if (!outPort.equals(other.outPort))
            return false;
        if (outGroup == null) {
            if (other.outGroup != null)
                return false;
        } else if (!outGroup.equals(other.outGroup))
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if (match == null) {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupAddVer11.java227
org/projectfloodlight/openflow/protocol/ver12/OFGroupAddVer12.java227
org/projectfloodlight/openflow/protocol/ver13/OFGroupAddVer13.java227
org/projectfloodlight/openflow/protocol/ver14/OFGroupAddVer14.java227
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.ADD;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupAdd.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupAdd.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupAdd.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }
//
        @Override
        public OFGroupAdd build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.groupTypeSet)
                throw new IllegalStateException("Property groupType doesn't have default value -- must be set");
            if(groupType == null)
                throw new NullPointerException("Property groupType must not be null");
            OFGroup group = this.groupSet ? this.group : DEFAULT_GROUP_ID;
            if(group == null)
                throw new NullPointerException("Property group must not be null");
            List<OFBucket> buckets = this.bucketsSet ? this.buckets : DEFAULT_BUCKETS;
            if(buckets == null)
                throw new NullPointerException("Property buckets must not be null");


            return new OFGroupAddVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDeleteVer11.java227
org/projectfloodlight/openflow/protocol/ver12/OFGroupDeleteVer12.java227
org/projectfloodlight/openflow/protocol/ver13/OFGroupDeleteVer13.java227
org/projectfloodlight/openflow/protocol/ver14/OFGroupDeleteVer14.java227
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.DELETE;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupDelete.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupDelete.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupDelete.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }
//
        @Override
        public OFGroupDelete build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.groupTypeSet)
                throw new IllegalStateException("Property groupType doesn't have default value -- must be set");
            if(groupType == null)
                throw new NullPointerException("Property groupType must not be null");
            OFGroup group = this.groupSet ? this.group : DEFAULT_GROUP_ID;
            if(group == null)
                throw new NullPointerException("Property group must not be null");
            List<OFBucket> buckets = this.bucketsSet ? this.buckets : DEFAULT_BUCKETS;
            if(buckets == null)
                throw new NullPointerException("Property buckets must not be null");


            return new OFGroupDeleteVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupModifyVer11.java227
org/projectfloodlight/openflow/protocol/ver12/OFGroupModifyVer12.java227
org/projectfloodlight/openflow/protocol/ver13/OFGroupModifyVer13.java227
org/projectfloodlight/openflow/protocol/ver14/OFGroupModifyVer14.java227
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupModify.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.MODIFY;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupModify.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupModify.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupModify.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }
//
        @Override
        public OFGroupModify build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.groupTypeSet)
                throw new IllegalStateException("Property groupType doesn't have default value -- must be set");
            if(groupType == null)
                throw new NullPointerException("Property groupType must not be null");
            OFGroup group = this.groupSet ? this.group : DEFAULT_GROUP_ID;
            if(group == null)
                throw new NullPointerException("Property group must not be null");
            List<OFBucket> buckets = this.bucketsSet ? this.buckets : DEFAULT_BUCKETS;
            if(buckets == null)
                throw new NullPointerException("Property buckets must not be null");


            return new OFGroupModifyVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearRequestVer13.java235
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearRequestVer14.java235
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x30L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setChecksumMask(U128 checksumMask) {
        this.checksumMask = checksumMask;
        this.checksumMaskSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableClearRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.tableIdSet)
                throw new IllegalStateException("Property tableId doesn't have default value -- must be set");
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            U128 checksum = this.checksumSet ? this.checksum : DEFAULT_CHECKSUM;
            if(checksum == null)
                throw new NullPointerException("Property checksum must not be null");
            U128 checksumMask = this.checksumMaskSet ? this.checksumMask : DEFAULT_CHECKSUM_MASK;
            if(checksumMask == null)
                throw new NullPointerException("Property checksumMask must not be null");


            return new OFBsnGentableClearRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterModVer13.java137
org/projectfloodlight/openflow/protocol/ver13/OFMeterModVer13.java248
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.METER_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterMod.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public int getCommand() {
        return command;
    }

    @Override
    public OFMeterMod.Builder setCommand(int command) {
        this.command = command;
        this.commandSet = true;
        return this;
    }
    @Override
    public int getFlags() {
        return flags;
    }

    @Override
    public OFMeterMod.Builder setFlags(int flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterMod.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }
    @Override
    public List<OFMeterBand> getMeters() {
        return meters;
    }

    @Override
    public OFMeterMod.Builder setMeters(List<OFMeterBand> meters) {
        this.meters = meters;
        this.metersSet = true;
        return this;
    }
    @Override
    public List<OFMeterBand> getBands()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property bands not supported in version 1.3");
    }

    @Override
    public OFMeterMod.Builder setBands(List<OFMeterBand> bands) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property bands not supported in version 1.3");
    }


        @Override
        public OFMeterMod build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFMeterModVer14.java137
org/projectfloodlight/openflow/protocol/ver14/OFMeterModVer14.java248
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.METER_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterMod.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public int getCommand() {
        return command;
    }

    @Override
    public OFMeterMod.Builder setCommand(int command) {
        this.command = command;
        this.commandSet = true;
        return this;
    }
    @Override
    public int getFlags() {
        return flags;
    }

    @Override
    public OFMeterMod.Builder setFlags(int flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterMod.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }
    @Override
    public List<OFMeterBand> getMeters()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property meters not supported in version 1.4");
    }

    @Override
    public OFMeterMod.Builder setMeters(List<OFMeterBand> meters) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property meters not supported in version 1.4");
    }
    @Override
    public List<OFMeterBand> getBands() {
        return bands;
    }

    @Override
    public OFMeterMod.Builder setBands(List<OFMeterBand> bands) {
        this.bands = bands;
        this.bandsSet = true;
        return this;
    }


        @Override
        public OFMeterMod build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java804
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java804
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java839
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java861
        if( hardTimeout != other.hardTimeout)
            return false;
        if (cookie == null) {
            if (other.cookie != null)
                return false;
        } else if (!cookie.equals(other.cookie))
            return false;
        if (packetCount == null) {
            if (other.packetCount != null)
                return false;
        } else if (!packetCount.equals(other.packetCount))
            return false;
        if (byteCount == null) {
            if (other.byteCount != null)
                return false;
        } else if (!byteCount.equals(other.byteCount))
            return false;
        if (match == null) {
            if (other.match != null)
                return false;
        } else if (!match.equals(other.match))
            return false;
        if (instructions == null) {
            if (other.instructions != null)
                return false;
        } else if (!instructions.equals(other.instructions))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime *  (int) (durationSec ^ (durationSec >>> 32));
        result = prime *  (int) (durationNsec ^ (durationNsec >>> 32));
        result = prime * result + priority;
        result = prime * result + idleTimeout;
        result = prime * result + hardTimeout;
        result = prime * result + ((cookie == null) ? 0 : cookie.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionRequestVer10.java153
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionRequestVer11.java280
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionRequestVer12.java280
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionRequestVer13.java280
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionRequestVer14.java280
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }

    @Override
    public boolean isEnabled() {
        return enabled;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setEnabled(boolean enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }


        @Override
        public OFBsnSetPktinSuppressionRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionRequestVer10.java280
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionRequestVer11.java153
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionRequestVer12.java153
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionRequestVer13.java153
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionRequestVer14.java153
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }

    @Override
    public boolean isEnabled() {
        return enabled;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setEnabled(boolean enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFBsnSetPktinSuppressionRequest.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
//
        @Override
        public OFBsnSetPktinSuppressionRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsEntryVer13.java156
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsEntryVer14.java165
        BuilderWithParent(OFQueueStatsEntryVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsEntry.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFQueueStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFQueueStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public List<OFQueueStatsProp> getProperties()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFAggregateStatsRequestVer10.java554
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsRequestVer10.java554
        OFAggregateStatsRequestVer10 other = (OFAggregateStatsRequestVer10) obj;

        if( xid != other.xid)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if (match == null) {
            if (other.match != null)
                return false;
        } else if (!match.equals(other.match))
            return false;
        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if (outPort == null) {
            if (other.outPort != null)
                return false;
        } else if (!outPort.equals(other.outPort))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((match == null) ? 0 : match.hashCode());
        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime * result + ((outPort == null) ? 0 : outPort.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsEntryVer10.java485
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsEntryVer11.java480
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsEntryVer12.java480
        OFQueueStatsEntryVer10 other = (OFQueueStatsEntryVer10) obj;

        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if( queueId != other.queueId)
            return false;
        if (txBytes == null) {
            if (other.txBytes != null)
                return false;
        } else if (!txBytes.equals(other.txBytes))
            return false;
        if (txPackets == null) {
            if (other.txPackets != null)
                return false;
        } else if (!txPackets.equals(other.txPackets))
            return false;
        if (txErrors == null) {
            if (other.txErrors != null)
                return false;
        } else if (!txErrors.equals(other.txErrors))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime *  (int) (queueId ^ (queueId >>> 32));
        result = prime * result + ((txBytes == null) ? 0 : txBytes.hashCode());
        result = prime * result + ((txPackets == null) ? 0 : txPackets.hashCode());
        result = prime * result + ((txErrors == null) ? 0 : txErrors.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsRequestVer10.java132
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsRequestVer11.java132
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsRequestVer12.java132
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsRequestVer13.java132
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsRequestVer14.java132
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.QUEUE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFQueueStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsRequest.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }


        @Override
        public OFQueueStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                long queueId = this.queueIdSet ? this.queueId : parentMessage.queueId;

                //
                return new OFQueueStatsRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java488
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java488
        OFGroupStatsEntryVer11 other = (OFGroupStatsEntryVer11) obj;

        if (group == null) {
            if (other.group != null)
                return false;
        } else if (!group.equals(other.group))
            return false;
        if( refCount != other.refCount)
            return false;
        if (packetCount == null) {
            if (other.packetCount != null)
                return false;
        } else if (!packetCount.equals(other.packetCount))
            return false;
        if (byteCount == null) {
            if (other.byteCount != null)
                return false;
        } else if (!byteCount.equals(other.byteCount))
            return false;
        if (bucketStats == null) {
            if (other.bucketStats != null)
                return false;
        } else if (!bucketStats.equals(other.bucketStats))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((group == null) ? 0 : group.hashCode());
        result = prime *  (int) (refCount ^ (refCount >>> 32));
        result = prime * result + ((packetCount == null) ? 0 : packetCount.hashCode());
        result = prime * result + ((byteCount == null) ? 0 : byteCount.hashCode());
        result = prime * result + ((bucketStats == null) ? 0 : bucketStats.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryAddVer13.java515
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryAddVer14.java515
        OFBsnGentableEntryAddVer13 other = (OFBsnGentableEntryAddVer13) obj;

        if( xid != other.xid)
            return false;
        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if (checksum == null) {
            if (other.checksum != null)
                return false;
        } else if (!checksum.equals(other.checksum))
            return false;
        if (key == null) {
            if (other.key != null)
                return false;
        } else if (!key.equals(other.key))
            return false;
        if (value == null) {
            if (other.value != null)
                return false;
        } else if (!value.equals(other.value))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime * result + ((checksum == null) ? 0 : checksum.hashCode());
        result = prime * result + ((key == null) ? 0 : key.hashCode());
        result = prime * result + ((value == null) ? 0 : value.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsRequestVer13.java532
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsRequestVer13.java532
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsRequestVer14.java532
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsRequestVer14.java532
        OFBsnGentableEntryDescStatsRequestVer13 other = (OFBsnGentableEntryDescStatsRequestVer13) obj;

        if( xid != other.xid)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if (checksum == null) {
            if (other.checksum != null)
                return false;
        } else if (!checksum.equals(other.checksum))
            return false;
        if (checksumMask == null) {
            if (other.checksumMask != null)
                return false;
        } else if (!checksumMask.equals(other.checksumMask))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime * result + ((checksum == null) ? 0 : checksum.hashCode());
        result = prime * result + ((checksumMask == null) ? 0 : checksumMask.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java862
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java862
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java862
        StringBuilder b = new StringBuilder("OFPortStatsEntryVer10(");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("rxPackets=").append(rxPackets);
        b.append(", ");
        b.append("txPackets=").append(txPackets);
        b.append(", ");
        b.append("rxBytes=").append(rxBytes);
        b.append(", ");
        b.append("txBytes=").append(txBytes);
        b.append(", ");
        b.append("rxDropped=").append(rxDropped);
        b.append(", ");
        b.append("txDropped=").append(txDropped);
        b.append(", ");
        b.append("rxErrors=").append(rxErrors);
        b.append(", ");
        b.append("txErrors=").append(txErrors);
        b.append(", ");
        b.append("rxFrameErr=").append(rxFrameErr);
        b.append(", ");
        b.append("rxOverErr=").append(rxOverErr);
        b.append(", ");
        b.append("rxCrcErr=").append(rxCrcErr);
        b.append(", ");
        b.append("collisions=").append(collisions);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java905
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java905
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java905
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java947
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsEntryVer14.java888
        } else if (!portNo.equals(other.portNo))
            return false;
        if (rxPackets == null) {
            if (other.rxPackets != null)
                return false;
        } else if (!rxPackets.equals(other.rxPackets))
            return false;
        if (txPackets == null) {
            if (other.txPackets != null)
                return false;
        } else if (!txPackets.equals(other.txPackets))
            return false;
        if (rxBytes == null) {
            if (other.rxBytes != null)
                return false;
        } else if (!rxBytes.equals(other.rxBytes))
            return false;
        if (txBytes == null) {
            if (other.txBytes != null)
                return false;
        } else if (!txBytes.equals(other.txBytes))
            return false;
        if (rxDropped == null) {
            if (other.rxDropped != null)
                return false;
        } else if (!rxDropped.equals(other.rxDropped))
            return false;
        if (txDropped == null) {
            if (other.txDropped != null)
                return false;
        } else if (!txDropped.equals(other.txDropped))
            return false;
        if (rxErrors == null) {
            if (other.rxErrors != null)
                return false;
        } else if (!rxErrors.equals(other.rxErrors))
            return false;
        if (txErrors == null) {
            if (other.txErrors != null)
                return false;
        } else if (!txErrors.equals(other.txErrors))
            return false;
        if (rxFrameErr == null) {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java887
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java887
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java887
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java887
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java887
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java887
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java887
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java887
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java887
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java887
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java931
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java927
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java926
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java927
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java925
        StringBuilder b = new StringBuilder("OFFlowAddVer11(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("cookie=").append(cookie);
        b.append(", ");
        b.append("cookieMask=").append(cookieMask);
        b.append(", ");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("idleTimeout=").append(idleTimeout);
        b.append(", ");
        b.append("hardTimeout=").append(hardTimeout);
        b.append(", ");
        b.append("priority=").append(priority);
        b.append(", ");
        b.append("bufferId=").append(bufferId);
        b.append(", ");
        b.append("outPort=").append(outPort);
        b.append(", ");
        b.append("outGroup=").append(outGroup);
        b.append(", ");
        b.append("flags=").append(flags);
        b.append(", ");
        b.append("match=").append(match);
        b.append(", ");
        b.append("instructions=").append(instructions);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java571
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java571
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java571
    }

//
        @Override
        public OFPortDesc build() {
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : DEFAULT_HW_ADDR;
            if(hwAddr == null)
                throw new NullPointerException("Property hwAddr must not be null");
            String name = this.nameSet ? this.name : DEFAULT_NAME;
            if(name == null)
                throw new NullPointerException("Property name must not be null");
            Set<OFPortConfig> config = this.configSet ? this.config : DEFAULT_CONFIG;
            if(config == null)
                throw new NullPointerException("Property config must not be null");
            Set<OFPortState> state = this.stateSet ? this.state : DEFAULT_STATE;
            if(state == null)
                throw new NullPointerException("Property state must not be null");
            Set<OFPortFeatures> curr = this.currSet ? this.curr : DEFAULT_CURR;
            if(curr == null)
                throw new NullPointerException("Property curr must not be null");
            Set<OFPortFeatures> advertised = this.advertisedSet ? this.advertised : DEFAULT_ADVERTISED;
            if(advertised == null)
                throw new NullPointerException("Property advertised must not be null");
            Set<OFPortFeatures> supported = this.supportedSet ? this.supported : DEFAULT_SUPPORTED;
            if(supported == null)
                throw new NullPointerException("Property supported must not be null");
            Set<OFPortFeatures> peer = this.peerSet ? this.peer : DEFAULT_PEER;
            if(peer == null)
                throw new NullPointerException("Property peer must not be null");
            long currSpeed = this.currSpeedSet ? this.currSpeed : DEFAULT_CURR_SPEED;
            long maxSpeed = this.maxSpeedSet ? this.maxSpeed : DEFAULT_MAX_SPEED;


            return new OFPortDescVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java814
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java814
        StringBuilder b = new StringBuilder("OFBsnLacpConvergenceNotifVer13(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("convergenceStatus=").append(convergenceStatus);
        b.append(", ");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("actorSysPriority=").append(actorSysPriority);
        b.append(", ");
        b.append("actorSysMac=").append(actorSysMac);
        b.append(", ");
        b.append("actorPortPriority=").append(actorPortPriority);
        b.append(", ");
        b.append("actorPortNum=").append(actorPortNum);
        b.append(", ");
        b.append("actorKey=").append(actorKey);
        b.append(", ");
        b.append("partnerSysPriority=").append(partnerSysPriority);
        b.append(", ");
        b.append("partnerSysMac=").append(partnerSysMac);
        b.append(", ");
        b.append("partnerPortPriority=").append(partnerPortPriority);
        b.append(", ");
        b.append("partnerPortNum=").append(partnerPortNum);
        b.append(", ");
        b.append("partnerKey=").append(partnerKey);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java156
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java289
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public long getRefCount() {
        return refCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setRefCount(long refCount) {
        this.refCount = refCount;
        this.refCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public List<OFBucketCounter> getBucketStats() {
        return bucketStats;
    }

    @Override
    public OFGroupStatsEntry.Builder setBucketStats(List<OFBucketCounter> bucketStats) {
        this.bucketStats = bucketStats;
        this.bucketStatsSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFGroupStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFGroupStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java289
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java156
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public long getRefCount() {
        return refCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setRefCount(long refCount) {
        this.refCount = refCount;
        this.refCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public List<OFBucketCounter> getBucketStats() {
        return bucketStats;
    }

    @Override
    public OFGroupStatsEntry.Builder setBucketStats(List<OFBucketCounter> bucketStats) {
        this.bucketStats = bucketStats;
        this.bucketStatsSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFGroupStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFGroupStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsVer13.java153
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsVer14.java284
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterStats.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }
    @Override
    public long getFlowCount() {
        return flowCount;
    }

    @Override
    public OFMeterStats.Builder setFlowCount(long flowCount) {
        this.flowCount = flowCount;
        this.flowCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketInCount() {
        return packetInCount;
    }

    @Override
    public OFMeterStats.Builder setPacketInCount(U64 packetInCount) {
        this.packetInCount = packetInCount;
        this.packetInCountSet = true;
        return this;
    }
    @Override
    public U64 getByteInCount() {
        return byteInCount;
    }

    @Override
    public OFMeterStats.Builder setByteInCount(U64 byteInCount) {
        this.byteInCount = byteInCount;
        this.byteInCountSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFMeterStats.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFMeterStats.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public List<OFMeterBandStats> getBandStats() {
        return bandStats;
    }

    @Override
    public OFMeterStats.Builder setBandStats(List<OFMeterBandStats> bandStats) {
        this.bandStats = bandStats;
        this.bandStatsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsVer13.java284
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsVer14.java153
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterStats.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }
    @Override
    public long getFlowCount() {
        return flowCount;
    }

    @Override
    public OFMeterStats.Builder setFlowCount(long flowCount) {
        this.flowCount = flowCount;
        this.flowCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketInCount() {
        return packetInCount;
    }

    @Override
    public OFMeterStats.Builder setPacketInCount(U64 packetInCount) {
        this.packetInCount = packetInCount;
        this.packetInCountSet = true;
        return this;
    }
    @Override
    public U64 getByteInCount() {
        return byteInCount;
    }

    @Override
    public OFMeterStats.Builder setByteInCount(U64 byteInCount) {
        this.byteInCount = byteInCount;
        this.byteInCountSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFMeterStats.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFMeterStats.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public List<OFMeterBandStats> getBandStats() {
        return bandStats;
    }

    @Override
    public OFMeterStats.Builder setBandStats(List<OFMeterBandStats> bandStats) {
        this.bandStats = bandStats;
        this.bandStatsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesVer13.java159
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesVer14.java294
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableFeatures.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFTableFeatures.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public U64 getMetadataMatch() {
        return metadataMatch;
    }

    @Override
    public OFTableFeatures.Builder setMetadataMatch(U64 metadataMatch) {
        this.metadataMatch = metadataMatch;
        this.metadataMatchSet = true;
        return this;
    }
    @Override
    public U64 getMetadataWrite() {
        return metadataWrite;
    }

    @Override
    public OFTableFeatures.Builder setMetadataWrite(U64 metadataWrite) {
        this.metadataWrite = metadataWrite;
        this.metadataWriteSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFTableFeatures.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public long getMaxEntries() {
        return maxEntries;
    }

    @Override
    public OFTableFeatures.Builder setMaxEntries(long maxEntries) {
        this.maxEntries = maxEntries;
        this.maxEntriesSet = true;
        return this;
    }
    @Override
    public List<OFTableFeatureProp> getProperties() {
        return properties;
    }

    @Override
    public OFTableFeatures.Builder setProperties(List<OFTableFeatureProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesVer13.java294
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesVer14.java159
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableFeatures.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFTableFeatures.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public U64 getMetadataMatch() {
        return metadataMatch;
    }

    @Override
    public OFTableFeatures.Builder setMetadataMatch(U64 metadataMatch) {
        this.metadataMatch = metadataMatch;
        this.metadataMatchSet = true;
        return this;
    }
    @Override
    public U64 getMetadataWrite() {
        return metadataWrite;
    }

    @Override
    public OFTableFeatures.Builder setMetadataWrite(U64 metadataWrite) {
        this.metadataWrite = metadataWrite;
        this.metadataWriteSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFTableFeatures.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public long getMaxEntries() {
        return maxEntries;
    }

    @Override
    public OFTableFeatures.Builder setMaxEntries(long maxEntries) {
        this.maxEntries = maxEntries;
        this.maxEntriesSet = true;
        return this;
    }
    @Override
    public List<OFTableFeatureProp> getProperties() {
        return properties;
    }

    @Override
    public OFTableFeatures.Builder setProperties(List<OFTableFeatureProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java622
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java622
            return new OFFlowStatsEntryVer11(
                    tableId,
                    durationSec,
                    durationNsec,
                    priority,
                    idleTimeout,
                    hardTimeout,
                    cookie,
                    packetCount,
                    byteCount,
                    match,
                    instructions
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFFlowStatsEntry> {
        @Override
        public OFFlowStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            TableId tableId = TableId.readByte(bb);
            // pad: 1 bytes
            bb.skipBytes(1);
            long durationSec = U32.f(bb.readInt());
            long durationNsec = U32.f(bb.readInt());
            int priority = U16.f(bb.readShort());
            int idleTimeout = U16.f(bb.readShort());
            int hardTimeout = U16.f(bb.readShort());
            // pad: 6 bytes
            bb.skipBytes(6);
            U64 cookie = U64.ofRaw(bb.readLong());
            U64 packetCount = U64.ofRaw(bb.readLong());
            U64 byteCount = U64.ofRaw(bb.readLong());
            Match match = ChannelUtilsVer11.readOFMatch(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsRequestVer13.java150
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsRequestVer13.java273
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setChecksumMask(U128 checksumMask) {
        this.checksumMask = checksumMask;
        this.checksumMaskSet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsRequestVer13.java150
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsRequestVer13.java273
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setChecksumMask(U128 checksumMask) {
        this.checksumMask = checksumMask;
        this.checksumMaskSet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortOpticalVer13.java153
org/projectfloodlight/openflow/protocol/ver13/OFPortOpticalVer13.java275
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortOptical.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortOptical.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFPortOptical.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public Set<OFPortConfig> getConfig() {
        return config;
    }

    @Override
    public OFPortOptical.Builder setConfig(Set<OFPortConfig> config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public Set<OFPortState> getState() {
        return state;
    }

    @Override
    public OFPortOptical.Builder setState(Set<OFPortState> state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public List<OFPortDescPropOpticalTransport> getDesc() {
        return desc;
    }

    @Override
    public OFPortOptical.Builder setDesc(List<OFPortDescPropOpticalTransport> desc) {
        this.desc = desc;
        this.descSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFPortOptical build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsRequestVer14.java150
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsRequestVer14.java273
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setChecksumMask(U128 checksumMask) {
        this.checksumMask = checksumMask;
        this.checksumMaskSet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsRequestVer14.java150
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsRequestVer14.java273
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setChecksumMask(U128 checksumMask) {
        this.checksumMask = checksumMask;
        this.checksumMaskSet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableConfigSerializerVer11.java34
org/projectfloodlight/openflow/protocol/ver12/OFTableConfigSerializerVer12.java34
public class OFTableConfigSerializerVer11 {

    public final static int TABLE_MISS_CONTROLLER_VAL = 0x0;
    public final static int TABLE_MISS_CONTINUE_VAL = 0x1;
    public final static int TABLE_MISS_DROP_VAL = 0x2;
    public final static int TABLE_MISS_MASK_VAL = 0x3;

    public static Set<OFTableConfig> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFTableConfig> set) {
        bb.writeInt(toWireValue(set));
    }

    public static void putTo(Set<OFTableConfig> set, PrimitiveSink sink) {
        sink.putInt(toWireValue(set));
    }


    public static Set<OFTableConfig> ofWireValue(int val) {
        EnumSet<OFTableConfig> set = EnumSet.noneOf(OFTableConfig.class);

        if((val & TABLE_MISS_MASK_VAL) == TABLE_MISS_CONTROLLER_VAL)
            set.add(OFTableConfig.TABLE_MISS_CONTROLLER);
        else if((val & TABLE_MISS_MASK_VAL) == TABLE_MISS_CONTINUE_VAL)
            set.add(OFTableConfig.TABLE_MISS_CONTINUE);
        else if((val & TABLE_MISS_MASK_VAL) == TABLE_MISS_DROP_VAL)
            set.add(OFTableConfig.TABLE_MISS_DROP);
        return Collections.unmodifiableSet(set);
    }

    public static int toWireValue(Set<OFTableConfig> set) {
        int wireValue = 0;

        for(OFTableConfig e: set) {
            switch(e) {
                case TABLE_MISS_CONTROLLER:
                    wireValue |= TABLE_MISS_CONTROLLER_VAL;
                    break;
                case TABLE_MISS_CONTINUE:
                    wireValue |= TABLE_MISS_CONTINUE_VAL;
                    break;
                case TABLE_MISS_DROP:
                    wireValue |= TABLE_MISS_DROP_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFTableConfig in version 1.1: " + e);
FileLine
net/onrc/openvirtex/api/service/handlers/MonitoringHandler.java77
net/onrc/openvirtex/api/service/handlers/TenantHandler.java179
            this.put("getVirtualAddressMapping", new GetVirtualAddressMapping());
        }
    };

    @Override
    public String[] handledRequests() {
        return this.handlers.keySet().toArray(new String[] {});
    }


    @Override
    @SuppressWarnings({ "rawtypes", "unchecked" })
    public JSONRPC2Response process(final JSONRPC2Request req,
            final MessageContext ctxt)  {

        final ApiHandler m = this.handlers.get(req.getMethod());
        if (m != null) {

            if (m.getType() != JSONRPC2ParamsType.NO_PARAMS
                    && m.getType() != req.getParamsType()) {
                return new JSONRPC2Response(new JSONRPC2Error(
                        JSONRPC2Error.INVALID_PARAMS.getCode(), req.getMethod()
                                + " requires: " + m.getType() + "; got: "
                                + req.getParamsType()), req.getID());
            }

            switch (m.getType()) {
            case NO_PARAMS:
                try {
					return m.process(null);
				} catch (SwitchMappingException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
            case ARRAY:
                try {
					return m.process(req.getPositionalParams());
				} catch (SwitchMappingException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
            case OBJECT:
                try {
					return m.process(req.getNamedParams());
				} catch (SwitchMappingException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
            default:
                break;
            }
        }

        return new JSONRPC2Response(JSONRPC2Error.METHOD_NOT_FOUND, req.getID());
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTypeSerializerVer11.java57
org/projectfloodlight/openflow/protocol/ver12/OFTypeSerializerVer12.java59
org/projectfloodlight/openflow/protocol/ver13/OFTypeSerializerVer13.java63
    public static OFType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFType e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFType e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFType ofWireValue(byte val) {
        switch(val) {
            case HELLO_VAL:
                return OFType.HELLO;
            case ERROR_VAL:
                return OFType.ERROR;
            case ECHO_REQUEST_VAL:
                return OFType.ECHO_REQUEST;
            case ECHO_REPLY_VAL:
                return OFType.ECHO_REPLY;
            case EXPERIMENTER_VAL:
                return OFType.EXPERIMENTER;
            case FEATURES_REQUEST_VAL:
                return OFType.FEATURES_REQUEST;
            case FEATURES_REPLY_VAL:
                return OFType.FEATURES_REPLY;
            case GET_CONFIG_REQUEST_VAL:
                return OFType.GET_CONFIG_REQUEST;
            case GET_CONFIG_REPLY_VAL:
                return OFType.GET_CONFIG_REPLY;
            case SET_CONFIG_VAL:
                return OFType.SET_CONFIG;
            case PACKET_IN_VAL:
                return OFType.PACKET_IN;
            case FLOW_REMOVED_VAL:
                return OFType.FLOW_REMOVED;
            case PORT_STATUS_VAL:
                return OFType.PORT_STATUS;
            case PACKET_OUT_VAL:
                return OFType.PACKET_OUT;
            case FLOW_MOD_VAL:
                return OFType.FLOW_MOD;
            case GROUP_MOD_VAL:
                return OFType.GROUP_MOD;
            case PORT_MOD_VAL:
                return OFType.PORT_MOD;
            case TABLE_MOD_VAL:
                return OFType.TABLE_MOD;
            case STATS_REQUEST_VAL:
                return OFType.STATS_REQUEST;
            case STATS_REPLY_VAL:
                return OFType.STATS_REPLY;
            case BARRIER_REQUEST_VAL:
                return OFType.BARRIER_REQUEST;
            case BARRIER_REPLY_VAL:
                return OFType.BARRIER_REPLY;
            case QUEUE_GET_CONFIG_REQUEST_VAL:
                return OFType.QUEUE_GET_CONFIG_REQUEST;
            case QUEUE_GET_CONFIG_REPLY_VAL:
                return OFType.QUEUE_GET_CONFIG_REPLY;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsRequestVer10.java226
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsRequestVer11.java226
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsRequestVer12.java226
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsRequestVer13.java226
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsRequestVer14.java226
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.QUEUE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFQueueStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsRequest.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
//
        @Override
        public OFQueueStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            long queueId = this.queueIdSet ? this.queueId : DEFAULT_QUEUE_ID;


            return new OFQueueStatsRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFTypeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFTypeSerializerVer13.java30
public class OFTypeSerializerVer12 {

    public final static byte HELLO_VAL = (byte) 0x0;
    public final static byte ERROR_VAL = (byte) 0x1;
    public final static byte ECHO_REQUEST_VAL = (byte) 0x2;
    public final static byte ECHO_REPLY_VAL = (byte) 0x3;
    public final static byte EXPERIMENTER_VAL = (byte) 0x4;
    public final static byte FEATURES_REQUEST_VAL = (byte) 0x5;
    public final static byte FEATURES_REPLY_VAL = (byte) 0x6;
    public final static byte GET_CONFIG_REQUEST_VAL = (byte) 0x7;
    public final static byte GET_CONFIG_REPLY_VAL = (byte) 0x8;
    public final static byte SET_CONFIG_VAL = (byte) 0x9;
    public final static byte PACKET_IN_VAL = (byte) 0xa;
    public final static byte FLOW_REMOVED_VAL = (byte) 0xb;
    public final static byte PORT_STATUS_VAL = (byte) 0xc;
    public final static byte PACKET_OUT_VAL = (byte) 0xd;
    public final static byte FLOW_MOD_VAL = (byte) 0xe;
    public final static byte GROUP_MOD_VAL = (byte) 0xf;
    public final static byte PORT_MOD_VAL = (byte) 0x10;
    public final static byte TABLE_MOD_VAL = (byte) 0x11;
    public final static byte STATS_REQUEST_VAL = (byte) 0x12;
    public final static byte STATS_REPLY_VAL = (byte) 0x13;
    public final static byte BARRIER_REQUEST_VAL = (byte) 0x14;
    public final static byte BARRIER_REPLY_VAL = (byte) 0x15;
    public final static byte QUEUE_GET_CONFIG_REQUEST_VAL = (byte) 0x16;
    public final static byte QUEUE_GET_CONFIG_REPLY_VAL = (byte) 0x17;
    public final static byte ROLE_REQUEST_VAL = (byte) 0x18;
    public final static byte ROLE_REPLY_VAL = (byte) 0x19;

    public static OFType readFrom(ChannelBuffer bb) throws OFParseError {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsEntryVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsEntryVer14.java319
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsEntry.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFQueueStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFQueueStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public List<OFQueueStatsProp> getProperties()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsEntryVer13.java302
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsEntryVer14.java169
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsEntry.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFQueueStatsEntry.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFQueueStatsEntry.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public List<OFQueueStatsProp> getProperties()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java345
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java359
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java359
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java359
    }



        @Override
        public OFPortDesc build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : parentMessage.hwAddr;
                if(hwAddr == null)
                    throw new NullPointerException("Property hwAddr must not be null");
                String name = this.nameSet ? this.name : parentMessage.name;
                if(name == null)
                    throw new NullPointerException("Property name must not be null");
                Set<OFPortConfig> config = this.configSet ? this.config : parentMessage.config;
                if(config == null)
                    throw new NullPointerException("Property config must not be null");
                Set<OFPortState> state = this.stateSet ? this.state : parentMessage.state;
                if(state == null)
                    throw new NullPointerException("Property state must not be null");
                Set<OFPortFeatures> curr = this.currSet ? this.curr : parentMessage.curr;
                if(curr == null)
                    throw new NullPointerException("Property curr must not be null");
                Set<OFPortFeatures> advertised = this.advertisedSet ? this.advertised : parentMessage.advertised;
                if(advertised == null)
                    throw new NullPointerException("Property advertised must not be null");
                Set<OFPortFeatures> supported = this.supportedSet ? this.supported : parentMessage.supported;
                if(supported == null)
                    throw new NullPointerException("Property supported must not be null");
                Set<OFPortFeatures> peer = this.peerSet ? this.peer : parentMessage.peer;
                if(peer == null)
                    throw new NullPointerException("Property peer must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportQInQVer10.java140
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportQInQVer10.java257
    @Override
    public int getType() {
        return 0x0;
    }

    @Override
    public long getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnVportQInQ.Builder setPortNo(long portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getIngressTpid() {
        return ingressTpid;
    }

    @Override
    public OFBsnVportQInQ.Builder setIngressTpid(int ingressTpid) {
        this.ingressTpid = ingressTpid;
        this.ingressTpidSet = true;
        return this;
    }
    @Override
    public int getIngressVlanId() {
        return ingressVlanId;
    }

    @Override
    public OFBsnVportQInQ.Builder setIngressVlanId(int ingressVlanId) {
        this.ingressVlanId = ingressVlanId;
        this.ingressVlanIdSet = true;
        return this;
    }
    @Override
    public int getEgressTpid() {
        return egressTpid;
    }

    @Override
    public OFBsnVportQInQ.Builder setEgressTpid(int egressTpid) {
        this.egressTpid = egressTpid;
        this.egressTpidSet = true;
        return this;
    }
    @Override
    public int getEgressVlanId() {
        return egressVlanId;
    }

    @Override
    public OFBsnVportQInQ.Builder setEgressVlanId(int egressVlanId) {
        this.egressVlanId = egressVlanId;
        this.egressVlanIdSet = true;
        return this;
    }
    @Override
    public String getIfName() {
        return ifName;
    }

    @Override
    public OFBsnVportQInQ.Builder setIfName(String ifName) {
        this.ifName = ifName;
        this.ifNameSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }



        @Override
        public OFBsnVportQInQ build() {
                long portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportQInQVer11.java140
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportQInQVer11.java257
    @Override
    public int getType() {
        return 0x0;
    }

    @Override
    public long getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnVportQInQ.Builder setPortNo(long portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getIngressTpid() {
        return ingressTpid;
    }

    @Override
    public OFBsnVportQInQ.Builder setIngressTpid(int ingressTpid) {
        this.ingressTpid = ingressTpid;
        this.ingressTpidSet = true;
        return this;
    }
    @Override
    public int getIngressVlanId() {
        return ingressVlanId;
    }

    @Override
    public OFBsnVportQInQ.Builder setIngressVlanId(int ingressVlanId) {
        this.ingressVlanId = ingressVlanId;
        this.ingressVlanIdSet = true;
        return this;
    }
    @Override
    public int getEgressTpid() {
        return egressTpid;
    }

    @Override
    public OFBsnVportQInQ.Builder setEgressTpid(int egressTpid) {
        this.egressTpid = egressTpid;
        this.egressTpidSet = true;
        return this;
    }
    @Override
    public int getEgressVlanId() {
        return egressVlanId;
    }

    @Override
    public OFBsnVportQInQ.Builder setEgressVlanId(int egressVlanId) {
        this.egressVlanId = egressVlanId;
        this.egressVlanIdSet = true;
        return this;
    }
    @Override
    public String getIfName() {
        return ifName;
    }

    @Override
    public OFBsnVportQInQ.Builder setIfName(String ifName) {
        this.ifName = ifName;
        this.ifNameSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }



        @Override
        public OFBsnVportQInQ build() {
                long portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportQInQVer12.java140
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportQInQVer12.java257
    @Override
    public int getType() {
        return 0x0;
    }

    @Override
    public long getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnVportQInQ.Builder setPortNo(long portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getIngressTpid() {
        return ingressTpid;
    }

    @Override
    public OFBsnVportQInQ.Builder setIngressTpid(int ingressTpid) {
        this.ingressTpid = ingressTpid;
        this.ingressTpidSet = true;
        return this;
    }
    @Override
    public int getIngressVlanId() {
        return ingressVlanId;
    }

    @Override
    public OFBsnVportQInQ.Builder setIngressVlanId(int ingressVlanId) {
        this.ingressVlanId = ingressVlanId;
        this.ingressVlanIdSet = true;
        return this;
    }
    @Override
    public int getEgressTpid() {
        return egressTpid;
    }

    @Override
    public OFBsnVportQInQ.Builder setEgressTpid(int egressTpid) {
        this.egressTpid = egressTpid;
        this.egressTpidSet = true;
        return this;
    }
    @Override
    public int getEgressVlanId() {
        return egressVlanId;
    }

    @Override
    public OFBsnVportQInQ.Builder setEgressVlanId(int egressVlanId) {
        this.egressVlanId = egressVlanId;
        this.egressVlanIdSet = true;
        return this;
    }
    @Override
    public String getIfName() {
        return ifName;
    }

    @Override
    public OFBsnVportQInQ.Builder setIfName(String ifName) {
        this.ifName = ifName;
        this.ifNameSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFBsnVportQInQ build() {
                long portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryAddVer13.java146
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryAddVer13.java264
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2eL;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getValue() {
        return value;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setValue(List<OFBsnTlv> value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportQInQVer13.java140
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportQInQVer13.java257
    @Override
    public int getType() {
        return 0x0;
    }

    @Override
    public long getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnVportQInQ.Builder setPortNo(long portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getIngressTpid() {
        return ingressTpid;
    }

    @Override
    public OFBsnVportQInQ.Builder setIngressTpid(int ingressTpid) {
        this.ingressTpid = ingressTpid;
        this.ingressTpidSet = true;
        return this;
    }
    @Override
    public int getIngressVlanId() {
        return ingressVlanId;
    }

    @Override
    public OFBsnVportQInQ.Builder setIngressVlanId(int ingressVlanId) {
        this.ingressVlanId = ingressVlanId;
        this.ingressVlanIdSet = true;
        return this;
    }
    @Override
    public int getEgressTpid() {
        return egressTpid;
    }

    @Override
    public OFBsnVportQInQ.Builder setEgressTpid(int egressTpid) {
        this.egressTpid = egressTpid;
        this.egressTpidSet = true;
        return this;
    }
    @Override
    public int getEgressVlanId() {
        return egressVlanId;
    }

    @Override
    public OFBsnVportQInQ.Builder setEgressVlanId(int egressVlanId) {
        this.egressVlanId = egressVlanId;
        this.egressVlanIdSet = true;
        return this;
    }
    @Override
    public String getIfName() {
        return ifName;
    }

    @Override
    public OFBsnVportQInQ.Builder setIfName(String ifName) {
        this.ifName = ifName;
        this.ifNameSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFBsnVportQInQ build() {
                long portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryAddVer14.java146
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryAddVer14.java264
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2eL;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getValue() {
        return value;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setValue(List<OFBsnTlv> value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportQInQVer14.java140
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportQInQVer14.java257
    @Override
    public int getType() {
        return 0x0;
    }

    @Override
    public long getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnVportQInQ.Builder setPortNo(long portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getIngressTpid() {
        return ingressTpid;
    }

    @Override
    public OFBsnVportQInQ.Builder setIngressTpid(int ingressTpid) {
        this.ingressTpid = ingressTpid;
        this.ingressTpidSet = true;
        return this;
    }
    @Override
    public int getIngressVlanId() {
        return ingressVlanId;
    }

    @Override
    public OFBsnVportQInQ.Builder setIngressVlanId(int ingressVlanId) {
        this.ingressVlanId = ingressVlanId;
        this.ingressVlanIdSet = true;
        return this;
    }
    @Override
    public int getEgressTpid() {
        return egressTpid;
    }

    @Override
    public OFBsnVportQInQ.Builder setEgressTpid(int egressTpid) {
        this.egressTpid = egressTpid;
        this.egressTpidSet = true;
        return this;
    }
    @Override
    public int getEgressVlanId() {
        return egressVlanId;
    }

    @Override
    public OFBsnVportQInQ.Builder setEgressVlanId(int egressVlanId) {
        this.egressVlanId = egressVlanId;
        this.egressVlanIdSet = true;
        return this;
    }
    @Override
    public String getIfName() {
        return ifName;
    }

    @Override
    public OFBsnVportQInQ.Builder setIfName(String ifName) {
        this.ifName = ifName;
        this.ifNameSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFBsnVportQInQ build() {
                long portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFPortDescPropEthernetVer14.java137
org/projectfloodlight/openflow/protocol/ver14/OFPortDescPropEthernetVer14.java252
    @Override
    public int getType() {
        return 0x0;
    }

    @Override
    public long getCurr() {
        return curr;
    }

    @Override
    public OFPortDescPropEthernet.Builder setCurr(long curr) {
        this.curr = curr;
        this.currSet = true;
        return this;
    }
    @Override
    public long getAdvertised() {
        return advertised;
    }

    @Override
    public OFPortDescPropEthernet.Builder setAdvertised(long advertised) {
        this.advertised = advertised;
        this.advertisedSet = true;
        return this;
    }
    @Override
    public long getSupported() {
        return supported;
    }

    @Override
    public OFPortDescPropEthernet.Builder setSupported(long supported) {
        this.supported = supported;
        this.supportedSet = true;
        return this;
    }
    @Override
    public long getPeer() {
        return peer;
    }

    @Override
    public OFPortDescPropEthernet.Builder setPeer(long peer) {
        this.peer = peer;
        this.peerSet = true;
        return this;
    }
    @Override
    public long getCurrSpeed() {
        return currSpeed;
    }

    @Override
    public OFPortDescPropEthernet.Builder setCurrSpeed(long currSpeed) {
        this.currSpeed = currSpeed;
        this.currSpeedSet = true;
        return this;
    }
    @Override
    public long getMaxSpeed() {
        return maxSpeed;
    }

    @Override
    public OFPortDescPropEthernet.Builder setMaxSpeed(long maxSpeed) {
        this.maxSpeed = maxSpeed;
        this.maxSpeedSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFPortDescPropEthernet build() {
                long curr = this.currSet ? this.curr : parentMessage.curr;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxReplyVer10.java133
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxReplyVer11.java133
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxReplyVer12.java133
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxReplyVer13.java133
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxReplyVer14.java133
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x22L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnPduRxReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxReply.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                long status = this.statusSet ? this.status : parentMessage.status;
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                short slotNum = this.slotNumSet ? this.slotNum : parentMessage.slotNum;

                //
                return new OFBsnPduRxReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxReplyVer10.java133
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxReplyVer11.java133
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxReplyVer12.java133
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxReplyVer13.java133
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxReplyVer14.java133
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduTxReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x20L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnPduTxReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduTxReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduTxReply.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduTxReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                long status = this.statusSet ? this.status : parentMessage.status;
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                short slotNum = this.slotNumSet ? this.slotNum : parentMessage.slotNum;

                //
                return new OFBsnPduTxReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearReplyVer13.java128
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearReplyVer14.java128
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableClearReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x31L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableClearReply.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDeletedCount() {
        return deletedCount;
    }

    @Override
    public OFBsnGentableClearReply.Builder setDeletedCount(long deletedCount) {
        this.deletedCount = deletedCount;
        this.deletedCountSet = true;
        return this;
    }
    @Override
    public long getErrorCount() {
        return errorCount;
    }

    @Override
    public OFBsnGentableClearReply.Builder setErrorCount(long errorCount) {
        this.errorCount = errorCount;
        this.errorCountSet = true;
        return this;
    }


        @Override
        public OFBsnGentableClearReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                GenTableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                long deletedCount = this.deletedCountSet ? this.deletedCount : parentMessage.deletedCount;
                long errorCount = this.errorCountSet ? this.errorCount : parentMessage.errorCount;

                //
                return new OFBsnGentableClearReplyVer13(
FileLine
net/onrc/openvirtex/messages/actions/ver10/OVXActionOutputVer10.java417
net/onrc/openvirtex/messages/actions/ver13/OVXActionOutputVer13.java426
        final LinkedList<OVXPort> outPortList = new LinkedList<OVXPort>();
        if (U16.f(outPort) < U16.f(OFPP_MAX_SHORT)) {
            if (sw.getPort(outPort) != null && sw.getPort(outPort).isActive()) {
                outPortList.add(sw.getPort(outPort));
            }
        } else if (U16.f(outPort) == U16.f(OFPP_FLOOD_SHORT)) {
            final Map<Short, OVXPort> ports = sw.getPorts();
            for (final OVXPort port : ports.values()) {
                if (port.getPortNo().getShortPortNumber() != inPort && port.isActive()) {
                    outPortList.add(port);
                }
            }
        } else if (U16.f(outPort) == U16.f(OFPP_ALL_SHORT)) {
            final Map<Short, OVXPort> ports = sw.getPorts();
            for (final OVXPort port : ports.values()) {
                if (port.isActive()) {
                    outPortList.add(port);
                }
            }
        } else {
            log.warn(
                    "Output port from controller currently not supported. Short = {}, Exadecimal = 0x{}",
                    U16.f(outPort),
                    Integer.toHexString(U16.f(outPort) & 0xffff));
        }

        if (outPortList.size() < 1) {
            throw new DroppedMessageException(
                    "No output ports defined; dropping");
        }
        return outPortList;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPacketInReasonSerializerVer13.java35
org/projectfloodlight/openflow/protocol/ver14/OFPacketInReasonSerializerVer14.java38
    public final static byte BSN_NEW_HOST_VAL = (byte) 0x80;
    public final static byte BSN_STATION_MOVE_VAL = (byte) 0x81;
    public final static byte BSN_BAD_VLAN_VAL = (byte) 0x82;
    public final static byte BSN_DESTINATION_LOOKUP_FAILURE_VAL = (byte) 0x83;
    public final static byte BSN_NO_ROUTE_VAL = (byte) 0x84;
    public final static byte BSN_ICMP_ECHO_REQUEST_VAL = (byte) 0x85;
    public final static byte BSN_DEST_NETWORK_UNREACHABLE_VAL = (byte) 0x86;
    public final static byte BSN_DEST_HOST_UNREACHABLE_VAL = (byte) 0x87;
    public final static byte BSN_DEST_PORT_UNREACHABLE_VAL = (byte) 0x88;
    public final static byte BSN_FRAGMENTATION_REQUIRED_VAL = (byte) 0x89;
    public final static byte BSN_ARP_VAL = (byte) 0x8b;
    public final static byte BSN_DHCP_VAL = (byte) 0x8c;
    public final static byte BSN_DEBUG_VAL = (byte) 0x8d;
    public final static byte BSN_PACKET_OF_DEATH_VAL = (byte) 0x8e;

    public static OFPacketInReason readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFPacketInReason e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFPacketInReason e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFPacketInReason ofWireValue(byte val) {
        switch(val) {
            case NO_MATCH_VAL:
                return OFPacketInReason.NO_MATCH;
            case ACTION_VAL:
                return OFPacketInReason.ACTION;
            case INVALID_TTL_VAL:
                return OFPacketInReason.INVALID_TTL;
            case BSN_NEW_HOST_VAL:
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortStateSerializerVer11.java34
org/projectfloodlight/openflow/protocol/ver12/OFPortStateSerializerVer12.java34
org/projectfloodlight/openflow/protocol/ver13/OFPortStateSerializerVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFPortStateSerializerVer14.java34
public class OFPortStateSerializerVer11 {

    public final static int LINK_DOWN_VAL = 0x1;
    public final static int BLOCKED_VAL = 0x2;
    public final static int LIVE_VAL = 0x4;

    public static Set<OFPortState> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFPortState> set) {
        bb.writeInt(toWireValue(set));
    }

    public static void putTo(Set<OFPortState> set, PrimitiveSink sink) {
        sink.putInt(toWireValue(set));
    }


    public static Set<OFPortState> ofWireValue(int val) {
        EnumSet<OFPortState> set = EnumSet.noneOf(OFPortState.class);

        if((val & LINK_DOWN_VAL) != 0)
            set.add(OFPortState.LINK_DOWN);
        if((val & BLOCKED_VAL) != 0)
            set.add(OFPortState.BLOCKED);
        if((val & LIVE_VAL) != 0)
            set.add(OFPortState.LIVE);
        return Collections.unmodifiableSet(set);
    }

    public static int toWireValue(Set<OFPortState> set) {
        int wireValue = 0;

        for(OFPortState e: set) {
            switch(e) {
                case LINK_DOWN:
                    wireValue |= LINK_DOWN_VAL;
                    break;
                case BLOCKED:
                    wireValue |= BLOCKED_VAL;
                    break;
                case LIVE:
                    wireValue |= LIVE_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFPortState in version 1.1: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBadInstructionCodeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFBadInstructionCodeSerializerVer13.java30
public class OFBadInstructionCodeSerializerVer12 {

    public final static short UNKNOWN_INST_VAL = (short) 0x0;
    public final static short UNSUP_INST_VAL = (short) 0x1;
    public final static short BAD_TABLE_ID_VAL = (short) 0x2;
    public final static short UNSUP_METADATA_VAL = (short) 0x3;
    public final static short UNSUP_METADATA_MASK_VAL = (short) 0x4;
    public final static short BAD_EXPERIMENTER_VAL = (short) 0x5;
    public final static short BAD_EXPERIMENTER_TYPE_VAL = (short) 0x6;
    public final static short BAD_LEN_VAL = (short) 0x7;
    public final static short EPERM_VAL = (short) 0x8;

    public static OFBadInstructionCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBadInstructionCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFBadInstructionCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFBadInstructionCode ofWireValue(short val) {
        switch(val) {
            case UNKNOWN_INST_VAL:
                return OFBadInstructionCode.UNKNOWN_INST;
            case UNSUP_INST_VAL:
                return OFBadInstructionCode.UNSUP_INST;
            case BAD_TABLE_ID_VAL:
                return OFBadInstructionCode.BAD_TABLE_ID;
            case UNSUP_METADATA_VAL:
                return OFBadInstructionCode.UNSUP_METADATA;
            case UNSUP_METADATA_MASK_VAL:
                return OFBadInstructionCode.UNSUP_METADATA_MASK;
            case BAD_EXPERIMENTER_VAL:
                return OFBadInstructionCode.BAD_EXPERIMENTER;
            case BAD_EXPERIMENTER_TYPE_VAL:
                return OFBadInstructionCode.BAD_EXPERIMENTER_TYPE;
            case BAD_LEN_VAL:
                return OFBadInstructionCode.BAD_LEN;
            case EPERM_VAL:
                return OFBadInstructionCode.EPERM;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFBadInstructionCode in version 1.2: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportL2GreVer10.java583
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreVer11.java583
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreVer12.java583
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreVer13.java583
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreVer14.java583
    }

//
        @Override
        public OFBsnVportL2Gre build() {
            Set<OFBsnVportL2GreFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            OFPort loopbackPortNo = this.loopbackPortNoSet ? this.loopbackPortNo : DEFAULT_LOOPBACK_PORT_NO;
            if(loopbackPortNo == null)
                throw new NullPointerException("Property loopbackPortNo must not be null");
            MacAddress localMac = this.localMacSet ? this.localMac : DEFAULT_LOCAL_MAC;
            if(localMac == null)
                throw new NullPointerException("Property localMac must not be null");
            MacAddress nhMac = this.nhMacSet ? this.nhMac : DEFAULT_NH_MAC;
            if(nhMac == null)
                throw new NullPointerException("Property nhMac must not be null");
            IPv4Address srcIp = this.srcIpSet ? this.srcIp : DEFAULT_SRC_IP;
            if(srcIp == null)
                throw new NullPointerException("Property srcIp must not be null");
            IPv4Address dstIp = this.dstIpSet ? this.dstIp : DEFAULT_DST_IP;
            if(dstIp == null)
                throw new NullPointerException("Property dstIp must not be null");
            short dscp = this.dscpSet ? this.dscp : DEFAULT_DSCP;
            short ttl = this.ttlSet ? this.ttl : DEFAULT_TTL;
            long vpn = this.vpnSet ? this.vpn : DEFAULT_VPN;
            long rateLimit = this.rateLimitSet ? this.rateLimit : DEFAULT_RATE_LIMIT;
            String ifName = this.ifNameSet ? this.ifName : DEFAULT_IF_NAME;
            if(ifName == null)
                throw new NullPointerException("Property ifName must not be null");


            return new OFBsnVportL2GreVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java753
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java753
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java797
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java768
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 14
            byte type = bb.readByte();
            if(type != (byte) 0xe)
                throw new OFParseError("Wrong type: Expected=OFType.FLOW_MOD(14), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            U64 cookie = U64.ofRaw(bb.readLong());
            U64 cookieMask = U64.ofRaw(bb.readLong());
            TableId tableId = TableId.readByte(bb);
            // fixed value property command == 0
            short command = bb.readByte();
            if(command != (short) 0x0)
                throw new OFParseError("Wrong command: Expected=OFFlowModCommand.ADD(0), got="+command);
            int idleTimeout = U16.f(bb.readShort());
            int hardTimeout = U16.f(bb.readShort());
            int priority = U16.f(bb.readShort());
            OFBufferId bufferId = OFBufferId.of(bb.readInt());
            OFPort outPort = OFPort.read4Bytes(bb);
            OFGroup outGroup = OFGroup.read4Bytes(bb);
            Set<OFFlowModFlags> flags = OFFlowModFlagsSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java753
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java753
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java793
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java768
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 14
            byte type = bb.readByte();
            if(type != (byte) 0xe)
                throw new OFParseError("Wrong type: Expected=OFType.FLOW_MOD(14), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            U64 cookie = U64.ofRaw(bb.readLong());
            U64 cookieMask = U64.ofRaw(bb.readLong());
            TableId tableId = TableId.readByte(bb);
            // fixed value property command == 4
            short command = bb.readByte();
            if(command != (short) 0x4)
                throw new OFParseError("Wrong command: Expected=OFFlowModCommand.DELETE_STRICT(4), got="+command);
            int idleTimeout = U16.f(bb.readShort());
            int hardTimeout = U16.f(bb.readShort());
            int priority = U16.f(bb.readShort());
            OFBufferId bufferId = OFBufferId.of(bb.readInt());
            OFPort outPort = OFPort.read4Bytes(bb);
            OFGroup outGroup = OFGroup.read4Bytes(bb);
            Set<OFFlowModFlags> flags = OFFlowModFlagsSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java753
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java753
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java792
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java768
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 14
            byte type = bb.readByte();
            if(type != (byte) 0xe)
                throw new OFParseError("Wrong type: Expected=OFType.FLOW_MOD(14), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            U64 cookie = U64.ofRaw(bb.readLong());
            U64 cookieMask = U64.ofRaw(bb.readLong());
            TableId tableId = TableId.readByte(bb);
            // fixed value property command == 3
            short command = bb.readByte();
            if(command != (short) 0x3)
                throw new OFParseError("Wrong command: Expected=OFFlowModCommand.DELETE(3), got="+command);
            int idleTimeout = U16.f(bb.readShort());
            int hardTimeout = U16.f(bb.readShort());
            int priority = U16.f(bb.readShort());
            OFBufferId bufferId = OFBufferId.of(bb.readInt());
            OFPort outPort = OFPort.read4Bytes(bb);
            OFGroup outGroup = OFGroup.read4Bytes(bb);
            Set<OFFlowModFlags> flags = OFFlowModFlagsSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java753
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java753
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java793
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java768
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 14
            byte type = bb.readByte();
            if(type != (byte) 0xe)
                throw new OFParseError("Wrong type: Expected=OFType.FLOW_MOD(14), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            U64 cookie = U64.ofRaw(bb.readLong());
            U64 cookieMask = U64.ofRaw(bb.readLong());
            TableId tableId = TableId.readByte(bb);
            // fixed value property command == 2
            short command = bb.readByte();
            if(command != (short) 0x2)
                throw new OFParseError("Wrong command: Expected=OFFlowModCommand.MODIFY_STRICT(2), got="+command);
            int idleTimeout = U16.f(bb.readShort());
            int hardTimeout = U16.f(bb.readShort());
            int priority = U16.f(bb.readShort());
            OFBufferId bufferId = OFBufferId.of(bb.readInt());
            OFPort outPort = OFPort.read4Bytes(bb);
            OFGroup outGroup = OFGroup.read4Bytes(bb);
            Set<OFFlowModFlags> flags = OFFlowModFlagsSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java753
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java753
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java791
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java768
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 14
            byte type = bb.readByte();
            if(type != (byte) 0xe)
                throw new OFParseError("Wrong type: Expected=OFType.FLOW_MOD(14), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            U64 cookie = U64.ofRaw(bb.readLong());
            U64 cookieMask = U64.ofRaw(bb.readLong());
            TableId tableId = TableId.readByte(bb);
            // fixed value property command == 1
            short command = bb.readByte();
            if(command != (short) 0x1)
                throw new OFParseError("Wrong command: Expected=OFFlowModCommand.MODIFY(1), got="+command);
            int idleTimeout = U16.f(bb.readShort());
            int hardTimeout = U16.f(bb.readShort());
            int priority = U16.f(bb.readShort());
            OFBufferId bufferId = OFBufferId.of(bb.readInt());
            OFPort outPort = OFPort.read4Bytes(bb);
            OFGroup outGroup = OFGroup.read4Bytes(bb);
            Set<OFFlowModFlags> flags = OFFlowModFlagsSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java243
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java243
                return new OFGroupStatsEntryVer11(
                    group,
                    refCount,
                    packetCount,
                    byteCount,
                    bucketStats
                );
        }

    }

    static class Builder implements OFGroupStatsEntry.Builder {
        // OF message fields
        private boolean groupSet;
        private OFGroup group;
        private boolean refCountSet;
        private long refCount;
        private boolean packetCountSet;
        private U64 packetCount;
        private boolean byteCountSet;
        private U64 byteCount;
        private boolean bucketStatsSet;
        private List<OFBucketCounter> bucketStats;

    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public long getRefCount() {
        return refCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setRefCount(long refCount) {
        this.refCount = refCount;
        this.refCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public List<OFBucketCounter> getBucketStats() {
        return bucketStats;
    }

    @Override
    public OFGroupStatsEntry.Builder setBucketStats(List<OFBucketCounter> bucketStats) {
        this.bucketStats = bucketStats;
        this.bucketStatsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsRequestVer13.java153
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsRequestVer14.java276
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setChecksumMask(U128 checksumMask) {
        this.checksumMask = checksumMask;
        this.checksumMaskSet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsRequestVer13.java276
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsRequestVer14.java153
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }

    @Override
    public OFBsnGentableEntryDescStatsRequest.Builder setChecksumMask(U128 checksumMask) {
        this.checksumMask = checksumMask;
        this.checksumMaskSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableEntryDescStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsRequestVer13.java153
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsRequestVer14.java276
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setChecksumMask(U128 checksumMask) {
        this.checksumMask = checksumMask;
        this.checksumMaskSet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsRequestVer13.java276
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsRequestVer14.java153
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }

    @Override
    public OFBsnGentableEntryStatsRequest.Builder setChecksumMask(U128 checksumMask) {
        this.checksumMask = checksumMask;
        this.checksumMaskSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableEntryStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsEntryVer13.java146
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsEntryVer13.java264
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFCalientPortDescStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFCalientPortDescStatsEntry.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFCalientPortDescStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFCalientPortDescStatsEntry.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public long getState() {
        return state;
    }

    @Override
    public OFCalientPortDescStatsEntry.Builder setState(long state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public List<OFCalientPortDescProp> getProperties() {
        return properties;
    }

    @Override
    public OFCalientPortDescStatsEntry.Builder setProperties(List<OFCalientPortDescProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFCalientPortDescStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java313
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java320
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java320
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java320
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowRemoved.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowRemoved.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowRemoved.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFFlowRemoved build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                short reason = this.reasonSet ? this.reason : parentMessage.reason;
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                long durationSec = this.durationSecSet ? this.durationSec : parentMessage.durationSec;
                long durationNsec = this.durationNsecSet ? this.durationNsec : parentMessage.durationNsec;
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsEntryVer11.java457
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsEntryVer12.java521
        private boolean configSet;
        private long config;
        private boolean maxEntriesSet;
        private long maxEntries;
        private boolean activeCountSet;
        private long activeCount;
        private boolean lookupCountSet;
        private U64 lookupCount;
        private boolean matchedCountSet;
        private U64 matchedCount;

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFTableStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public OFMatchBmap getMatch() {
        return match;
    }

    @Override
    public OFTableStatsEntry.Builder setMatch(OFMatchBmap match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public int getWildcards() {
        return wildcards;
    }

    @Override
    public OFTableStatsEntry.Builder setWildcards(int wildcards) {
        this.wildcards = wildcards;
        this.wildcardsSet = true;
        return this;
    }
    @Override
    public long getWriteActions() {
        return writeActions;
    }

    @Override
    public OFTableStatsEntry.Builder setWriteActions(long writeActions) {
        this.writeActions = writeActions;
        this.writeActionsSet = true;
        return this;
    }
    @Override
    public long getApplyActions() {
        return applyActions;
    }

    @Override
    public OFTableStatsEntry.Builder setApplyActions(long applyActions) {
        this.applyActions = applyActions;
        this.applyActionsSet = true;
        return this;
    }
    @Override
    public U64 getWriteSetfields()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFeaturesReplyVer13.java171
org/projectfloodlight/openflow/protocol/ver13/OFFeaturesReplyVer13.java325
org/projectfloodlight/openflow/protocol/ver14/OFFeaturesReplyVer14.java171
org/projectfloodlight/openflow/protocol/ver14/OFFeaturesReplyVer14.java325
    }

    @Override
    public OFType getType() {
        return OFType.FEATURES_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFeaturesReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public DatapathId getDatapathId() {
        return datapathId;
    }

    @Override
    public OFFeaturesReply.Builder setDatapathId(DatapathId datapathId) {
        this.datapathId = datapathId;
        this.datapathIdSet = true;
        return this;
    }
    @Override
    public long getNBuffers() {
        return nBuffers;
    }

    @Override
    public OFFeaturesReply.Builder setNBuffers(long nBuffers) {
        this.nBuffers = nBuffers;
        this.nBuffersSet = true;
        return this;
    }
    @Override
    public short getNTables() {
        return nTables;
    }

    @Override
    public OFFeaturesReply.Builder setNTables(short nTables) {
        this.nTables = nTables;
        this.nTablesSet = true;
        return this;
    }
    @Override
    public Set<OFCapabilities> getCapabilities() {
        return capabilities;
    }

    @Override
    public OFFeaturesReply.Builder setCapabilities(Set<OFCapabilities> capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public long getReserved() {
        return reserved;
    }

    @Override
    public OFFeaturesReply.Builder setReserved(long reserved) {
        this.reserved = reserved;
        this.reservedSet = true;
        return this;
    }
    @Override
    public List<OFPortDesc> getPorts()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property ports not supported in version 1.3");
FileLine
net/onrc/openvirtex/messages/ver10/OVXFlowAddVer10.java391
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteStrictVer10.java294
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteVer10.java294
net/onrc/openvirtex/messages/ver10/OVXFlowModifyStrictVer10.java294
net/onrc/openvirtex/messages/ver10/OVXFlowModifyVer10.java294
        flowMod = OVXFactoryInst.myOVXFactory.buildOVXFlowAdd(this.getXid(),this.getMatch(), this.getCookie(), this.getIdleTimeout(), this.getHardTimeout(),this.getPriority(), this.getBufferId(), this.getOutPort(), this.getFlags(), this.getActions());
        return flowMod;
    }

    public Map<String, Object> toMap() {
        final Map<String, Object> map = new LinkedHashMap<String, Object>();
        if (this.match != null) {
            map.put("match", OVXFactoryInst.myOVXFactory.buildOVXMatchV1(match).toMap());
        }
        LinkedList<Map<String, Object>> actions = new LinkedList<Map<String, Object>>();
        for (OFAction act : this.actions) {
            try {
                actions.add(OVXUtil.actionToMap(act));
            } catch (UnknownActionException e) {
                log.warn("Ignoring action {} because {}", act, e.getMessage());
            }
        }
        map.put("actionsList", actions);
        map.put("priority", String.valueOf(this.priority));
        return map;
    }

    public void setVirtualCookie() {
        long tmp = this.ovxCookie;
        this.ovxCookie = this.cookie.getValue();
        this.cookie = U64.of(tmp);
    }


}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportL2GreVer10.java754
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreVer11.java754
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreVer12.java754
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreVer13.java754
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreVer14.java754
        StringBuilder b = new StringBuilder("OFBsnVportL2GreVer10(");
        b.append("flags=").append(flags);
        b.append(", ");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("loopbackPortNo=").append(loopbackPortNo);
        b.append(", ");
        b.append("localMac=").append(localMac);
        b.append(", ");
        b.append("nhMac=").append(nhMac);
        b.append(", ");
        b.append("srcIp=").append(srcIp);
        b.append(", ");
        b.append("dstIp=").append(dstIp);
        b.append(", ");
        b.append("dscp=").append(dscp);
        b.append(", ");
        b.append("ttl=").append(ttl);
        b.append(", ");
        b.append("vpn=").append(vpn);
        b.append(", ");
        b.append("rateLimit=").append(rateLimit);
        b.append(", ");
        b.append("ifName=").append(ifName);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java740
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java740
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java740
        StringBuilder b = new StringBuilder("OFFlowRemovedVer12(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("cookie=").append(cookie);
        b.append(", ");
        b.append("priority=").append(priority);
        b.append(", ");
        b.append("reason=").append(reason);
        b.append(", ");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("durationSec=").append(durationSec);
        b.append(", ");
        b.append("durationNsec=").append(durationNsec);
        b.append(", ");
        b.append("idleTimeout=").append(idleTimeout);
        b.append(", ");
        b.append("hardTimeout=").append(hardTimeout);
        b.append(", ");
        b.append("packetCount=").append(packetCount);
        b.append(", ");
        b.append("byteCount=").append(byteCount);
        b.append(", ");
        b.append("match=").append(match);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsReplyVer12.java736
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsReplyVer13.java736
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsReplyVer14.java736
        StringBuilder b = new StringBuilder("OFGroupFeaturesStatsReplyVer12(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("flags=").append(flags);
        b.append(", ");
        b.append("types=").append(types);
        b.append(", ");
        b.append("capabilities=").append(capabilities);
        b.append(", ");
        b.append("maxGroupsAll=").append(maxGroupsAll);
        b.append(", ");
        b.append("maxGroupsSelect=").append(maxGroupsSelect);
        b.append(", ");
        b.append("maxGroupsIndirect=").append(maxGroupsIndirect);
        b.append(", ");
        b.append("maxGroupsFf=").append(maxGroupsFf);
        b.append(", ");
        b.append("actionsAll=").append(actionsAll);
        b.append(", ");
        b.append("actionsSelect=").append(actionsSelect);
        b.append(", ");
        b.append("actionsIndirect=").append(actionsIndirect);
        b.append(", ");
        b.append("actionsFf=").append(actionsFf);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java685
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java685
        StringBuilder b = new StringBuilder("OFBsnLacpStatsEntryVer13(");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("actorSysPriority=").append(actorSysPriority);
        b.append(", ");
        b.append("actorSysMac=").append(actorSysMac);
        b.append(", ");
        b.append("actorPortPriority=").append(actorPortPriority);
        b.append(", ");
        b.append("actorPortNum=").append(actorPortNum);
        b.append(", ");
        b.append("actorKey=").append(actorKey);
        b.append(", ");
        b.append("convergenceStatus=").append(convergenceStatus);
        b.append(", ");
        b.append("partnerSysPriority=").append(partnerSysPriority);
        b.append(", ");
        b.append("partnerSysMac=").append(partnerSysMac);
        b.append(", ");
        b.append("partnerPortPriority=").append(partnerPortPriority);
        b.append(", ");
        b.append("partnerPortNum=").append(partnerPortNum);
        b.append(", ");
        b.append("partnerKey=").append(partnerKey);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
net/onrc/openvirtex/messages/ver10/OVXPacketInVer10.java470
net/onrc/openvirtex/messages/ver10/OVXPacketOutVer10.java337
net/onrc/openvirtex/messages/ver13/OVXPacketInVer13.java534
net/onrc/openvirtex/messages/ver13/OVXPacketOutVer13.java319
            final int arpPos = packetDataBB.position();
            // opcode
            scratch = packetDataBB.getShort(arpPos + 6);
            ipDscp=(byte) (0xff & scratch);

            scratch = packetDataBB.getShort(arpPos + 2);
            // if ipv4 and addr len is 4
            if (scratch == 0x800 && packetDataBB.get(arpPos + 5) == 4) {
                // nw src
                ipv4Src = packetDataBB.getInt(arpPos + 14);
                // nw dst
                ipv4Dst = packetDataBB.getInt(arpPos + 24);
            } else {
                ipv4Src=0;
                ipv4Dst=0;
            }
            break;
        default:
            // Not ARP or IP. Wildcard NW_DST and NW_SRC
        	wildcards.add(OFFlowWildcards.NW_DST_ALL);
        	wildcards.add(OFFlowWildcards.NW_SRC_ALL);
        	wildcards.add(OFFlowWildcards.NW_PROTO);
        	wildcards.add(OFFlowWildcards.NW_TOS);
            ipDscp=(byte)0;
        	ipProtocol=(byte)0;
        	ipv4Src=0;
        	ipv4Dst=0;
            break;
        }
        
        short tcpSrc=0;
        short tcpDst=0;
        
        
        		
        switch (ipProtocol) {
        case 0x01:
            // icmp
            // type
            tcpSrc = U8.f(packetDataBB.get());
            // code
            tcpDst = U8.f(packetDataBB.get());
            break;
        case 0x06:
            // tcp
            // tcp src
            tcpSrc = packetDataBB.getShort();
            // tcp dest
            tcpDst = packetDataBB.getShort();
            break;
        case 0x11:
            // udp
            // udp src
            tcpSrc = packetDataBB.getShort();
            // udp dest
            tcpDst = packetDataBB.getShort();
            break;
        default:
            // Unknown network proto.
        	wildcards.add(OFFlowWildcards.TP_DST);
        	wildcards.add(OFFlowWildcards.TP_SRC);
        	
        	tcpDst = (short)0;
        	tcpSrc = (short)0;
        	break;
        }
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxRequestVer10.java144
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxRequestVer10.java258
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x21L;
    }

    @Override
    public long getTimeoutMs() {
        return timeoutMs;
    }

    @Override
    public OFBsnPduRxRequest.Builder setTimeoutMs(long timeoutMs) {
        this.timeoutMs = timeoutMs;
        this.timeoutMsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxRequest.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnPduRxRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxRequestVer10.java144
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxRequestVer10.java258
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduTxRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1fL;
    }

    @Override
    public long getTxIntervalMs() {
        return txIntervalMs;
    }

    @Override
    public OFBsnPduTxRequest.Builder setTxIntervalMs(long txIntervalMs) {
        this.txIntervalMs = txIntervalMs;
        this.txIntervalMsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduTxRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduTxRequest.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnPduTxRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnPduTxRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxRequestVer11.java144
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxRequestVer11.java258
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x21L;
    }

    @Override
    public long getTimeoutMs() {
        return timeoutMs;
    }

    @Override
    public OFBsnPduRxRequest.Builder setTimeoutMs(long timeoutMs) {
        this.timeoutMs = timeoutMs;
        this.timeoutMsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxRequest.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnPduRxRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxRequestVer11.java144
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxRequestVer11.java258
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduTxRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1fL;
    }

    @Override
    public long getTxIntervalMs() {
        return txIntervalMs;
    }

    @Override
    public OFBsnPduTxRequest.Builder setTxIntervalMs(long txIntervalMs) {
        this.txIntervalMs = txIntervalMs;
        this.txIntervalMsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduTxRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduTxRequest.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnPduTxRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnPduTxRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxRequestVer12.java144
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxRequestVer12.java258
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x21L;
    }

    @Override
    public long getTimeoutMs() {
        return timeoutMs;
    }

    @Override
    public OFBsnPduRxRequest.Builder setTimeoutMs(long timeoutMs) {
        this.timeoutMs = timeoutMs;
        this.timeoutMsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxRequest.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnPduRxRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxRequestVer12.java144
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxRequestVer12.java258
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduTxRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1fL;
    }

    @Override
    public long getTxIntervalMs() {
        return txIntervalMs;
    }

    @Override
    public OFBsnPduTxRequest.Builder setTxIntervalMs(long txIntervalMs) {
        this.txIntervalMs = txIntervalMs;
        this.txIntervalMsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduTxRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduTxRequest.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnPduTxRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnPduTxRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xdL;
    }

    @Override
    public List<OFBsnDebugCounterDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnDebugCounterDescStatsReply.Builder setEntries(List<OFBsnDebugCounterDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnDebugCounterDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFBsnDebugCounterDescStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFBsnDebugCounterDescStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xcL;
    }

    @Override
    public List<OFBsnDebugCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnDebugCounterStatsReply.Builder setEntries(List<OFBsnDebugCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnDebugCounterStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFBsnDebugCounterStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFBsnDebugCounterStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public List<OFBsnFlowChecksumBucketStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsReply.Builder setEntries(List<OFBsnFlowChecksumBucketStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnFlowChecksumBucketStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFBsnFlowChecksumBucketStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFBsnFlowChecksumBucketStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGenericStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGenericStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public List<OFBsnGenericStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGenericStatsReply.Builder setEntries(List<OFBsnGenericStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGenericStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFBsnGenericStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFBsnGenericStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableBucketStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableBucketStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public List<OFBsnGentableBucketStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableBucketStatsReply.Builder setEntries(List<OFBsnGentableBucketStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGentableBucketStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFBsnGentableBucketStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFBsnGentableBucketStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearReplyVer13.java225
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearReplyVer14.java225
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableClearReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x31L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableClearReply.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDeletedCount() {
        return deletedCount;
    }

    @Override
    public OFBsnGentableClearReply.Builder setDeletedCount(long deletedCount) {
        this.deletedCount = deletedCount;
        this.deletedCountSet = true;
        return this;
    }
    @Override
    public long getErrorCount() {
        return errorCount;
    }

    @Override
    public OFBsnGentableClearReply.Builder setErrorCount(long errorCount) {
        this.errorCount = errorCount;
        this.errorCountSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableClearReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.tableIdSet)
                throw new IllegalStateException("Property tableId doesn't have default value -- must be set");
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            long deletedCount = this.deletedCountSet ? this.deletedCount : DEFAULT_DELETED_COUNT;
            long errorCount = this.errorCountSet ? this.errorCount : DEFAULT_ERROR_COUNT;


            return new OFBsnGentableClearReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public List<OFBsnGentableDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableDescStatsReply.Builder setEntries(List<OFBsnGentableDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGentableDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFBsnGentableDescStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFBsnGentableDescStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public List<OFBsnGentableEntryDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableEntryDescStatsReply.Builder setEntries(List<OFBsnGentableEntryDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFBsnGentableEntryDescStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFBsnGentableEntryDescStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public List<OFBsnGentableEntryStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableEntryStatsReply.Builder setEntries(List<OFBsnGentableEntryStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFBsnGentableEntryStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFBsnGentableEntryStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x7L;
    }

    @Override
    public List<OFBsnGentableStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableStatsReply.Builder setEntries(List<OFBsnGentableStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGentableStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFBsnGentableStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFBsnGentableStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLacpStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnLacpStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }

    @Override
    public List<OFBsnLacpStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnLacpStatsReply.Builder setEntries(List<OFBsnLacpStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnLacpStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFBsnLacpStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFBsnLacpStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxRequestVer13.java144
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxRequestVer13.java258
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x21L;
    }

    @Override
    public long getTimeoutMs() {
        return timeoutMs;
    }

    @Override
    public OFBsnPduRxRequest.Builder setTimeoutMs(long timeoutMs) {
        this.timeoutMs = timeoutMs;
        this.timeoutMsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxRequest.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnPduRxRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxRequestVer13.java144
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxRequestVer13.java258
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduTxRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1fL;
    }

    @Override
    public long getTxIntervalMs() {
        return txIntervalMs;
    }

    @Override
    public OFBsnPduTxRequest.Builder setTxIntervalMs(long txIntervalMs) {
        this.txIntervalMs = txIntervalMs;
        this.txIntervalMsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduTxRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduTxRequest.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnPduTxRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnPduTxRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPortCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnPortCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x8L;
    }

    @Override
    public List<OFBsnPortCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnPortCounterStatsReply.Builder setEntries(List<OFBsnPortCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnPortCounterStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFBsnPortCounterStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFBsnPortCounterStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSwitchPipelineStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnSwitchPipelineStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x6L;
    }

    @Override
    public List<OFBsnSwitchPipelineStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnSwitchPipelineStatsReply.Builder setEntries(List<OFBsnSwitchPipelineStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnSwitchPipelineStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFBsnSwitchPipelineStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFBsnSwitchPipelineStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTableChecksumStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnTableChecksumStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }

    @Override
    public List<OFBsnTableChecksumStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnTableChecksumStatsReply.Builder setEntries(List<OFBsnTableChecksumStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnTableChecksumStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFBsnTableChecksumStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFBsnTableChecksumStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVlanCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVlanCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x9L;
    }

    @Override
    public List<OFBsnVlanCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnVlanCounterStatsReply.Builder setEntries(List<OFBsnVlanCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnVlanCounterStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFBsnVlanCounterStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFBsnVlanCounterStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVrfCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVrfCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public List<OFBsnVrfCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnVrfCounterStatsReply.Builder setEntries(List<OFBsnVrfCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnVrfCounterStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFBsnVrfCounterStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFBsnVrfCounterStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxRequestVer14.java144
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxRequestVer14.java258
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x21L;
    }

    @Override
    public long getTimeoutMs() {
        return timeoutMs;
    }

    @Override
    public OFBsnPduRxRequest.Builder setTimeoutMs(long timeoutMs) {
        this.timeoutMs = timeoutMs;
        this.timeoutMsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxRequest.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnPduRxRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxRequestVer14.java144
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxRequestVer14.java258
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduTxRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1fL;
    }

    @Override
    public long getTxIntervalMs() {
        return txIntervalMs;
    }

    @Override
    public OFBsnPduTxRequest.Builder setTxIntervalMs(long txIntervalMs) {
        this.txIntervalMs = txIntervalMs;
        this.txIntervalMsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduTxRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduTxRequest.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnPduTxRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnPduTxRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxReplyVer10.java230
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxReplyVer11.java230
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxReplyVer12.java230
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxReplyVer13.java230
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxReplyVer14.java230
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x22L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnPduRxReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxReply.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
//
        @Override
        public OFBsnPduRxReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            long status = this.statusSet ? this.status : DEFAULT_STATUS;
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            short slotNum = this.slotNumSet ? this.slotNum : DEFAULT_SLOT_NUM;


            return new OFBsnPduRxReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxReplyVer10.java230
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxReplyVer11.java230
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxReplyVer12.java230
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxReplyVer13.java230
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxReplyVer14.java230
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduTxReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x20L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnPduTxReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduTxReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduTxReply.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
//
        @Override
        public OFBsnPduTxReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            long status = this.statusSet ? this.status : DEFAULT_STATUS;
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            short slotNum = this.slotNumSet ? this.slotNum : DEFAULT_SLOT_NUM;


            return new OFBsnPduTxReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java427
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java427
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java458
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java434
    }


        @Override
        public OFFlowAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                U64 cookieMask = this.cookieMaskSet ? this.cookieMask : parentMessage.cookieMask;
                if(cookieMask == null)
                    throw new NullPointerException("Property cookieMask must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                OFBufferId bufferId = this.bufferIdSet ? this.bufferId : parentMessage.bufferId;
                if(bufferId == null)
                    throw new NullPointerException("Property bufferId must not be null");
                OFPort outPort = this.outPortSet ? this.outPort : parentMessage.outPort;
                if(outPort == null)
                    throw new NullPointerException("Property outPort must not be null");
                OFGroup outGroup = this.outGroupSet ? this.outGroup : parentMessage.outGroup;
                if(outGroup == null)
                    throw new NullPointerException("Property outGroup must not be null");
                Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java427
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java427
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java454
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java434
    }


        @Override
        public OFFlowDeleteStrict build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                U64 cookieMask = this.cookieMaskSet ? this.cookieMask : parentMessage.cookieMask;
                if(cookieMask == null)
                    throw new NullPointerException("Property cookieMask must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                OFBufferId bufferId = this.bufferIdSet ? this.bufferId : parentMessage.bufferId;
                if(bufferId == null)
                    throw new NullPointerException("Property bufferId must not be null");
                OFPort outPort = this.outPortSet ? this.outPort : parentMessage.outPort;
                if(outPort == null)
                    throw new NullPointerException("Property outPort must not be null");
                OFGroup outGroup = this.outGroupSet ? this.outGroup : parentMessage.outGroup;
                if(outGroup == null)
                    throw new NullPointerException("Property outGroup must not be null");
                Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java427
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java427
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java453
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java434
    }


        @Override
        public OFFlowDelete build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                U64 cookieMask = this.cookieMaskSet ? this.cookieMask : parentMessage.cookieMask;
                if(cookieMask == null)
                    throw new NullPointerException("Property cookieMask must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                OFBufferId bufferId = this.bufferIdSet ? this.bufferId : parentMessage.bufferId;
                if(bufferId == null)
                    throw new NullPointerException("Property bufferId must not be null");
                OFPort outPort = this.outPortSet ? this.outPort : parentMessage.outPort;
                if(outPort == null)
                    throw new NullPointerException("Property outPort must not be null");
                OFGroup outGroup = this.outGroupSet ? this.outGroup : parentMessage.outGroup;
                if(outGroup == null)
                    throw new NullPointerException("Property outGroup must not be null");
                Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java427
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java427
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java454
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java434
    }


        @Override
        public OFFlowModifyStrict build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                U64 cookieMask = this.cookieMaskSet ? this.cookieMask : parentMessage.cookieMask;
                if(cookieMask == null)
                    throw new NullPointerException("Property cookieMask must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                OFBufferId bufferId = this.bufferIdSet ? this.bufferId : parentMessage.bufferId;
                if(bufferId == null)
                    throw new NullPointerException("Property bufferId must not be null");
                OFPort outPort = this.outPortSet ? this.outPort : parentMessage.outPort;
                if(outPort == null)
                    throw new NullPointerException("Property outPort must not be null");
                OFGroup outGroup = this.outGroupSet ? this.outGroup : parentMessage.outGroup;
                if(outGroup == null)
                    throw new NullPointerException("Property outGroup must not be null");
                Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java427
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java427
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java452
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java434
    }


        @Override
        public OFFlowModify build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                U64 cookieMask = this.cookieMaskSet ? this.cookieMask : parentMessage.cookieMask;
                if(cookieMask == null)
                    throw new NullPointerException("Property cookieMask must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                OFBufferId bufferId = this.bufferIdSet ? this.bufferId : parentMessage.bufferId;
                if(bufferId == null)
                    throw new NullPointerException("Property bufferId must not be null");
                OFPort outPort = this.outPortSet ? this.outPort : parentMessage.outPort;
                if(outPort == null)
                    throw new NullPointerException("Property outPort must not be null");
                OFGroup outGroup = this.outGroupSet ? this.outGroup : parentMessage.outGroup;
                if(outGroup == null)
                    throw new NullPointerException("Property outGroup must not be null");
                Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTypeSerializerVer11.java57
org/projectfloodlight/openflow/protocol/ver12/OFTypeSerializerVer12.java59
org/projectfloodlight/openflow/protocol/ver13/OFTypeSerializerVer13.java63
org/projectfloodlight/openflow/protocol/ver14/OFTypeSerializerVer14.java66
    public static OFType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFType e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFType e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFType ofWireValue(byte val) {
        switch(val) {
            case HELLO_VAL:
                return OFType.HELLO;
            case ERROR_VAL:
                return OFType.ERROR;
            case ECHO_REQUEST_VAL:
                return OFType.ECHO_REQUEST;
            case ECHO_REPLY_VAL:
                return OFType.ECHO_REPLY;
            case EXPERIMENTER_VAL:
                return OFType.EXPERIMENTER;
            case FEATURES_REQUEST_VAL:
                return OFType.FEATURES_REQUEST;
            case FEATURES_REPLY_VAL:
                return OFType.FEATURES_REPLY;
            case GET_CONFIG_REQUEST_VAL:
                return OFType.GET_CONFIG_REQUEST;
            case GET_CONFIG_REPLY_VAL:
                return OFType.GET_CONFIG_REPLY;
            case SET_CONFIG_VAL:
                return OFType.SET_CONFIG;
            case PACKET_IN_VAL:
                return OFType.PACKET_IN;
            case FLOW_REMOVED_VAL:
                return OFType.FLOW_REMOVED;
            case PORT_STATUS_VAL:
                return OFType.PORT_STATUS;
            case PACKET_OUT_VAL:
                return OFType.PACKET_OUT;
            case FLOW_MOD_VAL:
                return OFType.FLOW_MOD;
            case GROUP_MOD_VAL:
                return OFType.GROUP_MOD;
            case PORT_MOD_VAL:
                return OFType.PORT_MOD;
            case TABLE_MOD_VAL:
                return OFType.TABLE_MOD;
            case STATS_REQUEST_VAL:
                return OFType.STATS_REQUEST;
            case STATS_REPLY_VAL:
                return OFType.STATS_REPLY;
            case BARRIER_REQUEST_VAL:
                return OFType.BARRIER_REQUEST;
            case BARRIER_REPLY_VAL:
                return OFType.BARRIER_REPLY;
            case QUEUE_GET_CONFIG_REQUEST_VAL:
FileLine
net/onrc/openvirtex/api/service/handlers/tenant/StartOVXSwitch.java62
net/onrc/openvirtex/api/service/handlers/tenant/StopOVXSwitch.java61
            this.log.info("Start virtual switch {} in virtual network {}",
                    dpid, virtualNetwork.getTenantId());
            OVXSwitch ovxSwitch = virtualNetwork.getSwitch(dpid.longValue());
            Map<String, Object> reply = new HashMap<String, Object>(
                    ovxSwitch.getDBObject());
            reply.put(TenantHandler.TENANT, ovxSwitch.getTenantId());
            resp = new JSONRPC2Response(reply, 0);

        } catch (final MissingRequiredField e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Unable to create virtual network : "
                            + e.getMessage()), 0);
        } catch (final InvalidDPIDException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Invalid DPID : " + e.getMessage()), 0);
        } catch (final InvalidTenantIdException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Invalid tenant id : " + e.getMessage()), 0);
        } catch (final NetworkMappingException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": " + e.getMessage()), 0);
        }
        return resp;

    }

    @Override
    public JSONRPC2ParamsType getType() {
        return JSONRPC2ParamsType.OBJECT;
    }
}
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFExperimenterErrorMsgVer12.java128
org/projectfloodlight/openflow/protocol/ver13/OFExperimenterErrorMsgVer13.java128
org/projectfloodlight/openflow/protocol/ver14/OFExperimenterErrorMsgVer14.java128
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.EXPERIMENTER;
    }

    @Override
    public int getSubtype() {
        return subtype;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setSubtype(int subtype) {
        this.subtype = subtype;
        this.subtypeSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return experimenter;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setExperimenter(long experimenter) {
        this.experimenter = experimenter;
        this.experimenterSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFExperimenterErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                int subtype = this.subtypeSet ? this.subtype : parentMessage.subtype;
                long experimenter = this.experimenterSet ? this.experimenter : parentMessage.experimenter;
                OFErrorCauseData data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFExperimenterErrorMsgVer12(
FileLine
net/onrc/openvirtex/messages/ver13/OVXFlowAddVer13.java167
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteStrictVer13.java108
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteVer13.java110
net/onrc/openvirtex/messages/ver13/OVXFlowModifyStrictVer13.java109
net/onrc/openvirtex/messages/ver13/OVXFlowModifyVer13.java113
net/onrc/openvirtex/messages/ver13/OVXPacketOutVer13.java147
        for (OFAction act: this.getActions()) {
            try {
                if (act.getType().equals(OFActionType.SET_FIELD)) {
                    OFOxm<?> oxmField = ((OFActionSetField)act).getField();
                    act  = OVXFactoryInst.myOVXFactory.buildOVXActionSetField(oxmField);
                } else if (act.getType().equals(OFActionType.OUTPUT)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionOutputV3(((OFActionOutput)act).getPort(),((OFActionOutput)act).getMaxLen());
                } else if (act.getType().equals(OFActionType.SET_QUEUE)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionSetQueue(((OFActionSetQueue)act).getQueueId());
                } else if (act.getType().equals(OFActionType.PUSH_VLAN)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionPushVlan(((OFActionPushVlan)act).getEthertype());
                } else if (act.getType().equals(OFActionType.POP_VLAN)) {
                    act=OVXFactoryInst.myOVXFactory.buildOVXActionPopVlan();
                }

                ((VirtualizableActionV3) act).virtualize(sw,
                        this.approvedActions, ovxMatch);
            } catch (final ActionVirtualizationDenied e) {
                this.log.warn("Action {} could not be virtualized; error: {}",
                        act, e.getMessage());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportQInQVer10.java136
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportQInQVer11.java136
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportQInQVer12.java136
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportQInQVer13.java136
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportQInQVer14.java136
        BuilderWithParent(OFBsnVportQInQVer10 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public int getType() {
        return 0x0;
    }

    @Override
    public long getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnVportQInQ.Builder setPortNo(long portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getIngressTpid() {
        return ingressTpid;
    }

    @Override
    public OFBsnVportQInQ.Builder setIngressTpid(int ingressTpid) {
        this.ingressTpid = ingressTpid;
        this.ingressTpidSet = true;
        return this;
    }
    @Override
    public int getIngressVlanId() {
        return ingressVlanId;
    }

    @Override
    public OFBsnVportQInQ.Builder setIngressVlanId(int ingressVlanId) {
        this.ingressVlanId = ingressVlanId;
        this.ingressVlanIdSet = true;
        return this;
    }
    @Override
    public int getEgressTpid() {
        return egressTpid;
    }

    @Override
    public OFBsnVportQInQ.Builder setEgressTpid(int egressTpid) {
        this.egressTpid = egressTpid;
        this.egressTpidSet = true;
        return this;
    }
    @Override
    public int getEgressVlanId() {
        return egressVlanId;
    }

    @Override
    public OFBsnVportQInQ.Builder setEgressVlanId(int egressVlanId) {
        this.egressVlanId = egressVlanId;
        this.egressVlanIdSet = true;
        return this;
    }
    @Override
    public String getIfName() {
        return ifName;
    }

    @Override
    public OFBsnVportQInQ.Builder setIfName(String ifName) {
        this.ifName = ifName;
        this.ifNameSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortModVer10.java152
org/projectfloodlight/openflow/protocol/ver10/OFPortModVer10.java280
org/projectfloodlight/openflow/protocol/ver11/OFPortModVer11.java152
org/projectfloodlight/openflow/protocol/ver11/OFPortModVer11.java280
org/projectfloodlight/openflow/protocol/ver12/OFPortModVer12.java152
org/projectfloodlight/openflow/protocol/ver12/OFPortModVer12.java280
org/projectfloodlight/openflow/protocol/ver13/OFPortModVer13.java152
org/projectfloodlight/openflow/protocol/ver13/OFPortModVer13.java280
    }

    @Override
    public OFType getType() {
        return OFType.PORT_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortMod.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortMod.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortMod.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFPortMod.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public long getMask() {
        return mask;
    }

    @Override
    public OFPortMod.Builder setMask(long mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public long getAdvertise() {
        return advertise;
    }

    @Override
    public OFPortMod.Builder setAdvertise(long advertise) {
        this.advertise = advertise;
        this.advertiseSet = true;
        return this;
    }
    @Override
    public List<OFPortModProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.0");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java623
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java623
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java623
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 11
            byte type = bb.readByte();
            if(type != (byte) 0xb)
                throw new OFParseError("Wrong type: Expected=OFType.FLOW_REMOVED(11), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            U64 cookie = U64.ofRaw(bb.readLong());
            int priority = U16.f(bb.readShort());
            short reason = U8.f(bb.readByte());
            TableId tableId = TableId.readByte(bb);
            long durationSec = U32.f(bb.readInt());
            long durationNsec = U32.f(bb.readInt());
            int idleTimeout = U16.f(bb.readShort());
            int hardTimeout = U16.f(bb.readShort());
            U64 packetCount = U64.ofRaw(bb.readLong());
            U64 byteCount = U64.ofRaw(bb.readLong());
            Match match = ChannelUtilsVer12.readOFMatch(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleVer13.java146
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleVer13.java262
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdle.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x28L;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFBsnFlowIdle.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBsnFlowIdle.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnFlowIdle.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFBsnFlowIdle.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFBsnFlowIdle build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryAddVer13.java149
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryAddVer14.java267
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2eL;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getValue() {
        return value;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setValue(List<OFBsnTlv> value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryAddVer13.java267
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryAddVer14.java149
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2eL;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getValue() {
        return value;
    }

    @Override
    public OFBsnGentableEntryAdd.Builder setValue(List<OFBsnTlv> value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableEntryAdd build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpRequestVer13.java480
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpRequestVer14.java480
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 38)
                throw new OFParseError("Wrong length: Expected=38(38), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x29L
            int subtype = bb.readInt();
            if(subtype != 0x29)
                throw new OFParseError("Wrong subtype: Expected=0x29L(0x29L), got="+subtype);
            short enabled = U8.f(bb.readByte());
            // pad: 3 bytes
            bb.skipBytes(3);
            OFPort portNo = OFPort.read4Bytes(bb);
            int actorSysPriority = U16.f(bb.readShort());
            MacAddress actorSysMac = MacAddress.read6Bytes(bb);
            int actorPortPriority = U16.f(bb.readShort());
            int actorPortNum = U16.f(bb.readShort());
            int actorKey = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpRequestVer13.java625
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpRequestVer14.java625
        OFBsnSetLacpRequestVer13 other = (OFBsnSetLacpRequestVer13) obj;

        if( xid != other.xid)
            return false;
        if( enabled != other.enabled)
            return false;
        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if( actorSysPriority != other.actorSysPriority)
            return false;
        if (actorSysMac == null) {
            if (other.actorSysMac != null)
                return false;
        } else if (!actorSysMac.equals(other.actorSysMac))
            return false;
        if( actorPortPriority != other.actorPortPriority)
            return false;
        if( actorPortNum != other.actorPortNum)
            return false;
        if( actorKey != other.actorKey)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + enabled;
        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime * result + actorSysPriority;
        result = prime * result + ((actorSysMac == null) ? 0 : actorSysMac.hashCode());
        result = prime * result + actorPortPriority;
        result = prime * result + actorPortNum;
        result = prime * result + actorKey;
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleVer14.java146
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleVer14.java262
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdle.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x28L;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFBsnFlowIdle.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBsnFlowIdle.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnFlowIdle.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFBsnFlowIdle.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFBsnFlowIdle build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
net/onrc/openvirtex/messages/ver10/OVXPortStatusVer10.java160
net/onrc/openvirtex/messages/ver13/OVXPortStatusVer13.java152
                && ((OFPortStateSerializerVer10.toWireValue(plink.getSrcPort().getState()) & OFPortStateSerializerVer10.LINK_DOWN_VAL) == 0)) {
            OVXNetwork net = map.getVirtualNetwork(tid);
            for (OVXLink link : net.getLinks()) {
                link.tryRevert(plink);
            }
            for (OVXSwitch ovxSw : net.getSwitches()) {
                if (ovxSw instanceof OVXBigSwitch) {
                    for (Map<OVXPort, SwitchRoute> routeMap : ((OVXBigSwitch) ovxSw)
                            .getRouteMap().values()) {
                        for (SwitchRoute route : routeMap.values()) {
                            route.tryRevert(plink);
                        }
                    }
                }
            }
        }

        if (map.hasOVXLinks(plink, tid)) {
            List<OVXLink> vlinks = map.getVirtualLinks(plink, tid);
            for (OVXLink vlink : vlinks) {
                if (isReason(OFPortReason.DELETE)) {
                    /* couldn't recover, remove link */
                    if (!vlink.tryRecovery(plink)) {
                        OVXPort vport = vlink.getSrcPort();
                        vport.unMapHost();
                        vport.handlePortDelete(this);
                        sw.removePort(plink.getSrcPort());
                    }
                }
                if (isReason(OFPortReason.MODIFY)) {
                    if (isState(OFPortState.LINK_DOWN)) {
                        /* couldn't recover, remove link */
                        if (!vlink.tryRecovery(plink)) {
                            vlink.getSrcPort().handlePortDisable(this);
                        }
                    } else if (!isState(OFPortState.LINK_DOWN)
                            && ((OFPortStateSerializerVer10.toWireValue(plink.getSrcPort().getState()) & OFPortStateSerializerVer10.LINK_DOWN_VAL) == 0)) {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortModVer10.java515
org/projectfloodlight/openflow/protocol/ver11/OFPortModVer11.java525
org/projectfloodlight/openflow/protocol/ver12/OFPortModVer12.java525
org/projectfloodlight/openflow/protocol/ver13/OFPortModVer13.java525
        OFPortModVer10 other = (OFPortModVer10) obj;

        if( xid != other.xid)
            return false;
        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if (hwAddr == null) {
            if (other.hwAddr != null)
                return false;
        } else if (!hwAddr.equals(other.hwAddr))
            return false;
        if( config != other.config)
            return false;
        if( mask != other.mask)
            return false;
        if( advertise != other.advertise)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime * result + ((hwAddr == null) ? 0 : hwAddr.hashCode());
        result = prime *  (int) (config ^ (config >>> 32));
        result = prime *  (int) (mask ^ (mask >>> 32));
        result = prime *  (int) (advertise ^ (advertise >>> 32));
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFeaturesReplyVer11.java172
org/projectfloodlight/openflow/protocol/ver11/OFFeaturesReplyVer11.java326
org/projectfloodlight/openflow/protocol/ver12/OFFeaturesReplyVer12.java172
org/projectfloodlight/openflow/protocol/ver12/OFFeaturesReplyVer12.java326
org/projectfloodlight/openflow/protocol/ver13/OFFeaturesReplyVer13.java171
org/projectfloodlight/openflow/protocol/ver13/OFFeaturesReplyVer13.java325
org/projectfloodlight/openflow/protocol/ver14/OFFeaturesReplyVer14.java171
org/projectfloodlight/openflow/protocol/ver14/OFFeaturesReplyVer14.java325
    }

    @Override
    public OFType getType() {
        return OFType.FEATURES_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFeaturesReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public DatapathId getDatapathId() {
        return datapathId;
    }

    @Override
    public OFFeaturesReply.Builder setDatapathId(DatapathId datapathId) {
        this.datapathId = datapathId;
        this.datapathIdSet = true;
        return this;
    }
    @Override
    public long getNBuffers() {
        return nBuffers;
    }

    @Override
    public OFFeaturesReply.Builder setNBuffers(long nBuffers) {
        this.nBuffers = nBuffers;
        this.nBuffersSet = true;
        return this;
    }
    @Override
    public short getNTables() {
        return nTables;
    }

    @Override
    public OFFeaturesReply.Builder setNTables(short nTables) {
        this.nTables = nTables;
        this.nTablesSet = true;
        return this;
    }
    @Override
    public Set<OFCapabilities> getCapabilities() {
        return capabilities;
    }

    @Override
    public OFFeaturesReply.Builder setCapabilities(Set<OFCapabilities> capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public long getReserved() {
        return reserved;
    }

    @Override
    public OFFeaturesReply.Builder setReserved(long reserved) {
        this.reserved = reserved;
        this.reservedSet = true;
        return this;
    }
    @Override
    public List<OFPortDesc> getPorts() {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsEntryVer10.java256
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsEntryVer11.java256
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsEntryVer12.java256
                return new OFQueueStatsEntryVer10(
                    portNo,
                    queueId,
                    txBytes,
                    txPackets,
                    txErrors
                );
        }

    }

    static class Builder implements OFQueueStatsEntry.Builder {
        // OF message fields
        private boolean portNoSet;
        private OFPort portNo;
        private boolean queueIdSet;
        private long queueId;
        private boolean txBytesSet;
        private U64 txBytes;
        private boolean txPacketsSet;
        private U64 txPackets;
        private boolean txErrorsSet;
        private U64 txErrors;

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsEntry.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.0");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java431
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java431
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java462
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java438
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java438
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java438
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java438
        public OFFlowAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                U64 cookieMask = this.cookieMaskSet ? this.cookieMask : parentMessage.cookieMask;
                if(cookieMask == null)
                    throw new NullPointerException("Property cookieMask must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                OFBufferId bufferId = this.bufferIdSet ? this.bufferId : parentMessage.bufferId;
                if(bufferId == null)
                    throw new NullPointerException("Property bufferId must not be null");
                OFPort outPort = this.outPortSet ? this.outPort : parentMessage.outPort;
                if(outPort == null)
                    throw new NullPointerException("Property outPort must not be null");
                OFGroup outGroup = this.outGroupSet ? this.outGroup : parentMessage.outGroup;
                if(outGroup == null)
                    throw new NullPointerException("Property outGroup must not be null");
                Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java431
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java431
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java431
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java431
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java431
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java431
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java431
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java431
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java458
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java457
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java458
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java456
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java438
        public OFFlowDeleteStrict build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                U64 cookieMask = this.cookieMaskSet ? this.cookieMask : parentMessage.cookieMask;
                if(cookieMask == null)
                    throw new NullPointerException("Property cookieMask must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                OFBufferId bufferId = this.bufferIdSet ? this.bufferId : parentMessage.bufferId;
                if(bufferId == null)
                    throw new NullPointerException("Property bufferId must not be null");
                OFPort outPort = this.outPortSet ? this.outPort : parentMessage.outPort;
                if(outPort == null)
                    throw new NullPointerException("Property outPort must not be null");
                OFGroup outGroup = this.outGroupSet ? this.outGroup : parentMessage.outGroup;
                if(outGroup == null)
                    throw new NullPointerException("Property outGroup must not be null");
                Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java777
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java800
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java800
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java800
        if( idleTimeout != other.idleTimeout)
            return false;
        if (packetCount == null) {
            if (other.packetCount != null)
                return false;
        } else if (!packetCount.equals(other.packetCount))
            return false;
        if (byteCount == null) {
            if (other.byteCount != null)
                return false;
        } else if (!byteCount.equals(other.byteCount))
            return false;
        if (match == null) {
            if (other.match != null)
                return false;
        } else if (!match.equals(other.match))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((cookie == null) ? 0 : cookie.hashCode());
        result = prime * result + priority;
        result = prime * result + reason;
        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime *  (int) (durationSec ^ (durationSec >>> 32));
        result = prime *  (int) (durationNsec ^ (durationNsec >>> 32));
        result = prime * result + idleTimeout;
        result = prime * result + ((packetCount == null) ? 0 : packetCount.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xdL;
    }

    @Override
    public List<OFBsnDebugCounterDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnDebugCounterDescStatsReply.Builder setEntries(List<OFBsnDebugCounterDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnDebugCounterDescStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFBsnDebugCounterDescStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFBsnDebugCounterDescStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xcL;
    }

    @Override
    public List<OFBsnDebugCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnDebugCounterStatsReply.Builder setEntries(List<OFBsnDebugCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnDebugCounterStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFBsnDebugCounterStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFBsnDebugCounterStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public List<OFBsnFlowChecksumBucketStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsReply.Builder setEntries(List<OFBsnFlowChecksumBucketStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnFlowChecksumBucketStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFBsnFlowChecksumBucketStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFBsnFlowChecksumBucketStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGenericStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGenericStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public List<OFBsnGenericStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGenericStatsReply.Builder setEntries(List<OFBsnGenericStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnGenericStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFBsnGenericStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFBsnGenericStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableBucketStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableBucketStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public List<OFBsnGentableBucketStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableBucketStatsReply.Builder setEntries(List<OFBsnGentableBucketStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableBucketStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFBsnGentableBucketStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFBsnGentableBucketStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public List<OFBsnGentableDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableDescStatsReply.Builder setEntries(List<OFBsnGentableDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableDescStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFBsnGentableDescStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFBsnGentableDescStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public List<OFBsnGentableEntryDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableEntryDescStatsReply.Builder setEntries(List<OFBsnGentableEntryDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableEntryDescStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFBsnGentableEntryDescStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFBsnGentableEntryDescStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public List<OFBsnGentableEntryStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableEntryStatsReply.Builder setEntries(List<OFBsnGentableEntryStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableEntryStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFBsnGentableEntryStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFBsnGentableEntryStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x7L;
    }

    @Override
    public List<OFBsnGentableStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableStatsReply.Builder setEntries(List<OFBsnGentableStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFBsnGentableStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFBsnGentableStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLacpStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnLacpStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }

    @Override
    public List<OFBsnLacpStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnLacpStatsReply.Builder setEntries(List<OFBsnLacpStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnLacpStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFBsnLacpStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFBsnLacpStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPortCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnPortCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x8L;
    }

    @Override
    public List<OFBsnPortCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnPortCounterStatsReply.Builder setEntries(List<OFBsnPortCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnPortCounterStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFBsnPortCounterStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFBsnPortCounterStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSwitchPipelineStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnSwitchPipelineStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x6L;
    }

    @Override
    public List<OFBsnSwitchPipelineStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnSwitchPipelineStatsReply.Builder setEntries(List<OFBsnSwitchPipelineStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnSwitchPipelineStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFBsnSwitchPipelineStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFBsnSwitchPipelineStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTableChecksumStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnTableChecksumStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }

    @Override
    public List<OFBsnTableChecksumStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnTableChecksumStatsReply.Builder setEntries(List<OFBsnTableChecksumStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnTableChecksumStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFBsnTableChecksumStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFBsnTableChecksumStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVlanCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVlanCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x9L;
    }

    @Override
    public List<OFBsnVlanCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnVlanCounterStatsReply.Builder setEntries(List<OFBsnVlanCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnVlanCounterStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFBsnVlanCounterStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFBsnVlanCounterStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVrfCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVrfCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public List<OFBsnVrfCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnVrfCounterStatsReply.Builder setEntries(List<OFBsnVrfCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnVrfCounterStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFBsnVrfCounterStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFBsnVrfCounterStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFAggregateStatsReplyVer10.java142
org/projectfloodlight/openflow/protocol/ver10/OFAggregateStatsReplyVer10.java253
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAggregateStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFAggregateStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public long getFlowCount() {
        return flowCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setFlowCount(long flowCount) {
        this.flowCount = flowCount;
        this.flowCountSet = true;
        return this;
    }


        @Override
        public OFAggregateStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFAggregateStatsReplyVer10.java478
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsReplyVer11.java483
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsReplyVer12.java483
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsReplyVer13.java483
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsReplyVer14.java483
        OFAggregateStatsReplyVer10 other = (OFAggregateStatsReplyVer10) obj;

        if( xid != other.xid)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if (packetCount == null) {
            if (other.packetCount != null)
                return false;
        } else if (!packetCount.equals(other.packetCount))
            return false;
        if (byteCount == null) {
            if (other.byteCount != null)
                return false;
        } else if (!byteCount.equals(other.byteCount))
            return false;
        if( flowCount != other.flowCount)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((packetCount == null) ? 0 : packetCount.hashCode());
        result = prime * result + ((byteCount == null) ? 0 : byteCount.hashCode());
        result = prime *  (int) (flowCount ^ (flowCount >>> 32));
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPacketOutVer10.java474
org/projectfloodlight/openflow/protocol/ver11/OFPacketOutVer11.java479
org/projectfloodlight/openflow/protocol/ver12/OFPacketOutVer12.java479
org/projectfloodlight/openflow/protocol/ver13/OFPacketOutVer13.java479
org/projectfloodlight/openflow/protocol/ver14/OFPacketOutVer14.java479
        OFPacketOutVer10 other = (OFPacketOutVer10) obj;

        if( xid != other.xid)
            return false;
        if (bufferId == null) {
            if (other.bufferId != null)
                return false;
        } else if (!bufferId.equals(other.bufferId))
            return false;
        if (inPort == null) {
            if (other.inPort != null)
                return false;
        } else if (!inPort.equals(other.inPort))
            return false;
        if (actions == null) {
            if (other.actions != null)
                return false;
        } else if (!actions.equals(other.actions))
            return false;
        if (!Arrays.equals(data, other.data))
                return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((bufferId == null) ? 0 : bufferId.hashCode());
        result = prime * result + ((inPort == null) ? 0 : inPort.hashCode());
        result = prime * result + ((actions == null) ? 0 : actions.hashCode());
        result = prime * result + Arrays.hashCode(data);
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsReplyVer11.java142
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsReplyVer11.java253
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAggregateStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFAggregateStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public long getFlowCount() {
        return flowCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setFlowCount(long flowCount) {
        this.flowCount = flowCount;
        this.flowCountSet = true;
        return this;
    }


        @Override
        public OFAggregateStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsReplyVer12.java142
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsReplyVer12.java253
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAggregateStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFAggregateStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public long getFlowCount() {
        return flowCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setFlowCount(long flowCount) {
        this.flowCount = flowCount;
        this.flowCountSet = true;
        return this;
    }


        @Override
        public OFAggregateStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsReplyVer13.java142
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsReplyVer13.java253
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAggregateStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFAggregateStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public long getFlowCount() {
        return flowCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setFlowCount(long flowCount) {
        this.flowCount = flowCount;
        this.flowCountSet = true;
        return this;
    }


        @Override
        public OFAggregateStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsReplyVer14.java142
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsReplyVer14.java253
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAggregateStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFAggregateStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public long getFlowCount() {
        return flowCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setFlowCount(long flowCount) {
        this.flowCount = flowCount;
        this.flowCountSet = true;
        return this;
    }


        @Override
        public OFAggregateStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java545
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java571
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java571
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java571
    }

//
        @Override
        public OFPortDesc build() {
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : DEFAULT_HW_ADDR;
            if(hwAddr == null)
                throw new NullPointerException("Property hwAddr must not be null");
            String name = this.nameSet ? this.name : DEFAULT_NAME;
            if(name == null)
                throw new NullPointerException("Property name must not be null");
            Set<OFPortConfig> config = this.configSet ? this.config : DEFAULT_CONFIG;
            if(config == null)
                throw new NullPointerException("Property config must not be null");
            Set<OFPortState> state = this.stateSet ? this.state : DEFAULT_STATE;
            if(state == null)
                throw new NullPointerException("Property state must not be null");
            Set<OFPortFeatures> curr = this.currSet ? this.curr : DEFAULT_CURR;
            if(curr == null)
                throw new NullPointerException("Property curr must not be null");
            Set<OFPortFeatures> advertised = this.advertisedSet ? this.advertised : DEFAULT_ADVERTISED;
            if(advertised == null)
                throw new NullPointerException("Property advertised must not be null");
            Set<OFPortFeatures> supported = this.supportedSet ? this.supported : DEFAULT_SUPPORTED;
            if(supported == null)
                throw new NullPointerException("Property supported must not be null");
            Set<OFPortFeatures> peer = this.peerSet ? this.peer : DEFAULT_PEER;
            if(peer == null)
                throw new NullPointerException("Property peer must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnInterfaceVer10.java371
org/projectfloodlight/openflow/protocol/ver11/OFBsnInterfaceVer11.java371
org/projectfloodlight/openflow/protocol/ver12/OFBsnInterfaceVer12.java371
org/projectfloodlight/openflow/protocol/ver13/OFBsnInterfaceVer13.java371
org/projectfloodlight/openflow/protocol/ver14/OFBsnInterfaceVer14.java371
        OFBsnInterfaceVer10 other = (OFBsnInterfaceVer10) obj;

        if (hwAddr == null) {
            if (other.hwAddr != null)
                return false;
        } else if (!hwAddr.equals(other.hwAddr))
            return false;
        if (name == null) {
            if (other.name != null)
                return false;
        } else if (!name.equals(other.name))
            return false;
        if (ipv4Addr == null) {
            if (other.ipv4Addr != null)
                return false;
        } else if (!ipv4Addr.equals(other.ipv4Addr))
            return false;
        if (ipv4Netmask == null) {
            if (other.ipv4Netmask != null)
                return false;
        } else if (!ipv4Netmask.equals(other.ipv4Netmask))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((hwAddr == null) ? 0 : hwAddr.hashCode());
        result = prime * result + ((name == null) ? 0 : name.hashCode());
        result = prime * result + ((ipv4Addr == null) ? 0 : ipv4Addr.hashCode());
        result = prime * result + ((ipv4Netmask == null) ? 0 : ipv4Netmask.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTypeSerializerVer11.java30
org/projectfloodlight/openflow/protocol/ver12/OFTypeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFTypeSerializerVer13.java30
public class OFTypeSerializerVer11 {

    public final static byte HELLO_VAL = (byte) 0x0;
    public final static byte ERROR_VAL = (byte) 0x1;
    public final static byte ECHO_REQUEST_VAL = (byte) 0x2;
    public final static byte ECHO_REPLY_VAL = (byte) 0x3;
    public final static byte EXPERIMENTER_VAL = (byte) 0x4;
    public final static byte FEATURES_REQUEST_VAL = (byte) 0x5;
    public final static byte FEATURES_REPLY_VAL = (byte) 0x6;
    public final static byte GET_CONFIG_REQUEST_VAL = (byte) 0x7;
    public final static byte GET_CONFIG_REPLY_VAL = (byte) 0x8;
    public final static byte SET_CONFIG_VAL = (byte) 0x9;
    public final static byte PACKET_IN_VAL = (byte) 0xa;
    public final static byte FLOW_REMOVED_VAL = (byte) 0xb;
    public final static byte PORT_STATUS_VAL = (byte) 0xc;
    public final static byte PACKET_OUT_VAL = (byte) 0xd;
    public final static byte FLOW_MOD_VAL = (byte) 0xe;
    public final static byte GROUP_MOD_VAL = (byte) 0xf;
    public final static byte PORT_MOD_VAL = (byte) 0x10;
    public final static byte TABLE_MOD_VAL = (byte) 0x11;
    public final static byte STATS_REQUEST_VAL = (byte) 0x12;
    public final static byte STATS_REPLY_VAL = (byte) 0x13;
    public final static byte BARRIER_REQUEST_VAL = (byte) 0x14;
    public final static byte BARRIER_REPLY_VAL = (byte) 0x15;
    public final static byte QUEUE_GET_CONFIG_REQUEST_VAL = (byte) 0x16;
    public final static byte QUEUE_GET_CONFIG_REPLY_VAL = (byte) 0x17;

    public static OFType readFrom(ChannelBuffer bb) throws OFParseError {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionVer13.java367
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionVer14.java367
        OFBsnControllerConnectionVer13 other = (OFBsnControllerConnectionVer13) obj;

        if (state == null) {
            if (other.state != null)
                return false;
        } else if (!state.equals(other.state))
            return false;
        if (auxiliaryId == null) {
            if (other.auxiliaryId != null)
                return false;
        } else if (!auxiliaryId.equals(other.auxiliaryId))
            return false;
        if (role == null) {
            if (other.role != null)
                return false;
        } else if (!role.equals(other.role))
            return false;
        if (uri == null) {
            if (other.uri != null)
                return false;
        } else if (!uri.equals(other.uri))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((state == null) ? 0 : state.hashCode());
        result = prime * result + ((auxiliaryId == null) ? 0 : auxiliaryId.hashCode());
        result = prime * result + ((role == null) ? 0 : role.hashCode());
        result = prime * result + ((uri == null) ? 0 : uri.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsRequestVer13.java132
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsRequestVer14.java132
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }


        @Override
        public OFBsnFlowChecksumBucketStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");

                //
                return new OFBsnFlowChecksumBucketStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsRequestVer13.java127
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsRequestVer14.java127
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableBucketStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableBucketStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableBucketStatsRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }


        @Override
        public OFBsnGentableBucketStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                GenTableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");

                //
                return new OFBsnGentableBucketStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsRequestVer13.java132
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsRequestVer14.java132
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPortCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnPortCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x8L;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPortCounterStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }


        @Override
        public OFBsnPortCounterStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");

                //
                return new OFBsnPortCounterStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java391
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java391
            return new OFGroupStatsEntryVer13(
                    group,
                    refCount,
                    packetCount,
                    byteCount,
                    durationSec,
                    durationNsec,
                    bucketStats
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFGroupStatsEntry> {
        @Override
        public OFGroupStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 2 bytes
            bb.skipBytes(2);
            OFGroup group = OFGroup.read4Bytes(bb);
            long refCount = U32.f(bb.readInt());
            // pad: 4 bytes
            bb.skipBytes(4);
            U64 packetCount = U64.ofRaw(bb.readLong());
            U64 byteCount = U64.ofRaw(bb.readLong());
            long durationSec = U32.f(bb.readInt());
            long durationNsec = U32.f(bb.readInt());
            List<OFBucketCounter> bucketStats = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFBucketCounterVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesVer13.java193
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesVer14.java193
                return new OFMeterFeaturesVer13(
                    maxMeter,
                    bandTypes,
                    capabilities,
                    maxBands,
                    maxColor
                );
        }

    }

    static class Builder implements OFMeterFeatures.Builder {
        // OF message fields
        private boolean maxMeterSet;
        private long maxMeter;
        private boolean bandTypesSet;
        private long bandTypes;
        private boolean capabilitiesSet;
        private long capabilities;
        private boolean maxBandsSet;
        private short maxBands;
        private boolean maxColorSet;
        private short maxColor;

    @Override
    public long getMaxMeter() {
        return maxMeter;
    }

    @Override
    public OFMeterFeatures.Builder setMaxMeter(long maxMeter) {
        this.maxMeter = maxMeter;
        this.maxMeterSet = true;
        return this;
    }
    @Override
    public long getBandTypes() {
        return bandTypes;
    }

    @Override
    public OFMeterFeatures.Builder setBandTypes(long bandTypes) {
        this.bandTypes = bandTypes;
        this.bandTypesSet = true;
        return this;
    }
    @Override
    public long getCapabilities() {
        return capabilities;
    }

    @Override
    public OFMeterFeatures.Builder setCapabilities(long capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public short getMaxBands() {
        return maxBands;
    }

    @Override
    public OFMeterFeatures.Builder setMaxBands(short maxBands) {
        this.maxBands = maxBands;
        this.maxBandsSet = true;
        return this;
    }
    @Override
    public short getMaxColor() {
        return maxColor;
    }

    @Override
    public OFMeterFeatures.Builder setMaxColor(short maxColor) {
        this.maxColor = maxColor;
        this.maxColorSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFExperimenterErrorMsgVer12.java220
org/projectfloodlight/openflow/protocol/ver13/OFExperimenterErrorMsgVer13.java220
org/projectfloodlight/openflow/protocol/ver14/OFExperimenterErrorMsgVer14.java220
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.EXPERIMENTER;
    }

    @Override
    public int getSubtype() {
        return subtype;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setSubtype(int subtype) {
        this.subtype = subtype;
        this.subtypeSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return experimenter;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setExperimenter(long experimenter) {
        this.experimenter = experimenter;
        this.experimenterSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFExperimenterErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            int subtype = this.subtypeSet ? this.subtype : DEFAULT_SUBTYPE;
            long experimenter = this.experimenterSet ? this.experimenter : DEFAULT_EXPERIMENTER;
            OFErrorCauseData data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFExperimenterErrorMsgVer12(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java368
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java368
    }



        @Override
        public OFFlowStatsEntry build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                long durationSec = this.durationSecSet ? this.durationSec : parentMessage.durationSec;
                long durationNsec = this.durationNsecSet ? this.durationNsec : parentMessage.durationNsec;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                U64 packetCount = this.packetCountSet ? this.packetCount : parentMessage.packetCount;
                if(packetCount == null)
                    throw new NullPointerException("Property packetCount must not be null");
                U64 byteCount = this.byteCountSet ? this.byteCount : parentMessage.byteCount;
                if(byteCount == null)
                    throw new NullPointerException("Property byteCount must not be null");
                Match match = this.matchSet ? this.match : parentMessage.match;
                if(match == null)
                    throw new NullPointerException("Property match must not be null");
                List<OFInstruction> instructions = this.instructionsSet ? this.instructions : parentMessage.instructions;
                if(instructions == null)
                    throw new NullPointerException("Property instructions must not be null");

                //
                return new OFFlowStatsEntryVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsVer13.java384
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsVer14.java384
            return new OFMeterStatsVer13(
                    meterId,
                    flowCount,
                    packetInCount,
                    byteInCount,
                    durationSec,
                    durationNsec,
                    bandStats
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFMeterStats> {
        @Override
        public OFMeterStats readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            long meterId = U32.f(bb.readInt());
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 6 bytes
            bb.skipBytes(6);
            long flowCount = U32.f(bb.readInt());
            U64 packetInCount = U64.ofRaw(bb.readLong());
            U64 byteInCount = U64.ofRaw(bb.readLong());
            long durationSec = U32.f(bb.readInt());
            long durationNsec = U32.f(bb.readInt());
            List<OFMeterBandStats> bandStats = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFMeterBandStatsVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxRequestVer10.java147
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxRequestVer11.java261
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxRequestVer12.java261
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxRequestVer14.java261
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x21L;
    }

    @Override
    public long getTimeoutMs() {
        return timeoutMs;
    }

    @Override
    public OFBsnPduRxRequest.Builder setTimeoutMs(long timeoutMs) {
        this.timeoutMs = timeoutMs;
        this.timeoutMsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxRequest.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnPduRxRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxRequestVer10.java261
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxRequestVer11.java147
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxRequestVer12.java147
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxRequestVer13.java147
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxRequestVer14.java147
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x21L;
    }

    @Override
    public long getTimeoutMs() {
        return timeoutMs;
    }

    @Override
    public OFBsnPduRxRequest.Builder setTimeoutMs(long timeoutMs) {
        this.timeoutMs = timeoutMs;
        this.timeoutMsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxRequest.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnPduRxRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBsnPduRxRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxRequestVer10.java147
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxRequestVer11.java261
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxRequestVer12.java261
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxRequestVer14.java261
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduTxRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1fL;
    }

    @Override
    public long getTxIntervalMs() {
        return txIntervalMs;
    }

    @Override
    public OFBsnPduTxRequest.Builder setTxIntervalMs(long txIntervalMs) {
        this.txIntervalMs = txIntervalMs;
        this.txIntervalMsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduTxRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduTxRequest.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnPduTxRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnPduTxRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxRequestVer10.java261
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxRequestVer11.java147
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxRequestVer12.java147
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxRequestVer13.java147
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxRequestVer14.java147
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduTxRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1fL;
    }

    @Override
    public long getTxIntervalMs() {
        return txIntervalMs;
    }

    @Override
    public OFBsnPduTxRequest.Builder setTxIntervalMs(long txIntervalMs) {
        this.txIntervalMs = txIntervalMs;
        this.txIntervalMsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduTxRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduTxRequest.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnPduTxRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBsnPduTxRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportQInQVer10.java140
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportQInQVer11.java257
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportQInQVer12.java257
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportQInQVer13.java257
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportQInQVer14.java257
    @Override
    public int getType() {
        return 0x0;
    }

    @Override
    public long getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnVportQInQ.Builder setPortNo(long portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getIngressTpid() {
        return ingressTpid;
    }

    @Override
    public OFBsnVportQInQ.Builder setIngressTpid(int ingressTpid) {
        this.ingressTpid = ingressTpid;
        this.ingressTpidSet = true;
        return this;
    }
    @Override
    public int getIngressVlanId() {
        return ingressVlanId;
    }

    @Override
    public OFBsnVportQInQ.Builder setIngressVlanId(int ingressVlanId) {
        this.ingressVlanId = ingressVlanId;
        this.ingressVlanIdSet = true;
        return this;
    }
    @Override
    public int getEgressTpid() {
        return egressTpid;
    }

    @Override
    public OFBsnVportQInQ.Builder setEgressTpid(int egressTpid) {
        this.egressTpid = egressTpid;
        this.egressTpidSet = true;
        return this;
    }
    @Override
    public int getEgressVlanId() {
        return egressVlanId;
    }

    @Override
    public OFBsnVportQInQ.Builder setEgressVlanId(int egressVlanId) {
        this.egressVlanId = egressVlanId;
        this.egressVlanIdSet = true;
        return this;
    }
    @Override
    public String getIfName() {
        return ifName;
    }

    @Override
    public OFBsnVportQInQ.Builder setIfName(String ifName) {
        this.ifName = ifName;
        this.ifNameSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportQInQVer10.java257
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportQInQVer11.java140
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportQInQVer12.java140
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportQInQVer13.java140
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportQInQVer14.java140
    @Override
    public int getType() {
        return 0x0;
    }

    @Override
    public long getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnVportQInQ.Builder setPortNo(long portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public int getIngressTpid() {
        return ingressTpid;
    }

    @Override
    public OFBsnVportQInQ.Builder setIngressTpid(int ingressTpid) {
        this.ingressTpid = ingressTpid;
        this.ingressTpidSet = true;
        return this;
    }
    @Override
    public int getIngressVlanId() {
        return ingressVlanId;
    }

    @Override
    public OFBsnVportQInQ.Builder setIngressVlanId(int ingressVlanId) {
        this.ingressVlanId = ingressVlanId;
        this.ingressVlanIdSet = true;
        return this;
    }
    @Override
    public int getEgressTpid() {
        return egressTpid;
    }

    @Override
    public OFBsnVportQInQ.Builder setEgressTpid(int egressTpid) {
        this.egressTpid = egressTpid;
        this.egressTpidSet = true;
        return this;
    }
    @Override
    public int getEgressVlanId() {
        return egressVlanId;
    }

    @Override
    public OFBsnVportQInQ.Builder setEgressVlanId(int egressVlanId) {
        this.egressVlanId = egressVlanId;
        this.egressVlanIdSet = true;
        return this;
    }
    @Override
    public String getIfName() {
        return ifName;
    }

    @Override
    public OFBsnVportQInQ.Builder setIfName(String ifName) {
        this.ifName = ifName;
        this.ifNameSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowModFailedCodeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFFlowModFailedCodeSerializerVer13.java30
public class OFFlowModFailedCodeSerializerVer12 {

    public final static short UNKNOWN_VAL = (short) 0x0;
    public final static short TABLE_FULL_VAL = (short) 0x1;
    public final static short BAD_TABLE_ID_VAL = (short) 0x2;
    public final static short OVERLAP_VAL = (short) 0x3;
    public final static short EPERM_VAL = (short) 0x4;
    public final static short BAD_TIMEOUT_VAL = (short) 0x5;
    public final static short BAD_COMMAND_VAL = (short) 0x6;
    public final static short BAD_FLAGS_VAL = (short) 0x7;

    public static OFFlowModFailedCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFFlowModFailedCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFFlowModFailedCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFFlowModFailedCode ofWireValue(short val) {
        switch(val) {
            case UNKNOWN_VAL:
                return OFFlowModFailedCode.UNKNOWN;
            case TABLE_FULL_VAL:
                return OFFlowModFailedCode.TABLE_FULL;
            case BAD_TABLE_ID_VAL:
                return OFFlowModFailedCode.BAD_TABLE_ID;
            case OVERLAP_VAL:
                return OFFlowModFailedCode.OVERLAP;
            case EPERM_VAL:
                return OFFlowModFailedCode.EPERM;
            case BAD_TIMEOUT_VAL:
                return OFFlowModFailedCode.BAD_TIMEOUT;
            case BAD_COMMAND_VAL:
                return OFFlowModFailedCode.BAD_COMMAND;
            case BAD_FLAGS_VAL:
                return OFFlowModFailedCode.BAD_FLAGS;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFFlowModFailedCode in version 1.2: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java522
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java535
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java535
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java535
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowRemoved.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowRemoved.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowRemoved.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
//
        @Override
        public OFFlowRemoved build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            short reason = this.reasonSet ? this.reason : DEFAULT_REASON;
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            long durationSec = this.durationSecSet ? this.durationSec : DEFAULT_DURATION_SEC;
            long durationNsec = this.durationNsecSet ? this.durationNsec : DEFAULT_DURATION_NSEC;
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsRequestVer13.java216
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsRequestVer14.java216
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableBucketStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableBucketStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableBucketStatsRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableBucketStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            if(!this.tableIdSet)
                throw new IllegalStateException("Property tableId doesn't have default value -- must be set");
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");


            return new OFBsnGentableBucketStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBundleCtrlMsgVer14.java136
org/projectfloodlight/openflow/protocol/ver14/OFBundleCtrlMsgVer14.java244
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.BUNDLE_CONTROL;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBundleCtrlMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public BundleId getBundleId() {
        return bundleId;
    }

    @Override
    public OFBundleCtrlMsg.Builder setBundleId(BundleId bundleId) {
        this.bundleId = bundleId;
        this.bundleIdSet = true;
        return this;
    }
    @Override
    public OFBundleCtrlType getBundleCtrlType() {
        return bundleCtrlType;
    }

    @Override
    public OFBundleCtrlMsg.Builder setBundleCtrlType(OFBundleCtrlType bundleCtrlType) {
        this.bundleCtrlType = bundleCtrlType;
        this.bundleCtrlTypeSet = true;
        return this;
    }
    @Override
    public Set<OFBundleFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBundleCtrlMsg.Builder setFlags(Set<OFBundleFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFBundleProp> getProperties() {
        return properties;
    }

    @Override
    public OFBundleCtrlMsg.Builder setProperties(List<OFBundleProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }


        @Override
        public OFBundleCtrlMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
net/onrc/openvirtex/messages/statistics/ver10/OVXFlowStatsReplyVer10.java38
net/onrc/openvirtex/messages/statistics/ver13/OVXFlowStatsReplyVer13.java31
    public OVXFlowStatsReplyVer10(long xid, Set<OFStatsReplyFlags> flags,
			List<OFFlowStatsEntry> entries) {
		super(xid, flags, entries);
		// TODO Auto-generated constructor stub
	}

	@Override
    public void virtualize(final PhysicalSwitch sw) {
        if (this.getXid() != 0) {
            sw.removeFlowMods(this);
            return;
        }

        HashMap<Integer, List<OVXFlowStatsReply>> stats = new HashMap<Integer, List<OVXFlowStatsReply>>();

        
        for(OFFlowStatsEntry entry: this.getEntries()) {
            OVXFlowStatsReply single_reply=OVXFactoryInst.myOVXFactory.buildOVXFlowStatsReply(this.getXid(), this.getFlags(),Arrays.asList(entry));
            int tid=getTidFromCookie(entry.getCookie().getValue())	;
            addToStats(tid, single_reply, stats);

        }

            
        
        sw.setFlowStatistics(stats);
    }

    private void addToStats(int tid, OVXFlowStatsReply reply,
            HashMap<Integer, List<OVXFlowStatsReply>> stats) {
        List<OVXFlowStatsReply> statsList = stats.get(tid);
        if (statsList == null) {
            statsList = new LinkedList<OVXFlowStatsReply>();
        }
        statsList.add(reply);
        stats.put(tid, statsList);
    }

    private int getTidFromCookie(long cookie) {
        return (int) (cookie >> 32);
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionNiciraDecTtlVer10.java76
org/projectfloodlight/openflow/protocol/ver11/OFActionNiciraDecTtlVer11.java76
org/projectfloodlight/openflow/protocol/ver12/OFActionNiciraDecTtlVer12.java76
org/projectfloodlight/openflow/protocol/ver13/OFActionNiciraDecTtlVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFActionNiciraDecTtlVer14.java76
        throw new UnsupportedOperationException("OFActionNiciraDecTtlVer10 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionNiciraDecTtl> {
        @Override
        public OFActionNiciraDecTtl readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x2320L
            int experimenter = bb.readInt();
            if(experimenter != 0x2320)
                throw new OFParseError("Wrong experimenter: Expected=0x2320L(0x2320L), got="+experimenter);
            // fixed value property subtype == 0x12
            short subtype = bb.readShort();
            if(subtype != (short) 0x12)
                throw new OFParseError("Wrong subtype: Expected=0x12(0x12), got="+subtype);
            // pad: 2 bytes
            bb.skipBytes(2);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionNiciraDecTtlVer10Funnel FUNNEL = new OFActionNiciraDecTtlVer10Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsRequestVer13.java221
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsRequestVer14.java221
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
//
        @Override
        public OFBsnFlowChecksumBucketStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");


            return new OFBsnFlowChecksumBucketStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsRequestVer13.java144
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsRequestVer13.java250
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getTlvs() {
        return tlvs;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setTlvs(List<OFBsnTlv> tlvs) {
        this.tlvs = tlvs;
        this.tlvsSet = true;
        return this;
    }


        @Override
        public OFBsnGenericStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsRequestVer13.java221
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsRequestVer14.java221
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPortCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnPortCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x8L;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPortCounterStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
//
        @Override
        public OFBsnPortCounterStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");


            return new OFBsnPortCounterStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsReplyVer13.java141
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsReplyVer13.java245
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFCalientFlowStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFCalientFlowStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x80f958L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public int getDataLength() {
        return dataLength;
    }

    @Override
    public OFCalientFlowStatsReply.Builder setDataLength(int dataLength) {
        this.dataLength = dataLength;
        this.dataLengthSet = true;
        return this;
    }
    @Override
    public List<OFCalientFlowStatsEntry> getFlowStats() {
        return flowStats;
    }

    @Override
    public OFCalientFlowStatsReply.Builder setFlowStats(List<OFCalientFlowStatsEntry> flowStats) {
        this.flowStats = flowStats;
        this.flowStatsSet = true;
        return this;
    }


        @Override
        public OFCalientFlowStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsReplyVer13.java141
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsReplyVer13.java245
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFCalientPortStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFCalientPortStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x80f958L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public int getDataLength() {
        return dataLength;
    }

    @Override
    public OFCalientPortStatsReply.Builder setDataLength(int dataLength) {
        this.dataLength = dataLength;
        this.dataLengthSet = true;
        return this;
    }
    @Override
    public List<OFCalientPortStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFCalientPortStatsReply.Builder setEntries(List<OFCalientPortStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFCalientPortStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsRequestVer14.java144
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsRequestVer14.java250
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getTlvs() {
        return tlvs;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setTlvs(List<OFBsnTlv> tlvs) {
        this.tlvs = tlvs;
        this.tlvsSet = true;
        return this;
    }


        @Override
        public OFBsnGenericStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPacketOutVer10.java142
org/projectfloodlight/openflow/protocol/ver10/OFPacketOutVer10.java250
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.PACKET_OUT;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPacketOut.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPacketOut.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getInPort() {
        return inPort;
    }

    @Override
    public OFPacketOut.Builder setInPort(OFPort inPort) {
        this.inPort = inPort;
        this.inPortSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFPacketOut.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFPacketOut.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFPacketOut build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java755
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java755
        StringBuilder b = new StringBuilder("OFFlowStatsEntryVer11(");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("durationSec=").append(durationSec);
        b.append(", ");
        b.append("durationNsec=").append(durationNsec);
        b.append(", ");
        b.append("priority=").append(priority);
        b.append(", ");
        b.append("idleTimeout=").append(idleTimeout);
        b.append(", ");
        b.append("hardTimeout=").append(hardTimeout);
        b.append(", ");
        b.append("cookie=").append(cookie);
        b.append(", ");
        b.append("packetCount=").append(packetCount);
        b.append(", ");
        b.append("byteCount=").append(byteCount);
        b.append(", ");
        b.append("match=").append(match);
        b.append(", ");
        b.append("instructions=").append(instructions);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPacketOutVer11.java142
org/projectfloodlight/openflow/protocol/ver11/OFPacketOutVer11.java250
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.PACKET_OUT;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPacketOut.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPacketOut.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getInPort() {
        return inPort;
    }

    @Override
    public OFPacketOut.Builder setInPort(OFPort inPort) {
        this.inPort = inPort;
        this.inPortSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFPacketOut.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFPacketOut.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFPacketOut build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java720
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java720
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java720
        StringBuilder b = new StringBuilder("OFPortDescVer11(");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("hwAddr=").append(hwAddr);
        b.append(", ");
        b.append("name=").append(name);
        b.append(", ");
        b.append("config=").append(config);
        b.append(", ");
        b.append("state=").append(state);
        b.append(", ");
        b.append("curr=").append(curr);
        b.append(", ");
        b.append("advertised=").append(advertised);
        b.append(", ");
        b.append("supported=").append(supported);
        b.append(", ");
        b.append("peer=").append(peer);
        b.append(", ");
        b.append("currSpeed=").append(currSpeed);
        b.append(", ");
        b.append("maxSpeed=").append(maxSpeed);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPacketOutVer12.java142
org/projectfloodlight/openflow/protocol/ver12/OFPacketOutVer12.java250
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.PACKET_OUT;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPacketOut.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPacketOut.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getInPort() {
        return inPort;
    }

    @Override
    public OFPacketOut.Builder setInPort(OFPort inPort) {
        this.inPort = inPort;
        this.inPortSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFPacketOut.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFPacketOut.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFPacketOut build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleVer13.java149
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleVer14.java265
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdle.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x28L;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFBsnFlowIdle.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBsnFlowIdle.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnFlowIdle.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFBsnFlowIdle.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFBsnFlowIdle build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleVer13.java265
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleVer14.java149
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdle.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x28L;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFBsnFlowIdle.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBsnFlowIdle.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnFlowIdle.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFBsnFlowIdle.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
//
        @Override
        public OFBsnFlowIdle build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPacketOutVer13.java142
org/projectfloodlight/openflow/protocol/ver13/OFPacketOutVer13.java250
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.PACKET_OUT;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPacketOut.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPacketOut.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getInPort() {
        return inPort;
    }

    @Override
    public OFPacketOut.Builder setInPort(OFPort inPort) {
        this.inPort = inPort;
        this.inPortSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFPacketOut.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFPacketOut.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFPacketOut build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFPacketOutVer14.java142
org/projectfloodlight/openflow/protocol/ver14/OFPacketOutVer14.java250
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.PACKET_OUT;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPacketOut.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPacketOut.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getInPort() {
        return inPort;
    }

    @Override
    public OFPacketOut.Builder setInPort(OFPort inPort) {
        this.inPort = inPort;
        this.inPortSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFPacketOut.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFPacketOut.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFPacketOut build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java284
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java284
            throw new UnsupportedOperationException("Property inPhyPort not supported in version 1.3");
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFPacketIn.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }


        @Override
        public OFPacketIn build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFBufferId bufferId = this.bufferIdSet ? this.bufferId : parentMessage.bufferId;
                if(bufferId == null)
                    throw new NullPointerException("Property bufferId must not be null");
                int totalLen = this.totalLenSet ? this.totalLen : parentMessage.totalLen;
                OFPacketInReason reason = this.reasonSet ? this.reason : parentMessage.reason;
                if(reason == null)
                    throw new NullPointerException("Property reason must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                Match match = this.matchSet ? this.match : parentMessage.match;
                if(match == null)
                    throw new NullPointerException("Property match must not be null");
                byte[] data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFPacketInVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesVer13.java398
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesVer14.java398
            return new OFTableFeaturesVer13(
                    tableId,
                    name,
                    metadataMatch,
                    metadataWrite,
                    config,
                    maxEntries,
                    properties
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFTableFeatures> {
        @Override
        public OFTableFeatures readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            TableId tableId = TableId.readByte(bb);
            // pad: 5 bytes
            bb.skipBytes(5);
            String name = ChannelUtils.readFixedLengthString(bb, 32);
            U64 metadataMatch = U64.ofRaw(bb.readLong());
            U64 metadataWrite = U64.ofRaw(bb.readLong());
            long config = U32.f(bb.readInt());
            long maxEntries = U32.f(bb.readInt());
            List<OFTableFeatureProp> properties = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFTableFeaturePropVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsReplyVer13.java303
        public OFBsnDebugCounterDescStatsReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer13.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xdL
            int subtype = bb.readInt();
            if(subtype != 0xd)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleVer13.java505
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleVer14.java505
        OFBsnFlowIdleVer13 other = (OFBsnFlowIdleVer13) obj;

        if( xid != other.xid)
            return false;
        if (cookie == null) {
            if (other.cookie != null)
                return false;
        } else if (!cookie.equals(other.cookie))
            return false;
        if( priority != other.priority)
            return false;
        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if (match == null) {
            if (other.match != null)
                return false;
        } else if (!match.equals(other.match))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((cookie == null) ? 0 : cookie.hashCode());
        result = prime * result + priority;
        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime * result + ((match == null) ? 0 : match.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsReplyVer13.java341
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsReplyVer13.java341
        public OFCalientFlowStatsReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer13.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x80f958L
            int experimenter = bb.readInt();
            if(experimenter != 0x80f958)
                throw new OFParseError("Wrong experimenter: Expected=0x80f958L(0x80f958L), got="+experimenter);
            // fixed value property subtype == 0x2L
            int subtype = bb.readInt();
            if(subtype != 0x2)
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsReplyVer14.java303
        public OFBsnDebugCounterDescStatsReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer14.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xdL
            int subtype = bb.readInt();
            if(subtype != 0xd)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFAggregateStatsReplyVer10.java145
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsReplyVer11.java256
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsReplyVer12.java256
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsReplyVer13.java256
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsReplyVer14.java256
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAggregateStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFAggregateStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public long getFlowCount() {
        return flowCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setFlowCount(long flowCount) {
        this.flowCount = flowCount;
        this.flowCountSet = true;
        return this;
    }


        @Override
        public OFAggregateStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFAggregateStatsReplyVer10.java256
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsReplyVer11.java145
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsReplyVer12.java145
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsReplyVer13.java145
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsReplyVer14.java145
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAggregateStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFAggregateStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public long getFlowCount() {
        return flowCount;
    }

    @Override
    public OFAggregateStatsReply.Builder setFlowCount(long flowCount) {
        this.flowCount = flowCount;
        this.flowCountSet = true;
        return this;
    }
//
        @Override
        public OFAggregateStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsEntryVer11.java218
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsEntryVer12.java250
        BuilderWithParent(OFTableStatsEntryVer11 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFTableStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public OFMatchBmap getMatch() {
        return match;
    }

    @Override
    public OFTableStatsEntry.Builder setMatch(OFMatchBmap match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public int getWildcards() {
        return wildcards;
    }

    @Override
    public OFTableStatsEntry.Builder setWildcards(int wildcards) {
        this.wildcards = wildcards;
        this.wildcardsSet = true;
        return this;
    }
    @Override
    public long getWriteActions() {
        return writeActions;
    }

    @Override
    public OFTableStatsEntry.Builder setWriteActions(long writeActions) {
        this.writeActions = writeActions;
        this.writeActionsSet = true;
        return this;
    }
    @Override
    public long getApplyActions() {
        return applyActions;
    }

    @Override
    public OFTableStatsEntry.Builder setApplyActions(long applyActions) {
        this.applyActions = applyActions;
        this.applyActionsSet = true;
        return this;
    }
    @Override
    public U64 getWriteSetfields()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java249
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java924
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java1714
        if (!field.arePrerequisitesOK(this))
            return null;

        Object result;
        switch (field.id) {
            case IN_PORT:
                result = inPort;
                break;
            case ETH_DST:
                result = ethDst;
                break;
            case ETH_SRC:
                result = ethSrc;
                break;
            case ETH_TYPE:
                result = ethType;
                break;
            case VLAN_VID:
                result = vlanVid;
                break;
            case VLAN_PCP:
                result = vlanPcp;
                break;
            case ARP_OP:
                result = ArpOpcode.of(ipProto.getIpProtocolNumber());
                break;
            case ARP_SPA:
                result = ipv4Src;
                break;
            case ARP_TPA:
                result = ipv4Dst;
                break;
            case IP_DSCP:
                result = ipDscp;
                break;
            case IP_PROTO:
                result = ipProto;
                break;
            case IPV4_SRC:
                result = ipv4Src;
                break;
            case IPV4_DST:
                result = ipv4Dst;
                break;
            case TCP_SRC:
                result = tcpSrc;
                break;
            case TCP_DST:
                result = tcpDst;
                break;
            case UDP_SRC:
                result = tcpSrc;
                break;
            case UDP_DST:
                result = tcpDst;
                break;
            case SCTP_SRC:
                result = tcpSrc;
                break;
            case SCTP_DST:
                result = tcpDst;
                break;
            case ICMPV4_TYPE:
                result = tcpSrc;
                break;
            case ICMPV4_CODE:
                result = tcpDst;
                break;
            // NOT SUPPORTED:
            default:
                throw new UnsupportedOperationException("OFMatch does not support matching on field " + field.getName());
        }
        return (F)result;
    }

    @SuppressWarnings("unchecked")
    @Override
    public <F extends OFValueType<F>> Masked<F> getMasked(MatchField<F> field)
            throws UnsupportedOperationException {
        if (!isPartiallyMasked(field))
            return null;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFRoleStatusVer14.java133
org/projectfloodlight/openflow/protocol/ver14/OFRoleStatusVer14.java239
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ROLE_STATUS;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleStatus.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getRole() {
        return role;
    }

    @Override
    public OFRoleStatus.Builder setRole(long role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public OFControllerRoleReason getReason() {
        return reason;
    }

    @Override
    public OFRoleStatus.Builder setReason(OFControllerRoleReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public U64 getGenerationId() {
        return generationId;
    }

    @Override
    public OFRoleStatus.Builder setGenerationId(U64 generationId) {
        this.generationId = generationId;
        this.generationIdSet = true;
        return this;
    }
    @Override
    public List<OFRoleProp> getProperties() {
        return properties;
    }

    @Override
    public OFRoleStatus.Builder setProperties(List<OFRoleProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }


        @Override
        public OFRoleStatus build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnMirrorVer11.java265
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnMirrorVer12.java265
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnMirrorVer13.java265
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnMirrorVer14.java265
            return new OFActionBsnMirrorVer11(
                    destPort,
                    vlanTag,
                    copyStage
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionBsnMirror> {
        @Override
        public OFActionBsnMirror readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x1L
            int subtype = bb.readInt();
            if(subtype != 0x1)
                throw new OFParseError("Wrong subtype: Expected=0x1L(0x1L), got="+subtype);
            OFPort destPort = OFPort.read4Bytes(bb);
            long vlanTag = U32.f(bb.readInt());
            short copyStage = U8.f(bb.readByte());
            // pad: 3 bytes
            bb.skipBytes(3);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java744
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java744
            return new OFPortStatsEntryVer11(
                    portNo,
                    rxPackets,
                    txPackets,
                    rxBytes,
                    txBytes,
                    rxDropped,
                    txDropped,
                    rxErrors,
                    txErrors,
                    rxFrameErr,
                    rxOverErr,
                    rxCrcErr,
                    collisions
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFPortStatsEntry> {
        @Override
        public OFPortStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            OFPort portNo = OFPort.read4Bytes(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            U64 rxPackets = U64.ofRaw(bb.readLong());
            U64 txPackets = U64.ofRaw(bb.readLong());
            U64 rxBytes = U64.ofRaw(bb.readLong());
            U64 txBytes = U64.ofRaw(bb.readLong());
            U64 rxDropped = U64.ofRaw(bb.readLong());
            U64 txDropped = U64.ofRaw(bb.readLong());
            U64 rxErrors = U64.ofRaw(bb.readLong());
            U64 txErrors = U64.ofRaw(bb.readLong());
            U64 rxFrameErr = U64.ofRaw(bb.readLong());
            U64 rxOverErr = U64.ofRaw(bb.readLong());
            U64 rxCrcErr = U64.ofRaw(bb.readLong());
            U64 collisions = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsReplyVer13.java142
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsReplyVer13.java248
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xeL;
    }

    @Override
    public String getImageChecksum() {
        return imageChecksum;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setImageChecksum(String imageChecksum) {
        this.imageChecksum = imageChecksum;
        this.imageChecksumSet = true;
        return this;
    }
    @Override
    public String getStartupConfigChecksum() {
        return startupConfigChecksum;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setStartupConfigChecksum(String startupConfigChecksum) {
        this.startupConfigChecksum = startupConfigChecksum;
        this.startupConfigChecksumSet = true;
        return this;
    }


        @Override
        public OFBsnImageDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaUploadFlagsSerializerVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaUploadFlagsSerializerVer14.java34
public class OFBsnLuaUploadFlagsSerializerVer13 {

    public final static short BSN_LUA_UPLOAD_MORE_VAL = (short) 0x1;
    public final static short BSN_LUA_UPLOAD_FORCE_VAL = (short) 0x2;

    public static Set<OFBsnLuaUploadFlags> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFBsnLuaUploadFlags> set) {
        bb.writeShort(toWireValue(set));
    }

    public static void putTo(Set<OFBsnLuaUploadFlags> set, PrimitiveSink sink) {
        sink.putShort(toWireValue(set));
    }


    public static Set<OFBsnLuaUploadFlags> ofWireValue(short val) {
        EnumSet<OFBsnLuaUploadFlags> set = EnumSet.noneOf(OFBsnLuaUploadFlags.class);

        if((val & BSN_LUA_UPLOAD_MORE_VAL) != 0)
            set.add(OFBsnLuaUploadFlags.BSN_LUA_UPLOAD_MORE);
        if((val & BSN_LUA_UPLOAD_FORCE_VAL) != 0)
            set.add(OFBsnLuaUploadFlags.BSN_LUA_UPLOAD_FORCE);
        return Collections.unmodifiableSet(set);
    }

    public static short toWireValue(Set<OFBsnLuaUploadFlags> set) {
        short wireValue = 0;

        for(OFBsnLuaUploadFlags e: set) {
            switch(e) {
                case BSN_LUA_UPLOAD_MORE:
                    wireValue |= BSN_LUA_UPLOAD_MORE_VAL;
                    break;
                case BSN_LUA_UPLOAD_FORCE:
                    wireValue |= BSN_LUA_UPLOAD_FORCE_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFBsnLuaUploadFlags in version 1.3: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsRequestVer13.java129
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsRequestVer14.java129
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVlanCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVlanCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x9L;
    }

    @Override
    public int getVlanVid() {
        return vlanVid;
    }

    @Override
    public OFBsnVlanCounterStatsRequest.Builder setVlanVid(int vlanVid) {
        this.vlanVid = vlanVid;
        this.vlanVidSet = true;
        return this;
    }


        @Override
        public OFBsnVlanCounterStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                int vlanVid = this.vlanVidSet ? this.vlanVid : parentMessage.vlanVid;

                //
                return new OFBsnVlanCounterStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsRequestVer13.java129
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsRequestVer14.java129
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVrfCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVrfCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public long getVrf() {
        return vrf;
    }

    @Override
    public OFBsnVrfCounterStatsRequest.Builder setVrf(long vrf) {
        this.vrf = vrf;
        this.vrfSet = true;
        return this;
    }


        @Override
        public OFBsnVrfCounterStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                long vrf = this.vrfSet ? this.vrf : parentMessage.vrf;

                //
                return new OFBsnVrfCounterStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsReplyVer14.java142
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsReplyVer14.java248
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xeL;
    }

    @Override
    public String getImageChecksum() {
        return imageChecksum;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setImageChecksum(String imageChecksum) {
        this.imageChecksum = imageChecksum;
        this.imageChecksumSet = true;
        return this;
    }
    @Override
    public String getStartupConfigChecksum() {
        return startupConfigChecksum;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setStartupConfigChecksum(String startupConfigChecksum) {
        this.startupConfigChecksum = startupConfigChecksum;
        this.startupConfigChecksumSet = true;
        return this;
    }


        @Override
        public OFBsnImageDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsReplyVer10.java124
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsReplyVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsReplyVer12.java124
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.FLOW;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFFlowStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFFlowStatsReply.Builder setEntries(List<OFFlowStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFFlowStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFFlowStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFFlowStatsReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java848
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java1638
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java2233
                    throw new NullPointerException("Property tcpDst must not be null");

                //
            // normalize match fields according to current OpenVSwitch behavior. When prerequisites for a field are not met
            // e.g., eth_type is not set to 0x800, OVS sets the value of corresponding ignored fields (e.g.,
            // ip_src, tcp_dst) to 0, and sets the wildcard bit to 1.
            if(ethType.equals(EthType.IPv4)) {
                // IP
                if(ipProto.equals(IpProtocol.TCP) || ipProto.equals(IpProtocol.UDP) || ipProto.equals(IpProtocol.ICMP)) {
                    // fully speced, wildcards and all values are fine
                    // normalize 32-63 ipv4 src 'mask' to a full bitmask
                    if((wildcards & OFPFW_NW_SRC_ALL) != 0)
                        wildcards |= OFPFW_NW_SRC_MASK;

                    // normalize 32-63 ipv4 dst 'mask' to a full bitmask
                    if((wildcards & OFPFW_NW_DST_ALL) != 0)
                        wildcards |= OFPFW_NW_DST_MASK;

                } else {
                    // normalize 32-63 ipv4 src 'mask' to a full bitmask
                    if((wildcards & OFPFW_NW_SRC_ALL) != 0)
                        wildcards |= OFPFW_NW_SRC_MASK;

                    // normalize 32-63 ipv4 dst 'mask' to a full bitmask
                    if((wildcards & OFPFW_NW_DST_ALL) != 0)
                        wildcards |= OFPFW_NW_DST_MASK;

                    // not TCP/UDP/ICMP -> Clear TP wildcards for the wire
                    wildcards |= (OFPFW_TP_SRC | OFPFW_TP_DST);
                    tcpSrc = TransportPort.NONE;
                    tcpDst = TransportPort.NONE;
                }
            } else if (ethType.equals(EthType.ARP)) {
                // normalize 32-63 ipv4 src 'mask' to a full bitmask
                if((wildcards & OFPFW_NW_SRC_ALL) != 0)
                    wildcards |= OFPFW_NW_SRC_MASK;

                // normalize 32-63 ipv4 dst 'mask' to a full bitmask
                if((wildcards & OFPFW_NW_DST_ALL) != 0)
                    wildcards |= OFPFW_NW_DST_MASK;

                // ARP: clear NW_TOS / TP wildcards for the wire
                wildcards |= ( OFPFW_NW_TOS | OFPFW_TP_SRC | OFPFW_TP_DST);
                ipDscp = IpDscp.NONE;
                tcpSrc = TransportPort.NONE;
                tcpDst = TransportPort.NONE;
            } else {
                // not even IP. Clear NW/TP wildcards for the wire
                wildcards |= ( OFPFW_NW_TOS | OFPFW_NW_PROTO | OFPFW_NW_SRC_MASK | OFPFW_NW_DST_MASK | OFPFW_TP_SRC | OFPFW_TP_DST);
                ipDscp = IpDscp.NONE;
                ipProto = IpProtocol.NONE;
                ipv4Src = IPv4Address.NONE;
                ipv4Dst = IPv4Address.NONE;
                tcpSrc = TransportPort.NONE;
                tcpDst = TransportPort.NONE;
            }
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsReplyVer10.java124
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsReplyVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsReplyVer12.java124
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.QUEUE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFQueueStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFQueueStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFQueueStatsReply.Builder setEntries(List<OFQueueStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFQueueStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFQueueStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFQueueStatsReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsReplyVer10.java124
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsReplyVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsReplyVer12.java124
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFTableStatsReply.Builder setEntries(List<OFTableStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFTableStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFTableStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFTableStatsReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsReplyVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsReplyVer12.java124
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFGroupDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFGroupDescStatsReply.Builder setEntries(List<OFGroupDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFGroupDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFGroupDescStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFGroupDescStatsReplyVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsReplyVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsReplyVer12.java124
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFGroupStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFGroupStatsReply.Builder setEntries(List<OFGroupStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFGroupStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFGroupStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFGroupStatsReplyVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsReplyVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsReplyVer12.java124
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFPortStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFPortStatsReply.Builder setEntries(List<OFPortStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFPortStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFPortStatsEntry> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFPortStatsReplyVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsRequestVer13.java256
        public OFBsnDebugCounterDescStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer13.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xdL
            int subtype = bb.readInt();
            if(subtype != 0xd)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsRequestVer13.java297
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsRequestVer13.java294
        public OFBsnGentableBucketStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 26)
                throw new OFParseError("Wrong length: Expected=26(26), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer13.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x5L
            int subtype = bb.readInt();
            if(subtype != 0x5)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDeleteVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDeleteVer14.java123
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2fL;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryDelete.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryDelete.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryDelete build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                GenTableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                List<OFBsnTlv> key = this.keySet ? this.key : parentMessage.key;
                if(key == null)
                    throw new NullPointerException("Property key must not be null");

                //
                return new OFBsnGentableEntryDeleteVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsRequestVer13.java387
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsRequestVer13.java387
        public OFBsnGentableEntryDescStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 60)
                throw new OFParseError("Wrong length: Expected=60(60), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer13.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x2L
            int subtype = bb.readInt();
            if(subtype != 0x2)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsRequestVer13.java301
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsRequestVer13.java294
        public OFBsnPortCounterStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 28)
                throw new OFParseError("Wrong length: Expected=28(28), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer13.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x8L
            int subtype = bb.readInt();
            if(subtype != 0x8)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterConfigStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_CONFIG;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterConfigStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFMeterBand> getEntries() {
        return entries;
    }

    @Override
    public OFMeterConfigStatsReply.Builder setEntries(List<OFMeterBand> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFMeterConfigStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFMeterBand> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFMeterConfigStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFMeterStats> getEntries() {
        return entries;
    }

    @Override
    public OFMeterStatsReply.Builder setEntries(List<OFMeterStats> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFMeterStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFMeterStats> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFMeterStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT_DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFPortDesc> getEntries() {
        return entries;
    }

    @Override
    public OFPortDescStatsReply.Builder setEntries(List<OFPortDesc> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFPortDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFPortDesc> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFPortDescStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableFeaturesStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE_FEATURES;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableFeaturesStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableFeatures> getEntries() {
        return entries;
    }

    @Override
    public OFTableFeaturesStatsReply.Builder setEntries(List<OFTableFeatures> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFTableFeaturesStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFTableFeatures> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFTableFeaturesStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsRequestVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsRequestVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableFeaturesStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE_FEATURES;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableFeaturesStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableFeatures> getEntries() {
        return entries;
    }

    @Override
    public OFTableFeaturesStatsRequest.Builder setEntries(List<OFTableFeatures> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFTableFeaturesStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFTableFeatures> entries = this.entriesSet ? this.entries : parentMessage.entries;
                if(entries == null)
                    throw new NullPointerException("Property entries must not be null");

                //
                return new OFTableFeaturesStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsRequestVer14.java256
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsRequestVer14.java256
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsRequestVer14.java256
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsRequestVer14.java256
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsRequestVer14.java256
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsRequestVer14.java256
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsRequestVer14.java256
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsRequestVer14.java256
        public OFBsnDebugCounterDescStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer14.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xdL
            int subtype = bb.readInt();
            if(subtype != 0xd)
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsRequestVer14.java297
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsRequestVer14.java294
        public OFBsnGentableBucketStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 26)
                throw new OFParseError("Wrong length: Expected=26(26), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer14.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x5L
            int subtype = bb.readInt();
            if(subtype != 0x5)
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsRequestVer14.java387
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsRequestVer14.java387
        public OFBsnGentableEntryDescStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 60)
                throw new OFParseError("Wrong length: Expected=60(60), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer14.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x2L
            int subtype = bb.readInt();
            if(subtype != 0x2)
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsRequestVer14.java301
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsRequestVer14.java294
        public OFBsnPortCounterStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 28)
                throw new OFParseError("Wrong length: Expected=28(28), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer14.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x8L
            int subtype = bb.readInt();
            if(subtype != 0x8)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionRequestVer10.java397
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionRequestVer11.java397
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionRequestVer12.java397
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionRequestVer13.java397
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionRequestVer14.java397
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 32)
                throw new OFParseError("Wrong length: Expected=32(32), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xbL
            int subtype = bb.readInt();
            if(subtype != 0xb)
                throw new OFParseError("Wrong subtype: Expected=0xbL(0xbL), got="+subtype);
            boolean enabled = (bb.readByte() != 0);
            // pad: 1 bytes
            bb.skipBytes(1);
            int idleTimeout = U16.f(bb.readShort());
            int hardTimeout = U16.f(bb.readShort());
            int priority = U16.f(bb.readShort());
            U64 cookie = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java688
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java688
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java732
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java701
    }
//
        @Override
        public OFFlowAdd build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            U64 cookieMask = this.cookieMaskSet ? this.cookieMask : DEFAULT_COOKIE_MASK;
            if(cookieMask == null)
                throw new NullPointerException("Property cookieMask must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            OFBufferId bufferId = this.bufferIdSet ? this.bufferId : DEFAULT_BUFFER_ID;
            if(bufferId == null)
                throw new NullPointerException("Property bufferId must not be null");
            OFPort outPort = this.outPortSet ? this.outPort : DEFAULT_OUT_PORT;
            if(outPort == null)
                throw new NullPointerException("Property outPort must not be null");
            OFGroup outGroup = this.outGroupSet ? this.outGroup : DEFAULT_OUT_GROUP;
            if(outGroup == null)
                throw new NullPointerException("Property outGroup must not be null");
            Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java688
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java688
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java728
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java701
    }
//
        @Override
        public OFFlowDeleteStrict build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            U64 cookieMask = this.cookieMaskSet ? this.cookieMask : DEFAULT_COOKIE_MASK;
            if(cookieMask == null)
                throw new NullPointerException("Property cookieMask must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            OFBufferId bufferId = this.bufferIdSet ? this.bufferId : DEFAULT_BUFFER_ID;
            if(bufferId == null)
                throw new NullPointerException("Property bufferId must not be null");
            OFPort outPort = this.outPortSet ? this.outPort : DEFAULT_OUT_PORT;
            if(outPort == null)
                throw new NullPointerException("Property outPort must not be null");
            OFGroup outGroup = this.outGroupSet ? this.outGroup : DEFAULT_OUT_GROUP;
            if(outGroup == null)
                throw new NullPointerException("Property outGroup must not be null");
            Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java688
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java688
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java727
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java701
    }
//
        @Override
        public OFFlowDelete build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            U64 cookieMask = this.cookieMaskSet ? this.cookieMask : DEFAULT_COOKIE_MASK;
            if(cookieMask == null)
                throw new NullPointerException("Property cookieMask must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            OFBufferId bufferId = this.bufferIdSet ? this.bufferId : DEFAULT_BUFFER_ID;
            if(bufferId == null)
                throw new NullPointerException("Property bufferId must not be null");
            OFPort outPort = this.outPortSet ? this.outPort : DEFAULT_OUT_PORT;
            if(outPort == null)
                throw new NullPointerException("Property outPort must not be null");
            OFGroup outGroup = this.outGroupSet ? this.outGroup : DEFAULT_OUT_GROUP;
            if(outGroup == null)
                throw new NullPointerException("Property outGroup must not be null");
            Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java688
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java688
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java728
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java701
    }
//
        @Override
        public OFFlowModifyStrict build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            U64 cookieMask = this.cookieMaskSet ? this.cookieMask : DEFAULT_COOKIE_MASK;
            if(cookieMask == null)
                throw new NullPointerException("Property cookieMask must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            OFBufferId bufferId = this.bufferIdSet ? this.bufferId : DEFAULT_BUFFER_ID;
            if(bufferId == null)
                throw new NullPointerException("Property bufferId must not be null");
            OFPort outPort = this.outPortSet ? this.outPort : DEFAULT_OUT_PORT;
            if(outPort == null)
                throw new NullPointerException("Property outPort must not be null");
            OFGroup outGroup = this.outGroupSet ? this.outGroup : DEFAULT_OUT_GROUP;
            if(outGroup == null)
                throw new NullPointerException("Property outGroup must not be null");
            Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java688
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java688
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java726
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java701
    }
//
        @Override
        public OFFlowModify build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            U64 cookieMask = this.cookieMaskSet ? this.cookieMask : DEFAULT_COOKIE_MASK;
            if(cookieMask == null)
                throw new NullPointerException("Property cookieMask must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            OFBufferId bufferId = this.bufferIdSet ? this.bufferId : DEFAULT_BUFFER_ID;
            if(bufferId == null)
                throw new NullPointerException("Property bufferId must not be null");
            OFPort outPort = this.outPortSet ? this.outPort : DEFAULT_OUT_PORT;
            if(outPort == null)
                throw new NullPointerException("Property outPort must not be null");
            OFGroup outGroup = this.outGroupSet ? this.outGroup : DEFAULT_OUT_GROUP;
            if(outGroup == null)
                throw new NullPointerException("Property outGroup must not be null");
            Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsEntryVer11.java323
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsEntryVer11.java569
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsEntryVer12.java363
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsEntryVer12.java641
    }
    @Override
    public long getInstructions() {
        return instructions;
    }

    @Override
    public OFTableStatsEntry.Builder setInstructions(long instructions) {
        this.instructions = instructions;
        this.instructionsSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFTableStatsEntry.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public long getMaxEntries() {
        return maxEntries;
    }

    @Override
    public OFTableStatsEntry.Builder setMaxEntries(long maxEntries) {
        this.maxEntries = maxEntries;
        this.maxEntriesSet = true;
        return this;
    }
    @Override
    public long getActiveCount() {
        return activeCount;
    }

    @Override
    public OFTableStatsEntry.Builder setActiveCount(long activeCount) {
        this.activeCount = activeCount;
        this.activeCountSet = true;
        return this;
    }
    @Override
    public U64 getLookupCount() {
        return lookupCount;
    }

    @Override
    public OFTableStatsEntry.Builder setLookupCount(U64 lookupCount) {
        this.lookupCount = lookupCount;
        this.lookupCountSet = true;
        return this;
    }
    @Override
    public U64 getMatchedCount() {
        return matchedCount;
    }

    @Override
    public OFTableStatsEntry.Builder setMatchedCount(U64 matchedCount) {
        this.matchedCount = matchedCount;
        this.matchedCountSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFMatchV3Ver12.java536
org/projectfloodlight/openflow/protocol/ver13/OFMatchV3Ver13.java538
org/projectfloodlight/openflow/protocol/ver14/OFMatchV3Ver14.java536
        OFOxm<F> oxm = OFFactories.getFactory(OFVersion.OF_12).oxms().fromMasked(valueWithMask, field);
        this.oxmListBuilder.set(oxm);
        updateOxmList();
        return this;
    }

    @Override
    public <F extends OFValueType<F>> Match.Builder wildcard(MatchField<F> field) {
        initBuilder();
        this.oxmListBuilder.unset(field);
        updateOxmList();
        return this;
    }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFMatchV3> {
        @Override
        public OFMatchV3 readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x1
            short type = bb.readShort();
            if(type != (short) 0x1)
                throw new OFParseError("Wrong type: Expected=0x1(0x1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            OFOxmList oxmList = OFOxmList.readFrom(bb, length - (bb.readerIndex() - start), OFOxmVer12.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnGentableVer13.java230
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnGentableVer14.java230
            return new OFActionBsnGentableVer13(
                    tableId,
                    key
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionBsnGentable> {
        @Override
        public OFActionBsnGentable readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x5L
            int subtype = bb.readInt();
            if(subtype != 0x5)
                throw new OFParseError("Wrong subtype: Expected=0x5L(0x5L), got="+subtype);
            long tableId = U32.f(bb.readInt());
            List<OFBsnTlv> key = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFBsnTlvVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportQInQVer10.java346
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportQInQVer11.java346
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportQInQVer12.java346
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportQInQVer13.java346
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportQInQVer14.java346
            return new OFBsnVportQInQVer10(
                    portNo,
                    ingressTpid,
                    ingressVlanId,
                    egressTpid,
                    egressVlanId,
                    ifName
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnVportQInQ> {
        @Override
        public OFBsnVportQInQ readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x0
            short type = bb.readShort();
            if(type != (short) 0x0)
                throw new OFParseError("Wrong type: Expected=0x0(0x0), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 32)
                throw new OFParseError("Wrong length: Expected=32(32), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long portNo = U32.f(bb.readInt());
            int ingressTpid = U16.f(bb.readShort());
            int ingressVlanId = U16.f(bb.readShort());
            int egressTpid = U16.f(bb.readShort());
            int egressVlanId = U16.f(bb.readShort());
            String ifName = ChannelUtils.readFixedLengthString(bb, 16);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnArpOffloadVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnArpOffloadVer14.java76
        throw new UnsupportedOperationException("OFInstructionBsnArpOffloadVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionBsnArpOffload> {
        @Override
        public OFInstructionBsnArpOffload readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x1L
            int subtype = bb.readInt();
            if(subtype != 0x1)
                throw new OFParseError("Wrong subtype: Expected=0x1L(0x1L), got="+subtype);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionBsnArpOffloadVer13Funnel FUNNEL = new OFInstructionBsnArpOffloadVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnAutoNegotiationVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnAutoNegotiationVer14.java76
        throw new UnsupportedOperationException("OFInstructionBsnAutoNegotiationVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionBsnAutoNegotiation> {
        @Override
        public OFInstructionBsnAutoNegotiation readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xbL
            int subtype = bb.readInt();
            if(subtype != 0xb)
                throw new OFParseError("Wrong subtype: Expected=0xbL(0xbL), got="+subtype);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionBsnAutoNegotiationVer13Funnel FUNNEL = new OFInstructionBsnAutoNegotiationVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnDenyVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnDenyVer14.java76
        throw new UnsupportedOperationException("OFInstructionBsnDenyVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionBsnDeny> {
        @Override
        public OFInstructionBsnDeny readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x5L
            int subtype = bb.readInt();
            if(subtype != 0x5)
                throw new OFParseError("Wrong subtype: Expected=0x5L(0x5L), got="+subtype);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionBsnDenyVer13Funnel FUNNEL = new OFInstructionBsnDenyVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnDhcpOffloadVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnDhcpOffloadVer14.java76
        throw new UnsupportedOperationException("OFInstructionBsnDhcpOffloadVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionBsnDhcpOffload> {
        @Override
        public OFInstructionBsnDhcpOffload readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x2L
            int subtype = bb.readInt();
            if(subtype != 0x2)
                throw new OFParseError("Wrong subtype: Expected=0x2L(0x2L), got="+subtype);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionBsnDhcpOffloadVer13Funnel FUNNEL = new OFInstructionBsnDhcpOffloadVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnDisableL3Ver13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnDisableL3Ver14.java76
        throw new UnsupportedOperationException("OFInstructionBsnDisableL3Ver13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionBsnDisableL3> {
        @Override
        public OFInstructionBsnDisableL3 readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xdL
            int subtype = bb.readInt();
            if(subtype != 0xd)
                throw new OFParseError("Wrong subtype: Expected=0xdL(0xdL), got="+subtype);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionBsnDisableL3Ver13Funnel FUNNEL = new OFInstructionBsnDisableL3Ver13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnDisableSrcMacCheckVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnDisableSrcMacCheckVer14.java76
        throw new UnsupportedOperationException("OFInstructionBsnDisableSrcMacCheckVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionBsnDisableSrcMacCheck> {
        @Override
        public OFInstructionBsnDisableSrcMacCheck readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x0L
            int subtype = bb.readInt();
            if(subtype != 0x0)
                throw new OFParseError("Wrong subtype: Expected=0x0L(0x0L), got="+subtype);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionBsnDisableSrcMacCheckVer13Funnel FUNNEL = new OFInstructionBsnDisableSrcMacCheckVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnDisableVlanCountersVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnDisableVlanCountersVer14.java76
        throw new UnsupportedOperationException("OFInstructionBsnDisableVlanCountersVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionBsnDisableVlanCounters> {
        @Override
        public OFInstructionBsnDisableVlanCounters readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x9L
            int subtype = bb.readInt();
            if(subtype != 0x9)
                throw new OFParseError("Wrong subtype: Expected=0x9L(0x9L), got="+subtype);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionBsnDisableVlanCountersVer13Funnel FUNNEL = new OFInstructionBsnDisableVlanCountersVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnPacketOfDeathVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnPacketOfDeathVer14.java76
        throw new UnsupportedOperationException("OFInstructionBsnPacketOfDeathVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionBsnPacketOfDeath> {
        @Override
        public OFInstructionBsnPacketOfDeath readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x6L
            int subtype = bb.readInt();
            if(subtype != 0x6)
                throw new OFParseError("Wrong subtype: Expected=0x6L(0x6L), got="+subtype);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionBsnPacketOfDeathVer13Funnel FUNNEL = new OFInstructionBsnPacketOfDeathVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnPermitVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnPermitVer14.java76
        throw new UnsupportedOperationException("OFInstructionBsnPermitVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionBsnPermit> {
        @Override
        public OFInstructionBsnPermit readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x4L
            int subtype = bb.readInt();
            if(subtype != 0x4)
                throw new OFParseError("Wrong subtype: Expected=0x4L(0x4L), got="+subtype);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionBsnPermitVer13Funnel FUNNEL = new OFInstructionBsnPermitVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnPrioritizePdusVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnPrioritizePdusVer14.java76
        throw new UnsupportedOperationException("OFInstructionBsnPrioritizePdusVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionBsnPrioritizePdus> {
        @Override
        public OFInstructionBsnPrioritizePdus readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x7L
            int subtype = bb.readInt();
            if(subtype != 0x7)
                throw new OFParseError("Wrong subtype: Expected=0x7L(0x7L), got="+subtype);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionBsnPrioritizePdusVer13Funnel FUNNEL = new OFInstructionBsnPrioritizePdusVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnRequireVlanXlateVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnRequireVlanXlateVer14.java76
        throw new UnsupportedOperationException("OFInstructionBsnRequireVlanXlateVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionBsnRequireVlanXlate> {
        @Override
        public OFInstructionBsnRequireVlanXlate readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x8L
            int subtype = bb.readInt();
            if(subtype != 0x8)
                throw new OFParseError("Wrong subtype: Expected=0x8L(0x8L), got="+subtype);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionBsnRequireVlanXlateVer13Funnel FUNNEL = new OFInstructionBsnRequireVlanXlateVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnSpanDestinationVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnSpanDestinationVer14.java76
        throw new UnsupportedOperationException("OFInstructionBsnSpanDestinationVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionBsnSpanDestination> {
        @Override
        public OFInstructionBsnSpanDestination readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xaL
            int subtype = bb.readInt();
            if(subtype != 0xa)
                throw new OFParseError("Wrong subtype: Expected=0xaL(0xaL), got="+subtype);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionBsnSpanDestinationVer13Funnel FUNNEL = new OFInstructionBsnSpanDestinationVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxRequestVer11.java367
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxRequestVer12.java367
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxRequestVer13.java367
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxRequestVer14.java367
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x21L
            int subtype = bb.readInt();
            if(subtype != 0x21)
                throw new OFParseError("Wrong subtype: Expected=0x21L(0x21L), got="+subtype);
            long timeoutMs = U32.f(bb.readInt());
            OFPort portNo = OFPort.read4Bytes(bb);
            short slotNum = U8.f(bb.readByte());
            // pad: 3 bytes
            bb.skipBytes(3);
            byte[] data = ChannelUtils.readBytes(bb, length - (bb.readerIndex() - start));
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxRequestVer11.java367
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxRequestVer12.java367
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxRequestVer13.java367
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxRequestVer14.java367
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x1fL
            int subtype = bb.readInt();
            if(subtype != 0x1f)
                throw new OFParseError("Wrong subtype: Expected=0x1fL(0x1fL), got="+subtype);
            long txIntervalMs = U32.f(bb.readInt());
            OFPort portNo = OFPort.read4Bytes(bb);
            short slotNum = U8.f(bb.readByte());
            // pad: 3 bytes
            bb.skipBytes(3);
            byte[] data = ChannelUtils.readBytes(bb, length - (bb.readerIndex() - start));
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java113
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java113
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java113
            throw new NullPointerException("OFPortStatsEntryVer10: property collisions cannot be null");
        }
        this.portNo = portNo;
        this.rxPackets = rxPackets;
        this.txPackets = txPackets;
        this.rxBytes = rxBytes;
        this.txBytes = txBytes;
        this.rxDropped = rxDropped;
        this.txDropped = txDropped;
        this.rxErrors = rxErrors;
        this.txErrors = txErrors;
        this.rxFrameErr = rxFrameErr;
        this.rxOverErr = rxOverErr;
        this.rxCrcErr = rxCrcErr;
        this.collisions = collisions;
    }

    // Accessors for OF message fields
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public U64 getRxPackets() {
        return rxPackets;
    }

    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public U64 getRxBytes() {
        return rxBytes;
    }

    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public U64 getRxDropped() {
        return rxDropped;
    }

    @Override
    public U64 getTxDropped() {
        return txDropped;
    }

    @Override
    public U64 getRxErrors() {
        return rxErrors;
    }

    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public U64 getRxFrameErr() {
        return rxFrameErr;
    }

    @Override
    public U64 getRxOverErr() {
        return rxOverErr;
    }

    @Override
    public U64 getRxCrcErr() {
        return rxCrcErr;
    }

    @Override
    public U64 getCollisions() {
        return collisions;
    }

    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.0");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTypeSerializerVer11.java30
org/projectfloodlight/openflow/protocol/ver12/OFTypeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFTypeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFTypeSerializerVer14.java30
public class OFTypeSerializerVer11 {

    public final static byte HELLO_VAL = (byte) 0x0;
    public final static byte ERROR_VAL = (byte) 0x1;
    public final static byte ECHO_REQUEST_VAL = (byte) 0x2;
    public final static byte ECHO_REPLY_VAL = (byte) 0x3;
    public final static byte EXPERIMENTER_VAL = (byte) 0x4;
    public final static byte FEATURES_REQUEST_VAL = (byte) 0x5;
    public final static byte FEATURES_REPLY_VAL = (byte) 0x6;
    public final static byte GET_CONFIG_REQUEST_VAL = (byte) 0x7;
    public final static byte GET_CONFIG_REPLY_VAL = (byte) 0x8;
    public final static byte SET_CONFIG_VAL = (byte) 0x9;
    public final static byte PACKET_IN_VAL = (byte) 0xa;
    public final static byte FLOW_REMOVED_VAL = (byte) 0xb;
    public final static byte PORT_STATUS_VAL = (byte) 0xc;
    public final static byte PACKET_OUT_VAL = (byte) 0xd;
    public final static byte FLOW_MOD_VAL = (byte) 0xe;
    public final static byte GROUP_MOD_VAL = (byte) 0xf;
    public final static byte PORT_MOD_VAL = (byte) 0x10;
    public final static byte TABLE_MOD_VAL = (byte) 0x11;
    public final static byte STATS_REQUEST_VAL = (byte) 0x12;
    public final static byte STATS_REPLY_VAL = (byte) 0x13;
    public final static byte BARRIER_REQUEST_VAL = (byte) 0x14;
    public final static byte BARRIER_REPLY_VAL = (byte) 0x15;
    public final static byte QUEUE_GET_CONFIG_REQUEST_VAL = (byte) 0x16;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowAddVer10.java409
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteStrictVer10.java408
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteVer10.java408
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyStrictVer10.java408
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyVer10.java408
        public OFFlowAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Match match = this.matchSet ? this.match : parentMessage.match;
                if(match == null)
                    throw new NullPointerException("Property match must not be null");
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                OFBufferId bufferId = this.bufferIdSet ? this.bufferId : parentMessage.bufferId;
                if(bufferId == null)
                    throw new NullPointerException("Property bufferId must not be null");
                OFPort outPort = this.outPortSet ? this.outPort : parentMessage.outPort;
                if(outPort == null)
                    throw new NullPointerException("Property outPort must not be null");
                Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                List<OFAction> actions = this.actionsSet ? this.actions : parentMessage.actions;
                if(actions == null)
                    throw new NullPointerException("Property actions must not be null");

                //
                return new OFFlowAddVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFInstructionTypeSerializerVer11.java43
org/projectfloodlight/openflow/protocol/ver12/OFInstructionTypeSerializerVer12.java43
org/projectfloodlight/openflow/protocol/ver13/OFInstructionTypeSerializerVer13.java44
org/projectfloodlight/openflow/protocol/ver14/OFInstructionTypeSerializerVer14.java44
    public static Set<OFInstructionType> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFInstructionType> set) {
        bb.writeShort(toWireValue(set));
    }

    public static void putTo(Set<OFInstructionType> set, PrimitiveSink sink) {
        sink.putShort(toWireValue(set));
    }


    public static Set<OFInstructionType> ofWireValue(short val) {
        EnumSet<OFInstructionType> set = EnumSet.noneOf(OFInstructionType.class);

        if((val & GOTO_TABLE_VAL) != 0)
            set.add(OFInstructionType.GOTO_TABLE);
        if((val & WRITE_METADATA_VAL) != 0)
            set.add(OFInstructionType.WRITE_METADATA);
        if((val & WRITE_ACTIONS_VAL) != 0)
            set.add(OFInstructionType.WRITE_ACTIONS);
        if((val & APPLY_ACTIONS_VAL) != 0)
            set.add(OFInstructionType.APPLY_ACTIONS);
        if((val & CLEAR_ACTIONS_VAL) != 0)
            set.add(OFInstructionType.CLEAR_ACTIONS);
        if((val & EXPERIMENTER_VAL) != 0)
            set.add(OFInstructionType.EXPERIMENTER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdNiciraDecTtlVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFActionIdNiciraDecTtlVer14.java76
        throw new UnsupportedOperationException("OFActionIdNiciraDecTtlVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdNiciraDecTtl> {
        @Override
        public OFActionIdNiciraDecTtl readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 10)
                throw new OFParseError("Wrong length: Expected=10(10), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x2320L
            int experimenter = bb.readInt();
            if(experimenter != 0x2320)
                throw new OFParseError("Wrong experimenter: Expected=0x2320L(0x2320L), got="+experimenter);
            // fixed value property subtype == 0x12
            short subtype = bb.readShort();
            if(subtype != (short) 0x12)
                throw new OFParseError("Wrong subtype: Expected=0x12(0x12), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdNiciraDecTtlVer13Funnel FUNNEL = new OFActionIdNiciraDecTtlVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsRequestVer13.java147
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsRequestVer14.java253
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getTlvs() {
        return tlvs;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setTlvs(List<OFBsnTlv> tlvs) {
        this.tlvs = tlvs;
        this.tlvsSet = true;
        return this;
    }


        @Override
        public OFBsnGenericStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsRequestVer13.java253
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsRequestVer14.java147
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getTlvs() {
        return tlvs;
    }

    @Override
    public OFBsnGenericStatsRequest.Builder setTlvs(List<OFBsnTlv> tlvs) {
        this.tlvs = tlvs;
        this.tlvsSet = true;
        return this;
    }
//
        @Override
        public OFBsnGenericStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDeleteVer13.java207
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDeleteVer14.java207
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2fL;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryDelete.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryDelete.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableEntryDelete build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.tableIdSet)
                throw new IllegalStateException("Property tableId doesn't have default value -- must be set");
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            List<OFBsnTlv> key = this.keySet ? this.key : DEFAULT_KEY;
            if(key == null)
                throw new NullPointerException("Property key must not be null");


            return new OFBsnGentableEntryDeleteVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsRequestVer13.java216
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsRequestVer14.java216
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVlanCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVlanCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x9L;
    }

    @Override
    public int getVlanVid() {
        return vlanVid;
    }

    @Override
    public OFBsnVlanCounterStatsRequest.Builder setVlanVid(int vlanVid) {
        this.vlanVid = vlanVid;
        this.vlanVidSet = true;
        return this;
    }
//
        @Override
        public OFBsnVlanCounterStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            int vlanVid = this.vlanVidSet ? this.vlanVid : DEFAULT_VLAN_VID;


            return new OFBsnVlanCounterStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsRequestVer13.java216
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsRequestVer14.java216
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVrfCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVrfCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public long getVrf() {
        return vrf;
    }

    @Override
    public OFBsnVrfCounterStatsRequest.Builder setVrf(long vrf) {
        this.vrf = vrf;
        this.vrfSet = true;
        return this;
    }
//
        @Override
        public OFBsnVrfCounterStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            long vrf = this.vrfSet ? this.vrf : DEFAULT_VRF;


            return new OFBsnVrfCounterStatsRequestVer13(
FileLine
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteVer13.java72
net/onrc/openvirtex/messages/ver13/OVXFlowModifyVer13.java74
    private final Logger log = LogManager.getLogger(OVXFlowDeleteVer13.class.getName());

    private OVXSwitch sw = null;
    private final List<OFAction> approvedActions = new LinkedList<OFAction>();

    private long ovxCookie = -1;

    @Override
    public void devirtualize(final OVXSwitch sw) {
        /* Drop LLDP-matching messages sent by some applications */

        if (((OFMatchV3)this.getMatch()).get(MatchField.ETH_TYPE) != null) {
            if (((OFMatchV3)this.getMatch()).get(MatchField.ETH_TYPE).getValue() == Ethernet.TYPE_LLDP) {
                return;
            }
        }

        this.sw = sw;
        FlowTable ft = this.sw.getFlowTable();

        int bufferId = OFBufferId.NO_BUFFER.getInt();
        if (sw.getFromBufferMap(this.bufferId.getInt()) != null) {
            bufferId = sw.getFromBufferMap(this.bufferId.getInt()).getBufferId().getInt();
        }
        short inport = -1;
        if (((OFMatchV3)this.getMatch()).get(MatchField.IN_PORT) != null) {
            inport = ((OFMatchV3) this.getMatch()).get(MatchField.IN_PORT).getShortPortNumber();
        }
        /* let flow table process FlowMod, generate cookie as needed */
        System.out.println("HandleFlowMod");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsReplyVer10.java203
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsReplyVer11.java203
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsReplyVer12.java203
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsReplyVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsReplyVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.FLOW;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFFlowStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFFlowStatsReply.Builder setEntries(List<OFFlowStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFFlowStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFFlowStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFFlowStatsReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPacketOutVer10.java145
org/projectfloodlight/openflow/protocol/ver11/OFPacketOutVer11.java253
org/projectfloodlight/openflow/protocol/ver12/OFPacketOutVer12.java253
org/projectfloodlight/openflow/protocol/ver13/OFPacketOutVer13.java253
org/projectfloodlight/openflow/protocol/ver14/OFPacketOutVer14.java253
    }

    @Override
    public OFType getType() {
        return OFType.PACKET_OUT;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPacketOut.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPacketOut.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getInPort() {
        return inPort;
    }

    @Override
    public OFPacketOut.Builder setInPort(OFPort inPort) {
        this.inPort = inPort;
        this.inPortSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFPacketOut.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFPacketOut.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFPacketOut build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPacketOutVer10.java253
org/projectfloodlight/openflow/protocol/ver11/OFPacketOutVer11.java145
org/projectfloodlight/openflow/protocol/ver12/OFPacketOutVer12.java145
org/projectfloodlight/openflow/protocol/ver13/OFPacketOutVer13.java145
org/projectfloodlight/openflow/protocol/ver14/OFPacketOutVer14.java145
    }

    @Override
    public OFType getType() {
        return OFType.PACKET_OUT;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPacketOut.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPacketOut.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getInPort() {
        return inPort;
    }

    @Override
    public OFPacketOut.Builder setInPort(OFPort inPort) {
        this.inPort = inPort;
        this.inPortSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFPacketOut.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFPacketOut.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFPacketOut build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsReplyVer10.java205
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsReplyVer11.java203
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsReplyVer12.java203
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsReplyVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsReplyVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFPortStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFPortStatsReply.Builder setEntries(List<OFPortStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFPortStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFPortStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFPortStatsReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsReplyVer10.java203
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsReplyVer11.java203
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsReplyVer12.java203
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsReplyVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsReplyVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.QUEUE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFQueueStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFQueueStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFQueueStatsReply.Builder setEntries(List<OFQueueStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFQueueStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFQueueStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFQueueStatsReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsReplyVer10.java203
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsReplyVer11.java203
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsReplyVer12.java203
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsReplyVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsReplyVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFTableStatsReply.Builder setEntries(List<OFTableStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFTableStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFTableStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFTableStatsReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java691
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java691
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java735
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java704
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java704
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java704
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java704
        public OFFlowAdd build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            U64 cookieMask = this.cookieMaskSet ? this.cookieMask : DEFAULT_COOKIE_MASK;
            if(cookieMask == null)
                throw new NullPointerException("Property cookieMask must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            OFBufferId bufferId = this.bufferIdSet ? this.bufferId : DEFAULT_BUFFER_ID;
            if(bufferId == null)
                throw new NullPointerException("Property bufferId must not be null");
            OFPort outPort = this.outPortSet ? this.outPort : DEFAULT_OUT_PORT;
            if(outPort == null)
                throw new NullPointerException("Property outPort must not be null");
            OFGroup outGroup = this.outGroupSet ? this.outGroup : DEFAULT_OUT_GROUP;
            if(outGroup == null)
                throw new NullPointerException("Property outGroup must not be null");
            Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java691
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java691
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java691
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java691
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java691
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java691
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java691
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java691
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java731
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java730
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java731
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java729
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java704
        public OFFlowDeleteStrict build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            U64 cookieMask = this.cookieMaskSet ? this.cookieMask : DEFAULT_COOKIE_MASK;
            if(cookieMask == null)
                throw new NullPointerException("Property cookieMask must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            OFBufferId bufferId = this.bufferIdSet ? this.bufferId : DEFAULT_BUFFER_ID;
            if(bufferId == null)
                throw new NullPointerException("Property bufferId must not be null");
            OFPort outPort = this.outPortSet ? this.outPort : DEFAULT_OUT_PORT;
            if(outPort == null)
                throw new NullPointerException("Property outPort must not be null");
            OFGroup outGroup = this.outGroupSet ? this.outGroup : DEFAULT_OUT_GROUP;
            if(outGroup == null)
                throw new NullPointerException("Property outGroup must not be null");
            Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsReplyVer11.java203
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsReplyVer12.java203
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsReplyVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsReplyVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFGroupDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFGroupDescStatsReply.Builder setEntries(List<OFGroupDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFGroupDescStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFGroupDescStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFGroupDescStatsReplyVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsReplyVer11.java203
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsReplyVer12.java203
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsReplyVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsReplyVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFGroupStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFGroupStatsReply.Builder setEntries(List<OFGroupStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFGroupStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFGroupStatsEntry> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFGroupStatsReplyVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsEntryVer11.java222
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsEntryVer12.java532
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFTableStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public OFMatchBmap getMatch() {
        return match;
    }

    @Override
    public OFTableStatsEntry.Builder setMatch(OFMatchBmap match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public int getWildcards() {
        return wildcards;
    }

    @Override
    public OFTableStatsEntry.Builder setWildcards(int wildcards) {
        this.wildcards = wildcards;
        this.wildcardsSet = true;
        return this;
    }
    @Override
    public long getWriteActions() {
        return writeActions;
    }

    @Override
    public OFTableStatsEntry.Builder setWriteActions(long writeActions) {
        this.writeActions = writeActions;
        this.writeActionsSet = true;
        return this;
    }
    @Override
    public long getApplyActions() {
        return applyActions;
    }

    @Override
    public OFTableStatsEntry.Builder setApplyActions(long applyActions) {
        this.applyActions = applyActions;
        this.applyActionsSet = true;
        return this;
    }
    @Override
    public U64 getWriteSetfields()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsEntryVer11.java468
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsEntryVer12.java254
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFTableStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public OFMatchBmap getMatch() {
        return match;
    }

    @Override
    public OFTableStatsEntry.Builder setMatch(OFMatchBmap match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
    @Override
    public int getWildcards() {
        return wildcards;
    }

    @Override
    public OFTableStatsEntry.Builder setWildcards(int wildcards) {
        this.wildcards = wildcards;
        this.wildcardsSet = true;
        return this;
    }
    @Override
    public long getWriteActions() {
        return writeActions;
    }

    @Override
    public OFTableStatsEntry.Builder setWriteActions(long writeActions) {
        this.writeActions = writeActions;
        this.writeActionsSet = true;
        return this;
    }
    @Override
    public long getApplyActions() {
        return applyActions;
    }

    @Override
    public OFTableStatsEntry.Builder setApplyActions(long applyActions) {
        this.applyActions = applyActions;
        this.applyActionsSet = true;
        return this;
    }
    @Override
    public U64 getWriteSetfields()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsReplyVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsReplyVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterConfigStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_CONFIG;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterConfigStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFMeterBand> getEntries() {
        return entries;
    }

    @Override
    public OFMeterConfigStatsReply.Builder setEntries(List<OFMeterBand> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFMeterConfigStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFMeterBand> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFMeterConfigStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsReplyVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsReplyVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFMeterStats> getEntries() {
        return entries;
    }

    @Override
    public OFMeterStatsReply.Builder setEntries(List<OFMeterStats> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFMeterStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFMeterStats> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFMeterStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsReplyVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsReplyVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT_DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFPortDesc> getEntries() {
        return entries;
    }

    @Override
    public OFPortDescStatsReply.Builder setEntries(List<OFPortDesc> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFPortDescStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFPortDesc> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFPortDescStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsReplyVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsReplyVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableFeaturesStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE_FEATURES;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableFeaturesStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableFeatures> getEntries() {
        return entries;
    }

    @Override
    public OFTableFeaturesStatsReply.Builder setEntries(List<OFTableFeatures> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFTableFeaturesStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFTableFeatures> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFTableFeaturesStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsRequestVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsRequestVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableFeaturesStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE_FEATURES;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableFeaturesStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableFeatures> getEntries() {
        return entries;
    }

    @Override
    public OFTableFeaturesStatsRequest.Builder setEntries(List<OFTableFeatures> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFTableFeaturesStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFTableFeatures> entries = this.entriesSet ? this.entries : DEFAULT_ENTRIES;
            if(entries == null)
                throw new NullPointerException("Property entries must not be null");


            return new OFTableFeaturesStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFPortModPropOpticalVer14.java127
org/projectfloodlight/openflow/protocol/ver14/OFPortModPropOpticalVer14.java227
    @Override
    public int getType() {
        return 0x1;
    }

    @Override
    public long getConfigure() {
        return configure;
    }

    @Override
    public OFPortModPropOptical.Builder setConfigure(long configure) {
        this.configure = configure;
        this.configureSet = true;
        return this;
    }
    @Override
    public long getFreqLdma() {
        return freqLdma;
    }

    @Override
    public OFPortModPropOptical.Builder setFreqLdma(long freqLdma) {
        this.freqLdma = freqLdma;
        this.freqLdmaSet = true;
        return this;
    }
    @Override
    public long getFlOffset() {
        return flOffset;
    }

    @Override
    public OFPortModPropOptical.Builder setFlOffset(long flOffset) {
        this.flOffset = flOffset;
        this.flOffsetSet = true;
        return this;
    }
    @Override
    public long getGridSpan() {
        return gridSpan;
    }

    @Override
    public OFPortModPropOptical.Builder setGridSpan(long gridSpan) {
        this.gridSpan = gridSpan;
        this.gridSpanSet = true;
        return this;
    }
    @Override
    public long getTxPwr() {
        return txPwr;
    }

    @Override
    public OFPortModPropOptical.Builder setTxPwr(long txPwr) {
        this.txPwr = txPwr;
        this.txPwrSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFPortModPropOptical build() {
                long configure = this.configureSet ? this.configure : parentMessage.configure;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFAsyncGetReplyVer13.java540
org/projectfloodlight/openflow/protocol/ver13/OFAsyncGetRequestVer13.java540
org/projectfloodlight/openflow/protocol/ver13/OFAsyncSetVer13.java540
        OFAsyncGetReplyVer13 other = (OFAsyncGetReplyVer13) obj;

        if( xid != other.xid)
            return false;
        if( packetInMaskEqualMaster != other.packetInMaskEqualMaster)
            return false;
        if( packetInMaskSlave != other.packetInMaskSlave)
            return false;
        if( portStatusMaskEqualMaster != other.portStatusMaskEqualMaster)
            return false;
        if( portStatusMaskSlave != other.portStatusMaskSlave)
            return false;
        if( flowRemovedMaskEqualMaster != other.flowRemovedMaskEqualMaster)
            return false;
        if( flowRemovedMaskSlave != other.flowRemovedMaskSlave)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime *  (int) (packetInMaskEqualMaster ^ (packetInMaskEqualMaster >>> 32));
        result = prime *  (int) (packetInMaskSlave ^ (packetInMaskSlave >>> 32));
        result = prime *  (int) (portStatusMaskEqualMaster ^ (portStatusMaskEqualMaster >>> 32));
        result = prime *  (int) (portStatusMaskSlave ^ (portStatusMaskSlave >>> 32));
        result = prime *  (int) (flowRemovedMaskEqualMaster ^ (flowRemovedMaskEqualMaster >>> 32));
        result = prime *  (int) (flowRemovedMaskSlave ^ (flowRemovedMaskSlave >>> 32));
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java155
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java155
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java155
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java155
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }


    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        for (OFInstruction inst : this.instructions) {
            if (inst instanceof OFInstructionApplyActions) {
                OFInstructionApplyActions iap = (OFInstructionApplyActions)inst;
                return iap.getActions();
            }
        }
        return Collections.emptyList();
    }

    public void setActions(List<OFAction> actions) {
        OFInstructionApplyActionsVer13.Builder builder = new OFInstructionApplyActionsVer13.Builder();
        builder.setActions(actions);
        this.instructions = Collections.singletonList((OFInstruction)builder.build());
    }

    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.3");
    }



    public OFFlowDeleteStrict.Builder createBuilder() {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnChecksumVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnChecksumVer14.java76
        throw new UnsupportedOperationException("OFActionIdBsnChecksumVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdBsnChecksum> {
        @Override
        public OFActionIdBsnChecksum readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x4L
            int subtype = bb.readInt();
            if(subtype != 0x4)
                throw new OFParseError("Wrong subtype: Expected=0x4L(0x4L), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdBsnChecksumVer13Funnel FUNNEL = new OFActionIdBsnChecksumVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnGentableVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnGentableVer14.java76
        throw new UnsupportedOperationException("OFActionIdBsnGentableVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdBsnGentable> {
        @Override
        public OFActionIdBsnGentable readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x5L
            int subtype = bb.readInt();
            if(subtype != 0x5)
                throw new OFParseError("Wrong subtype: Expected=0x5L(0x5L), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdBsnGentableVer13Funnel FUNNEL = new OFActionIdBsnGentableVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnMirrorVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnMirrorVer14.java76
        throw new UnsupportedOperationException("OFActionIdBsnMirrorVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdBsnMirror> {
        @Override
        public OFActionIdBsnMirror readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x1L
            int subtype = bb.readInt();
            if(subtype != 0x1)
                throw new OFParseError("Wrong subtype: Expected=0x1L(0x1L), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdBsnMirrorVer13Funnel FUNNEL = new OFActionIdBsnMirrorVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnSetTunnelDstVer13.java77
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnSetTunnelDstVer14.java77
        throw new UnsupportedOperationException("OFActionIdBsnSetTunnelDstVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdBsnSetTunnelDst> {
        @Override
        public OFActionIdBsnSetTunnelDst readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x2L
            int subtype = bb.readInt();
            if(subtype != 0x2)
                throw new OFParseError("Wrong subtype: Expected=0x2L(0x2L), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdBsnSetTunnelDstVer13Funnel FUNNEL = new OFActionIdBsnSetTunnelDstVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaUploadVer13.java138
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaUploadVer13.java239
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaUpload.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x40L;
    }

    @Override
    public Set<OFBsnLuaUploadFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnLuaUpload.Builder setFlags(Set<OFBsnLuaUploadFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public String getFilename() {
        return filename;
    }

    @Override
    public OFBsnLuaUpload.Builder setFilename(String filename) {
        this.filename = filename;
        this.filenameSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaUpload.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnLuaUpload build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnArpOffloadVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnArpOffloadVer14.java76
        throw new UnsupportedOperationException("OFInstructionIdBsnArpOffloadVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionIdBsnArpOffload> {
        @Override
        public OFInstructionIdBsnArpOffload readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x1L
            int subtype = bb.readInt();
            if(subtype != 0x1)
                throw new OFParseError("Wrong subtype: Expected=0x1L(0x1L), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionIdBsnArpOffloadVer13Funnel FUNNEL = new OFInstructionIdBsnArpOffloadVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnAutoNegotiationVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnAutoNegotiationVer14.java76
        throw new UnsupportedOperationException("OFInstructionIdBsnAutoNegotiationVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionIdBsnAutoNegotiation> {
        @Override
        public OFInstructionIdBsnAutoNegotiation readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xbL
            int subtype = bb.readInt();
            if(subtype != 0xb)
                throw new OFParseError("Wrong subtype: Expected=0xbL(0xbL), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionIdBsnAutoNegotiationVer13Funnel FUNNEL = new OFInstructionIdBsnAutoNegotiationVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnDenyVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnDenyVer14.java76
        throw new UnsupportedOperationException("OFInstructionIdBsnDenyVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionIdBsnDeny> {
        @Override
        public OFInstructionIdBsnDeny readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x5L
            int subtype = bb.readInt();
            if(subtype != 0x5)
                throw new OFParseError("Wrong subtype: Expected=0x5L(0x5L), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionIdBsnDenyVer13Funnel FUNNEL = new OFInstructionIdBsnDenyVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnDhcpOffloadVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnDhcpOffloadVer14.java76
        throw new UnsupportedOperationException("OFInstructionIdBsnDhcpOffloadVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionIdBsnDhcpOffload> {
        @Override
        public OFInstructionIdBsnDhcpOffload readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x2L
            int subtype = bb.readInt();
            if(subtype != 0x2)
                throw new OFParseError("Wrong subtype: Expected=0x2L(0x2L), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionIdBsnDhcpOffloadVer13Funnel FUNNEL = new OFInstructionIdBsnDhcpOffloadVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnDisableL3Ver13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnDisableL3Ver14.java76
        throw new UnsupportedOperationException("OFInstructionIdBsnDisableL3Ver13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionIdBsnDisableL3> {
        @Override
        public OFInstructionIdBsnDisableL3 readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xdL
            int subtype = bb.readInt();
            if(subtype != 0xd)
                throw new OFParseError("Wrong subtype: Expected=0xdL(0xdL), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionIdBsnDisableL3Ver13Funnel FUNNEL = new OFInstructionIdBsnDisableL3Ver13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnDisableSrcMacCheckVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnDisableSrcMacCheckVer14.java76
        throw new UnsupportedOperationException("OFInstructionIdBsnDisableSrcMacCheckVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionIdBsnDisableSrcMacCheck> {
        @Override
        public OFInstructionIdBsnDisableSrcMacCheck readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x0L
            int subtype = bb.readInt();
            if(subtype != 0x0)
                throw new OFParseError("Wrong subtype: Expected=0x0L(0x0L), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionIdBsnDisableSrcMacCheckVer13Funnel FUNNEL = new OFInstructionIdBsnDisableSrcMacCheckVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnDisableVlanCountersVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnDisableVlanCountersVer14.java76
        throw new UnsupportedOperationException("OFInstructionIdBsnDisableVlanCountersVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionIdBsnDisableVlanCounters> {
        @Override
        public OFInstructionIdBsnDisableVlanCounters readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x9L
            int subtype = bb.readInt();
            if(subtype != 0x9)
                throw new OFParseError("Wrong subtype: Expected=0x9L(0x9L), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionIdBsnDisableVlanCountersVer13Funnel FUNNEL = new OFInstructionIdBsnDisableVlanCountersVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnInternalPriorityVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnInternalPriorityVer14.java76
        throw new UnsupportedOperationException("OFInstructionIdBsnInternalPriorityVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionIdBsnInternalPriority> {
        @Override
        public OFInstructionIdBsnInternalPriority readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xcL
            int subtype = bb.readInt();
            if(subtype != 0xc)
                throw new OFParseError("Wrong subtype: Expected=0xcL(0xcL), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionIdBsnInternalPriorityVer13Funnel FUNNEL = new OFInstructionIdBsnInternalPriorityVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnPacketOfDeathVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnPacketOfDeathVer14.java76
        throw new UnsupportedOperationException("OFInstructionIdBsnPacketOfDeathVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionIdBsnPacketOfDeath> {
        @Override
        public OFInstructionIdBsnPacketOfDeath readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x6L
            int subtype = bb.readInt();
            if(subtype != 0x6)
                throw new OFParseError("Wrong subtype: Expected=0x6L(0x6L), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionIdBsnPacketOfDeathVer13Funnel FUNNEL = new OFInstructionIdBsnPacketOfDeathVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnPermitVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnPermitVer14.java76
        throw new UnsupportedOperationException("OFInstructionIdBsnPermitVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionIdBsnPermit> {
        @Override
        public OFInstructionIdBsnPermit readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x4L
            int subtype = bb.readInt();
            if(subtype != 0x4)
                throw new OFParseError("Wrong subtype: Expected=0x4L(0x4L), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionIdBsnPermitVer13Funnel FUNNEL = new OFInstructionIdBsnPermitVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnPrioritizePdusVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnPrioritizePdusVer14.java76
        throw new UnsupportedOperationException("OFInstructionIdBsnPrioritizePdusVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionIdBsnPrioritizePdus> {
        @Override
        public OFInstructionIdBsnPrioritizePdus readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x7L
            int subtype = bb.readInt();
            if(subtype != 0x7)
                throw new OFParseError("Wrong subtype: Expected=0x7L(0x7L), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionIdBsnPrioritizePdusVer13Funnel FUNNEL = new OFInstructionIdBsnPrioritizePdusVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnRequireVlanXlateVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnRequireVlanXlateVer14.java76
        throw new UnsupportedOperationException("OFInstructionIdBsnRequireVlanXlateVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionIdBsnRequireVlanXlate> {
        @Override
        public OFInstructionIdBsnRequireVlanXlate readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x8L
            int subtype = bb.readInt();
            if(subtype != 0x8)
                throw new OFParseError("Wrong subtype: Expected=0x8L(0x8L), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionIdBsnRequireVlanXlateVer13Funnel FUNNEL = new OFInstructionIdBsnRequireVlanXlateVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnSpanDestinationVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnSpanDestinationVer14.java76
        throw new UnsupportedOperationException("OFInstructionIdBsnSpanDestinationVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionIdBsnSpanDestination> {
        @Override
        public OFInstructionIdBsnSpanDestination readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xaL
            int subtype = bb.readInt();
            if(subtype != 0xa)
                throw new OFParseError("Wrong subtype: Expected=0xaL(0xaL), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionIdBsnSpanDestinationVer13Funnel FUNNEL = new OFInstructionIdBsnSpanDestinationVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaUploadVer14.java138
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaUploadVer14.java239
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaUpload.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x40L;
    }

    @Override
    public Set<OFBsnLuaUploadFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnLuaUpload.Builder setFlags(Set<OFBsnLuaUploadFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public String getFilename() {
        return filename;
    }

    @Override
    public OFBsnLuaUpload.Builder setFilename(String filename) {
        this.filename = filename;
        this.filenameSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaUpload.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnLuaUpload build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportL2GreVer10.java96
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreVer11.java96
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreVer12.java96
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreVer13.java96
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreVer14.java96
            throw new NullPointerException("OFBsnVportL2GreVer10: property ifName cannot be null");
        }
        this.flags = flags;
        this.portNo = portNo;
        this.loopbackPortNo = loopbackPortNo;
        this.localMac = localMac;
        this.nhMac = nhMac;
        this.srcIp = srcIp;
        this.dstIp = dstIp;
        this.dscp = dscp;
        this.ttl = ttl;
        this.vpn = vpn;
        this.rateLimit = rateLimit;
        this.ifName = ifName;
    }

    // Accessors for OF message fields
    @Override
    public int getType() {
        return 0x1;
    }

    @Override
    public Set<OFBsnVportL2GreFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPort getLoopbackPortNo() {
        return loopbackPortNo;
    }

    @Override
    public MacAddress getLocalMac() {
        return localMac;
    }

    @Override
    public MacAddress getNhMac() {
        return nhMac;
    }

    @Override
    public IPv4Address getSrcIp() {
        return srcIp;
    }

    @Override
    public IPv4Address getDstIp() {
        return dstIp;
    }

    @Override
    public short getDscp() {
        return dscp;
    }

    @Override
    public short getTtl() {
        return ttl;
    }

    @Override
    public long getVpn() {
        return vpn;
    }

    @Override
    public long getRateLimit() {
        return rateLimit;
    }

    @Override
    public String getIfName() {
        return ifName;
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java862
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java862
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java862
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java900
        StringBuilder b = new StringBuilder("OFPortStatsEntryVer10(");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("rxPackets=").append(rxPackets);
        b.append(", ");
        b.append("txPackets=").append(txPackets);
        b.append(", ");
        b.append("rxBytes=").append(rxBytes);
        b.append(", ");
        b.append("txBytes=").append(txBytes);
        b.append(", ");
        b.append("rxDropped=").append(rxDropped);
        b.append(", ");
        b.append("txDropped=").append(txDropped);
        b.append(", ");
        b.append("rxErrors=").append(rxErrors);
        b.append(", ");
        b.append("txErrors=").append(txErrors);
        b.append(", ");
        b.append("rxFrameErr=").append(rxFrameErr);
        b.append(", ");
        b.append("rxOverErr=").append(rxOverErr);
        b.append(", ");
        b.append("rxCrcErr=").append(rxCrcErr);
        b.append(", ");
        b.append("collisions=").append(collisions);
        b.append(")");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsRequestVer10.java122
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsRequestVer11.java122
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsRequestVer12.java122
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsRequestVer13.java122
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsRequestVer14.java122
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }


        @Override
        public OFPortStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");

                //
                return new OFPortStatsRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsRequestVer11.java122
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsRequestVer12.java122
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsRequestVer13.java122
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsRequestVer14.java122
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsRequest.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }


        @Override
        public OFGroupStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                OFGroup group = this.groupSet ? this.group : parentMessage.group;
                if(group == null)
                    throw new NullPointerException("Property group must not be null");

                //
                return new OFGroupStatsRequestVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLogVer13.java121
org/projectfloodlight/openflow/protocol/ver14/OFBsnLogVer14.java121
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLog.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3fL;
    }

    @Override
    public OFBsnLoglevel getLoglevel() {
        return loglevel;
    }

    @Override
    public OFBsnLog.Builder setLoglevel(OFBsnLoglevel loglevel) {
        this.loglevel = loglevel;
        this.loglevelSet = true;
        return this;
    }
    @Override
    public String getData() {
        return data;
    }

    @Override
    public OFBsnLog.Builder setData(String data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnLog build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFBsnLoglevel loglevel = this.loglevelSet ? this.loglevel : parentMessage.loglevel;
                if(loglevel == null)
                    throw new NullPointerException("Property loglevel must not be null");
                String data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFBsnLogVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesStatsReplyVer13.java117
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesStatsReplyVer14.java117
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterFeaturesStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_FEATURES;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterFeaturesStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFMeterFeatures getFeatures() {
        return features;
    }

    @Override
    public OFMeterFeaturesStatsReply.Builder setFeatures(OFMeterFeatures features) {
        this.features = features;
        this.featuresSet = true;
        return this;
    }


        @Override
        public OFMeterFeaturesStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                OFMeterFeatures features = this.featuresSet ? this.features : parentMessage.features;
                if(features == null)
                    throw new NullPointerException("Property features must not be null");

                //
                return new OFMeterFeaturesStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java459
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java459
            throw new UnsupportedOperationException("Property inPhyPort not supported in version 1.3");
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFPacketIn.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
//
        @Override
        public OFPacketIn build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            OFBufferId bufferId = this.bufferIdSet ? this.bufferId : DEFAULT_BUFFER_ID;
            if(bufferId == null)
                throw new NullPointerException("Property bufferId must not be null");
            int totalLen = this.totalLenSet ? this.totalLen : DEFAULT_TOTAL_LEN;
            if(!this.reasonSet)
                throw new IllegalStateException("Property reason doesn't have default value -- must be set");
            if(reason == null)
                throw new NullPointerException("Property reason must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            Match match = this.matchSet ? this.match : DEFAULT_MATCH;
            if(match == null)
                throw new NullPointerException("Property match must not be null");
            byte[] data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFPacketInVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowAddVer10.java812
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteStrictVer10.java811
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteVer10.java811
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyStrictVer10.java811
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyVer10.java811
        StringBuilder b = new StringBuilder("OFFlowAddVer10(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("match=").append(match);
        b.append(", ");
        b.append("cookie=").append(cookie);
        b.append(", ");
        b.append("idleTimeout=").append(idleTimeout);
        b.append(", ");
        b.append("hardTimeout=").append(hardTimeout);
        b.append(", ");
        b.append("priority=").append(priority);
        b.append(", ");
        b.append("bufferId=").append(bufferId);
        b.append(", ");
        b.append("outPort=").append(outPort);
        b.append(", ");
        b.append("flags=").append(flags);
        b.append(", ");
        b.append("actions=").append(actions);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java592
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java592
    }

//
        @Override
        public OFFlowStatsEntry build() {
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            long durationSec = this.durationSecSet ? this.durationSec : DEFAULT_DURATION_SEC;
            long durationNsec = this.durationNsecSet ? this.durationNsec : DEFAULT_DURATION_NSEC;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            U64 packetCount = this.packetCountSet ? this.packetCount : DEFAULT_PACKET_COUNT;
            if(packetCount == null)
                throw new NullPointerException("Property packetCount must not be null");
            U64 byteCount = this.byteCountSet ? this.byteCount : DEFAULT_BYTE_COUNT;
            if(byteCount == null)
                throw new NullPointerException("Property byteCount must not be null");
            Match match = this.matchSet ? this.match : DEFAULT_MATCH;
            if(match == null)
                throw new NullPointerException("Property match must not be null");
            List<OFInstruction> instructions = this.instructionsSet ? this.instructions : DEFAULT_INSTRUCTIONS;
            if(instructions == null)
                throw new NullPointerException("Property instructions must not be null");


            return new OFFlowStatsEntryVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsReplyVer13.java145
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsReplyVer14.java251
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xeL;
    }

    @Override
    public String getImageChecksum() {
        return imageChecksum;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setImageChecksum(String imageChecksum) {
        this.imageChecksum = imageChecksum;
        this.imageChecksumSet = true;
        return this;
    }
    @Override
    public String getStartupConfigChecksum() {
        return startupConfigChecksum;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setStartupConfigChecksum(String startupConfigChecksum) {
        this.startupConfigChecksum = startupConfigChecksum;
        this.startupConfigChecksumSet = true;
        return this;
    }


        @Override
        public OFBsnImageDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsReplyVer13.java251
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsReplyVer14.java145
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xeL;
    }

    @Override
    public String getImageChecksum() {
        return imageChecksum;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setImageChecksum(String imageChecksum) {
        this.imageChecksum = imageChecksum;
        this.imageChecksumSet = true;
        return this;
    }
    @Override
    public String getStartupConfigChecksum() {
        return startupConfigChecksum;
    }

    @Override
    public OFBsnImageDescStatsReply.Builder setStartupConfigChecksum(String startupConfigChecksum) {
        this.startupConfigChecksum = startupConfigChecksum;
        this.startupConfigChecksumSet = true;
        return this;
    }
//
        @Override
        public OFBsnImageDescStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteStrictVer13.java72
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteVer13.java72
net/onrc/openvirtex/messages/ver13/OVXFlowModifyStrictVer13.java72
net/onrc/openvirtex/messages/ver13/OVXFlowModifyVer13.java74
    private final Logger log = LogManager.getLogger(OVXFlowDeleteStrictVer13.class.getName());

    private OVXSwitch sw = null;
    private final List<OFAction> approvedActions = new LinkedList<OFAction>();

    private long ovxCookie = -1;

    @Override
    public void devirtualize(final OVXSwitch sw) {
        /* Drop LLDP-matching messages sent by some applications */
        if (((OFMatchV3)this.getMatch()).get(MatchField.ETH_TYPE) != null) {
            if (((OFMatchV3)this.getMatch()).get(MatchField.ETH_TYPE).getValue() == Ethernet.TYPE_LLDP) {
                return;
            }
        }

        this.sw = sw;
        FlowTable ft = this.sw.getFlowTable();

        int bufferId = OFBufferId.NO_BUFFER.getInt();
        if (sw.getFromBufferMap(this.bufferId.getInt()) != null) {
            bufferId = sw.getFromBufferMap(this.bufferId.getInt()).getBufferId().getInt();
        }
        short inport = -1;
        if (((OFMatchV3)this.getMatch()).get(MatchField.IN_PORT) != null) {
            inport = ((OFMatchV3) this.getMatch()).get(MatchField.IN_PORT).getShortPortNumber();
        }
FileLine
net/onrc/openvirtex/messages/actions/ver10/OVXActionOutputVer10.java152
net/onrc/openvirtex/messages/actions/ver13/OVXActionOutputVer13.java148
                                        match.getEthDst().getBytes());
                                OVXLinkUtils lUtils = new OVXLinkUtils(
                                        sw.getTenantId(), link.getLinkId(), flowId);
                                approvedActions.addAll(lUtils.unsetLinkFields(false, false));
                            } catch (IndexOutOfBoundException e) {
                                log.error(
                                        "Too many host to generate the flow pairs in this virtual network {}. "
                                                + "Dropping flow-mod {} ",
                                                sw.getTenantId(), fm);
                                throw new DroppedMessageException();
                            }
                        } else {
                            this.log.error(
                                    "Cannot retrieve the virtual link between ports {} {}, dropping message",
                                    dstPort, inPort);
                            return;
                        }
                    }


                    route.generateRouteFMs(fm.clone());
                    final short OFPP_IN_PORT_SHORT = (short) 0xFFf8;

                    // add the output action with the physical outPort (srcPort
                    // of the route)
                    if (inPort.getPhysicalPortNumber() != route
                            .getPathSrcPort().getPortNo().getShortPortNumber()) {
                        approvedActions.add(OVXFactoryInst.myFactory.actions().
                        		output(route.getPathSrcPort().getPortNo(), 0));
                    } else {
                        approvedActions.add(OVXFactoryInst.myFactory.actions().
                        		output(OFPort.IN_PORT, 0));
                    }
                } else {
                    /*
                     * SingleSwitch and BigSwitch with inPort & outPort
                     * belonging to the same physical switch
                     */
                    if (inPort.isEdge()) {
                        if (outPort.isEdge()) {
                            // TODO: this is logically incorrect, i have to do
                            // this because we always add the rewriting actions
                            // in the flowMod. Change it.
                            
                            if (GlobalConfig.bnvTagType == TAG.TOS) {
                                TenantMapperTos.prependUnRewriteActions((OFMatchV1) fm.getMatch(), approvedActions);
FileLine
net/onrc/openvirtex/messages/ver13/OVXFlowAddVer13.java412
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteStrictVer13.java271
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteVer13.java275
            flowMod = OVXFactoryInst.myOVXFactory.buildOVXFlowAdd(this.getXid(), this.getCookie(), this.getCookieMask(), this.getTableId(), this.getIdleTimeout(), this.getHardTimeout(), this.getPriority(), this.getBufferId(), this.getOutPort(), this.getOutGroup(), this.getFlags(), this.getMatch(), this.getInstructions());
        }
        return flowMod;
    }

    public Map<String, Object> toMap() {
        final Map<String, Object> map = new LinkedHashMap<String, Object>();
        if (this.match != null) {
            map.put("match", OVXFactoryInst.myOVXFactory.buildOVXMatchV3(match).toMap());
        }
        LinkedList<Map<String, Object>> actions = new LinkedList<Map<String, Object>>();

        for (OFAction act : this.getActions()) {
            try {
                actions.add(OVXUtil.actionToMap(act));
            } catch (UnknownActionException e) {
                log.warn("Ignoring action {} because {}", act, e.getMessage());
            }
        }
        map.put("instructionApplyActionsList", actions);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupAddVer11.java436
org/projectfloodlight/openflow/protocol/ver11/OFGroupDeleteVer11.java436
org/projectfloodlight/openflow/protocol/ver11/OFGroupModifyVer11.java436
org/projectfloodlight/openflow/protocol/ver12/OFGroupAddVer12.java436
org/projectfloodlight/openflow/protocol/ver12/OFGroupDeleteVer12.java436
org/projectfloodlight/openflow/protocol/ver12/OFGroupModifyVer12.java436
org/projectfloodlight/openflow/protocol/ver13/OFGroupAddVer13.java436
org/projectfloodlight/openflow/protocol/ver13/OFGroupDeleteVer13.java436
org/projectfloodlight/openflow/protocol/ver13/OFGroupModifyVer13.java436
org/projectfloodlight/openflow/protocol/ver14/OFGroupAddVer14.java436
org/projectfloodlight/openflow/protocol/ver14/OFGroupDeleteVer14.java436
org/projectfloodlight/openflow/protocol/ver14/OFGroupModifyVer14.java436
        OFGroupAddVer11 other = (OFGroupAddVer11) obj;

        if( xid != other.xid)
            return false;
        if (groupType == null) {
            if (other.groupType != null)
                return false;
        } else if (!groupType.equals(other.groupType))
            return false;
        if (group == null) {
            if (other.group != null)
                return false;
        } else if (!group.equals(other.group))
            return false;
        if (buckets == null) {
            if (other.buckets != null)
                return false;
        } else if (!buckets.equals(other.buckets))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((groupType == null) ? 0 : groupType.hashCode());
        result = prime * result + ((group == null) ? 0 : group.hashCode());
        result = prime * result + ((buckets == null) ? 0 : buckets.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsRequestVer13.java487
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsRequestVer14.java487
        OFBsnGenericStatsRequestVer13 other = (OFBsnGenericStatsRequestVer13) obj;

        if( xid != other.xid)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if (name == null) {
            if (other.name != null)
                return false;
        } else if (!name.equals(other.name))
            return false;
        if (tlvs == null) {
            if (other.tlvs != null)
                return false;
        } else if (!tlvs.equals(other.tlvs))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((name == null) ? 0 : name.hashCode());
        result = prime * result + ((tlvs == null) ? 0 : tlvs.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearRequestVer13.java452
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearRequestVer14.java452
        OFBsnGentableClearRequestVer13 other = (OFBsnGentableClearRequestVer13) obj;

        if( xid != other.xid)
            return false;
        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if (checksum == null) {
            if (other.checksum != null)
                return false;
        } else if (!checksum.equals(other.checksum))
            return false;
        if (checksumMask == null) {
            if (other.checksumMask != null)
                return false;
        } else if (!checksumMask.equals(other.checksumMask))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime * result + ((checksum == null) ? 0 : checksum.hashCode());
        result = prime * result + ((checksumMask == null) ? 0 : checksumMask.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsReplyVer13.java480
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsReplyVer14.java480
        OFBsnImageDescStatsReplyVer13 other = (OFBsnImageDescStatsReplyVer13) obj;

        if( xid != other.xid)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if (imageChecksum == null) {
            if (other.imageChecksum != null)
                return false;
        } else if (!imageChecksum.equals(other.imageChecksum))
            return false;
        if (startupConfigChecksum == null) {
            if (other.startupConfigChecksum != null)
                return false;
        } else if (!startupConfigChecksum.equals(other.startupConfigChecksum))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((imageChecksum == null) ? 0 : imageChecksum.hashCode());
        result = prime * result + ((startupConfigChecksum == null) ? 0 : startupConfigChecksum.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsEntryVer13.java640
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsEntryVer14.java640
        OFTableStatsEntryVer13 other = (OFTableStatsEntryVer13) obj;

        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if( activeCount != other.activeCount)
            return false;
        if (lookupCount == null) {
            if (other.lookupCount != null)
                return false;
        } else if (!lookupCount.equals(other.lookupCount))
            return false;
        if (matchedCount == null) {
            if (other.matchedCount != null)
                return false;
        } else if (!matchedCount.equals(other.matchedCount))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime *  (int) (activeCount ^ (activeCount >>> 32));
        result = prime * result + ((lookupCount == null) ? 0 : lookupCount.hashCode());
        result = prime * result + ((matchedCount == null) ? 0 : matchedCount.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java336
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java336
    }



        @Override
        public OFBsnLacpStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                int actorSysPriority = this.actorSysPrioritySet ? this.actorSysPriority : parentMessage.actorSysPriority;
                MacAddress actorSysMac = this.actorSysMacSet ? this.actorSysMac : parentMessage.actorSysMac;
                if(actorSysMac == null)
                    throw new NullPointerException("Property actorSysMac must not be null");
                int actorPortPriority = this.actorPortPrioritySet ? this.actorPortPriority : parentMessage.actorPortPriority;
                int actorPortNum = this.actorPortNumSet ? this.actorPortNum : parentMessage.actorPortNum;
                int actorKey = this.actorKeySet ? this.actorKey : parentMessage.actorKey;
                short convergenceStatus = this.convergenceStatusSet ? this.convergenceStatus : parentMessage.convergenceStatus;
                int partnerSysPriority = this.partnerSysPrioritySet ? this.partnerSysPriority : parentMessage.partnerSysPriority;
                MacAddress partnerSysMac = this.partnerSysMacSet ? this.partnerSysMac : parentMessage.partnerSysMac;
                if(partnerSysMac == null)
                    throw new NullPointerException("Property partnerSysMac must not be null");
                int partnerPortPriority = this.partnerPortPrioritySet ? this.partnerPortPriority : parentMessage.partnerPortPriority;
                int partnerPortNum = this.partnerPortNumSet ? this.partnerPortNum : parentMessage.partnerPortNum;
                int partnerKey = this.partnerKeySet ? this.partnerKey : parentMessage.partnerKey;

                //
                return new OFBsnLacpStatsEntryVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLogVer13.java205
org/projectfloodlight/openflow/protocol/ver14/OFBsnLogVer14.java205
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLog.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3fL;
    }

    @Override
    public OFBsnLoglevel getLoglevel() {
        return loglevel;
    }

    @Override
    public OFBsnLog.Builder setLoglevel(OFBsnLoglevel loglevel) {
        this.loglevel = loglevel;
        this.loglevelSet = true;
        return this;
    }
    @Override
    public String getData() {
        return data;
    }

    @Override
    public OFBsnLog.Builder setData(String data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBsnLog build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.loglevelSet)
                throw new IllegalStateException("Property loglevel doesn't have default value -- must be set");
            if(loglevel == null)
                throw new NullPointerException("Property loglevel must not be null");
            String data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFBsnLogVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesStatsReplyVer13.java196
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesStatsReplyVer14.java196
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterFeaturesStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_FEATURES;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterFeaturesStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFMeterFeatures getFeatures() {
        return features;
    }

    @Override
    public OFMeterFeaturesStatsReply.Builder setFeatures(OFMeterFeatures features) {
        this.features = features;
        this.featuresSet = true;
        return this;
    }
//
        @Override
        public OFMeterFeaturesStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            if(!this.featuresSet)
                throw new IllegalStateException("Property features doesn't have default value -- must be set");
            if(features == null)
                throw new NullPointerException("Property features must not be null");


            return new OFMeterFeaturesStatsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsRequestVer10.java201
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsRequestVer11.java201
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsRequestVer12.java201
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsRequestVer13.java201
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsRequestVer14.java201
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
//
        @Override
        public OFPortStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");

            return new OFPortStatsRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsRequestVer11.java201
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsRequestVer12.java201
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsRequestVer13.java201
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsRequestVer14.java201
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsRequest.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
//
        @Override
        public OFGroupStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            OFGroup group = this.groupSet ? this.group : DEFAULT_GROUP_ID;
            if(group == null)
                throw new NullPointerException("Property group must not be null");


            return new OFGroupStatsRequestVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java98
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java98
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java98
            throw new NullPointerException("OFPortDescVer11: property peer cannot be null");
        }
        this.portNo = portNo;
        this.hwAddr = hwAddr;
        this.name = name;
        this.config = config;
        this.state = state;
        this.curr = curr;
        this.advertised = advertised;
        this.supported = supported;
        this.peer = peer;
        this.currSpeed = currSpeed;
        this.maxSpeed = maxSpeed;
    }

    // Accessors for OF message fields
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public Set<OFPortConfig> getConfig() {
        return config;
    }

    @Override
    public Set<OFPortState> getState() {
        return state;
    }

    @Override
    public Set<OFPortFeatures> getCurr() {
        return curr;
    }

    @Override
    public Set<OFPortFeatures> getAdvertised() {
        return advertised;
    }

    @Override
    public Set<OFPortFeatures> getSupported() {
        return supported;
    }

    @Override
    public Set<OFPortFeatures> getPeer() {
        return peer;
    }

    @Override
    public long getCurrSpeed() {
        return currSpeed;
    }

    @Override
    public long getMaxSpeed() {
        return maxSpeed;
    }

    @Override
    public List<OFPortDescProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java651
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java666
                    flags,
                    cookie,
                    packetCount,
                    byteCount,
                    match,
                    instructions
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFFlowStatsEntry> {
        @Override
        public OFFlowStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            TableId tableId = TableId.readByte(bb);
            // pad: 1 bytes
            bb.skipBytes(1);
            long durationSec = U32.f(bb.readInt());
            long durationNsec = U32.f(bb.readInt());
            int priority = U16.f(bb.readShort());
            int idleTimeout = U16.f(bb.readShort());
            int hardTimeout = U16.f(bb.readShort());
            Set<OFFlowModFlags> flags = OFFlowModFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropTypeSerializerVer13.java46
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropTypeSerializerVer14.java47
    public final static short EXPERIMENTER_VAL = (short) 0xfffe;
    public final static short EXPERIMENTER_MISS_VAL = (short) 0xffff;

    public static OFTableFeaturePropType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFTableFeaturePropType e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFTableFeaturePropType e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFTableFeaturePropType ofWireValue(short val) {
        switch(val) {
            case INSTRUCTIONS_VAL:
                return OFTableFeaturePropType.INSTRUCTIONS;
            case INSTRUCTIONS_MISS_VAL:
                return OFTableFeaturePropType.INSTRUCTIONS_MISS;
            case NEXT_TABLES_VAL:
                return OFTableFeaturePropType.NEXT_TABLES;
            case NEXT_TABLES_MISS_VAL:
                return OFTableFeaturePropType.NEXT_TABLES_MISS;
            case WRITE_ACTIONS_VAL:
                return OFTableFeaturePropType.WRITE_ACTIONS;
            case WRITE_ACTIONS_MISS_VAL:
                return OFTableFeaturePropType.WRITE_ACTIONS_MISS;
            case APPLY_ACTIONS_VAL:
                return OFTableFeaturePropType.APPLY_ACTIONS;
            case APPLY_ACTIONS_MISS_VAL:
                return OFTableFeaturePropType.APPLY_ACTIONS_MISS;
            case MATCH_VAL:
                return OFTableFeaturePropType.MATCH;
            case WILDCARDS_VAL:
                return OFTableFeaturePropType.WILDCARDS;
            case WRITE_SETFIELD_VAL:
                return OFTableFeaturePropType.WRITE_SETFIELD;
            case WRITE_SETFIELD_MISS_VAL:
                return OFTableFeaturePropType.WRITE_SETFIELD_MISS;
            case APPLY_SETFIELD_VAL:
                return OFTableFeaturePropType.APPLY_SETFIELD;
            case APPLY_SETFIELD_MISS_VAL:
                return OFTableFeaturePropType.APPLY_SETFIELD_MISS;
            case EXPERIMENTER_VAL:
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java567
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java567
            return new OFBsnLacpStatsEntryVer13(
                    portNo,
                    actorSysPriority,
                    actorSysMac,
                    actorPortPriority,
                    actorPortNum,
                    actorKey,
                    convergenceStatus,
                    partnerSysPriority,
                    partnerSysMac,
                    partnerPortPriority,
                    partnerPortNum,
                    partnerKey
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnLacpStatsEntry> {
        @Override
        public OFBsnLacpStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            OFPort portNo = OFPort.read4Bytes(bb);
            int actorSysPriority = U16.f(bb.readShort());
            MacAddress actorSysMac = MacAddress.read6Bytes(bb);
            int actorPortPriority = U16.f(bb.readShort());
            int actorPortNum = U16.f(bb.readShort());
            int actorKey = U16.f(bb.readShort());
            short convergenceStatus = U8.f(bb.readByte());
            // pad: 1 bytes
            bb.skipBytes(1);
            int partnerSysPriority = U16.f(bb.readShort());
            MacAddress partnerSysMac = MacAddress.read6Bytes(bb);
            int partnerPortPriority = U16.f(bb.readShort());
            int partnerPortNum = U16.f(bb.readShort());
            int partnerKey = U16.f(bb.readShort());
            // pad: 2 bytes
            bb.skipBytes(2);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java747
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java803
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java803
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java803
        } else if (!peer.equals(other.peer))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime * result + ((hwAddr == null) ? 0 : hwAddr.hashCode());
        result = prime * result + ((name == null) ? 0 : name.hashCode());
        result = prime * result + ((config == null) ? 0 : config.hashCode());
        result = prime * result + ((state == null) ? 0 : state.hashCode());
        result = prime * result + ((curr == null) ? 0 : curr.hashCode());
        result = prime * result + ((advertised == null) ? 0 : advertised.hashCode());
        result = prime * result + ((supported == null) ? 0 : supported.hashCode());
        result = prime * result + ((peer == null) ? 0 : peer.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java363
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java363
            return new OFGroupStatsEntryVer11(
                    group,
                    refCount,
                    packetCount,
                    byteCount,
                    bucketStats
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFGroupStatsEntry> {
        @Override
        public OFGroupStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 2 bytes
            bb.skipBytes(2);
            OFGroup group = OFGroup.read4Bytes(bb);
            long refCount = U32.f(bb.readInt());
            // pad: 4 bytes
            bb.skipBytes(4);
            U64 packetCount = U64.ofRaw(bb.readLong());
            U64 byteCount = U64.ofRaw(bb.readLong());
            List<OFBucketCounter> bucketStats = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFBucketCounterVer11.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesVer13.java122
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesVer13.java217
    @Override
    public long getMaxMeter() {
        return maxMeter;
    }

    @Override
    public OFMeterFeatures.Builder setMaxMeter(long maxMeter) {
        this.maxMeter = maxMeter;
        this.maxMeterSet = true;
        return this;
    }
    @Override
    public long getBandTypes() {
        return bandTypes;
    }

    @Override
    public OFMeterFeatures.Builder setBandTypes(long bandTypes) {
        this.bandTypes = bandTypes;
        this.bandTypesSet = true;
        return this;
    }
    @Override
    public long getCapabilities() {
        return capabilities;
    }

    @Override
    public OFMeterFeatures.Builder setCapabilities(long capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public short getMaxBands() {
        return maxBands;
    }

    @Override
    public OFMeterFeatures.Builder setMaxBands(short maxBands) {
        this.maxBands = maxBands;
        this.maxBandsSet = true;
        return this;
    }
    @Override
    public short getMaxColor() {
        return maxColor;
    }

    @Override
    public OFMeterFeatures.Builder setMaxColor(short maxColor) {
        this.maxColor = maxColor;
        this.maxColorSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFMeterFeatures build() {
                long maxMeter = this.maxMeterSet ? this.maxMeter : parentMessage.maxMeter;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesVer14.java122
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesVer14.java217
    @Override
    public long getMaxMeter() {
        return maxMeter;
    }

    @Override
    public OFMeterFeatures.Builder setMaxMeter(long maxMeter) {
        this.maxMeter = maxMeter;
        this.maxMeterSet = true;
        return this;
    }
    @Override
    public long getBandTypes() {
        return bandTypes;
    }

    @Override
    public OFMeterFeatures.Builder setBandTypes(long bandTypes) {
        this.bandTypes = bandTypes;
        this.bandTypesSet = true;
        return this;
    }
    @Override
    public long getCapabilities() {
        return capabilities;
    }

    @Override
    public OFMeterFeatures.Builder setCapabilities(long capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public short getMaxBands() {
        return maxBands;
    }

    @Override
    public OFMeterFeatures.Builder setMaxBands(short maxBands) {
        this.maxBands = maxBands;
        this.maxBandsSet = true;
        return this;
    }
    @Override
    public short getMaxColor() {
        return maxColor;
    }

    @Override
    public OFMeterFeatures.Builder setMaxColor(short maxColor) {
        this.maxColor = maxColor;
        this.maxColorSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFMeterFeatures build() {
                long maxMeter = this.maxMeterSet ? this.maxMeter : parentMessage.maxMeter;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBadActionErrorMsgVer10.java116
org/projectfloodlight/openflow/protocol/ver11/OFBadActionErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFBadActionErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFBadActionErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFBadActionErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadActionErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_ACTION;
    }

    @Override
    public OFBadActionCode getCode() {
        return code;
    }

    @Override
    public OFBadActionErrorMsg.Builder setCode(OFBadActionCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadActionErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadActionErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFBadActionCode code = this.codeSet ? this.code : parentMessage.code;
                if(code == null)
                    throw new NullPointerException("Property code must not be null");
                OFErrorCauseData data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFBadActionErrorMsgVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBadRequestErrorMsgVer10.java116
org/projectfloodlight/openflow/protocol/ver11/OFBadRequestErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFBadRequestErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFBadRequestErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFBadRequestErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_REQUEST;
    }

    @Override
    public OFBadRequestCode getCode() {
        return code;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setCode(OFBadRequestCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadRequestErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFBadRequestCode code = this.codeSet ? this.code : parentMessage.code;
                if(code == null)
                    throw new NullPointerException("Property code must not be null");
                OFErrorCauseData data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFBadRequestErrorMsgVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxReplyVer10.java130
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxReplyVer10.java227
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x22L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnPduRxReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxReply.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxReplyVer10.java130
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxReplyVer10.java227
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduTxReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x20L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnPduTxReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduTxReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduTxReply.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduTxReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetL2TableReplyVer10.java127
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetL2TableReplyVer10.java222
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetL2TableReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x18L;
    }

    @Override
    public boolean isL2TableEnable() {
        return l2TableEnable;
    }

    @Override
    public OFBsnSetL2TableReply.Builder setL2TableEnable(boolean l2TableEnable) {
        this.l2TableEnable = l2TableEnable;
        this.l2TableEnableSet = true;
        return this;
    }
    @Override
    public int getL2TablePriority() {
        return l2TablePriority;
    }

    @Override
    public OFBsnSetL2TableReply.Builder setL2TablePriority(int l2TablePriority) {
        this.l2TablePriority = l2TablePriority;
        this.l2TablePrioritySet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetL2TableReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnSetL2TableReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowModFailedErrorMsgVer10.java116
org/projectfloodlight/openflow/protocol/ver11/OFFlowModFailedErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFFlowModFailedErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFFlowModFailedErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFFlowModFailedErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.FLOW_MOD_FAILED;
    }

    @Override
    public OFFlowModFailedCode getCode() {
        return code;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setCode(OFFlowModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFFlowModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFFlowModFailedCode code = this.codeSet ? this.code : parentMessage.code;
                if(code == null)
                    throw new NullPointerException("Property code must not be null");
                OFErrorCauseData data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFFlowModFailedErrorMsgVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFHelloFailedErrorMsgVer10.java116
org/projectfloodlight/openflow/protocol/ver11/OFHelloFailedErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFHelloFailedErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFHelloFailedErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFHelloFailedErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.HELLO_FAILED;
    }

    @Override
    public OFHelloFailedCode getCode() {
        return code;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setCode(OFHelloFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFHelloFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFHelloFailedCode code = this.codeSet ? this.code : parentMessage.code;
                if(code == null)
                    throw new NullPointerException("Property code must not be null");
                OFErrorCauseData data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFHelloFailedErrorMsgVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java212
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java222
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java222
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java222
org/projectfloodlight/openflow/protocol/ver14/OFPortDescVer14.java189
        BuilderWithParent(OFPortDescVer10 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortDesc.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortDesc.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFPortDesc.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public Set<OFPortConfig> getConfig() {
        return config;
    }

    @Override
    public OFPortDesc.Builder setConfig(Set<OFPortConfig> config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public Set<OFPortState> getState() {
        return state;
    }

    @Override
    public OFPortDesc.Builder setState(Set<OFPortState> state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getCurr() {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortModFailedErrorMsgVer10.java116
org/projectfloodlight/openflow/protocol/ver11/OFPortModFailedErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFPortModFailedErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFPortModFailedErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFPortModFailedErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.PORT_MOD_FAILED;
    }

    @Override
    public OFPortModFailedCode getCode() {
        return code;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setCode(OFPortModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFPortModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFPortModFailedCode code = this.codeSet ? this.code : parentMessage.code;
                if(code == null)
                    throw new NullPointerException("Property code must not be null");
                OFErrorCauseData data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFPortModFailedErrorMsgVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueOpFailedErrorMsgVer10.java116
org/projectfloodlight/openflow/protocol/ver11/OFQueueOpFailedErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFQueueOpFailedErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFQueueOpFailedErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFQueueOpFailedErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.QUEUE_OP_FAILED;
    }

    @Override
    public OFQueueOpFailedCode getCode() {
        return code;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setCode(OFQueueOpFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFQueueOpFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFQueueOpFailedCode code = this.codeSet ? this.code : parentMessage.code;
                if(code == null)
                    throw new NullPointerException("Property code must not be null");
                OFErrorCauseData data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFQueueOpFailedErrorMsgVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBadInstructionErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFBadInstructionErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFBadInstructionErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFBadInstructionErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_INSTRUCTION;
    }

    @Override
    public OFBadInstructionCode getCode() {
        return code;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setCode(OFBadInstructionCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadInstructionErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFBadInstructionCode code = this.codeSet ? this.code : parentMessage.code;
                if(code == null)
                    throw new NullPointerException("Property code must not be null");
                OFErrorCauseData data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFBadInstructionErrorMsgVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBadMatchErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFBadMatchErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFBadMatchErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFBadMatchErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_MATCH;
    }

    @Override
    public OFBadMatchCode getCode() {
        return code;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setCode(OFBadMatchCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadMatchErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFBadMatchCode code = this.codeSet ? this.code : parentMessage.code;
                if(code == null)
                    throw new NullPointerException("Property code must not be null");
                OFErrorCauseData data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFBadMatchErrorMsgVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxReplyVer11.java130
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxReplyVer11.java227
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x22L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnPduRxReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxReply.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxReplyVer11.java130
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxReplyVer11.java227
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduTxReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x20L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnPduTxReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduTxReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduTxReply.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduTxReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFCapabilitiesSerializerVer11.java44
org/projectfloodlight/openflow/protocol/ver12/OFCapabilitiesSerializerVer12.java44
org/projectfloodlight/openflow/protocol/ver13/OFCapabilitiesSerializerVer13.java44
org/projectfloodlight/openflow/protocol/ver14/OFCapabilitiesSerializerVer14.java44
    public static Set<OFCapabilities> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFCapabilities> set) {
        bb.writeInt(toWireValue(set));
    }

    public static void putTo(Set<OFCapabilities> set, PrimitiveSink sink) {
        sink.putInt(toWireValue(set));
    }


    public static Set<OFCapabilities> ofWireValue(int val) {
        EnumSet<OFCapabilities> set = EnumSet.noneOf(OFCapabilities.class);

        if((val & FLOW_STATS_VAL) != 0)
            set.add(OFCapabilities.FLOW_STATS);
        if((val & TABLE_STATS_VAL) != 0)
            set.add(OFCapabilities.TABLE_STATS);
        if((val & PORT_STATS_VAL) != 0)
            set.add(OFCapabilities.PORT_STATS);
        if((val & IP_REASM_VAL) != 0)
            set.add(OFCapabilities.IP_REASM);
        if((val & QUEUE_STATS_VAL) != 0)
            set.add(OFCapabilities.QUEUE_STATS);
        if((val & ARP_MATCH_IP_VAL) != 0)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupModFailedErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFGroupModFailedErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFGroupModFailedErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFGroupModFailedErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.GROUP_MOD_FAILED;
    }

    @Override
    public OFGroupModFailedCode getCode() {
        return code;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setCode(OFGroupModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFGroupModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFGroupModFailedCode code = this.codeSet ? this.code : parentMessage.code;
                if(code == null)
                    throw new NullPointerException("Property code must not be null");
                OFErrorCauseData data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFGroupModFailedErrorMsgVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java39
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java39
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java39
    final static int LENGTH = 64;

        private final static OFPort DEFAULT_PORT_NO = OFPort.ANY;
        private final static MacAddress DEFAULT_HW_ADDR = MacAddress.NONE;
        private final static String DEFAULT_NAME = "";
        private final static Set<OFPortConfig> DEFAULT_CONFIG = ImmutableSet.<OFPortConfig>of();
        private final static Set<OFPortState> DEFAULT_STATE = ImmutableSet.<OFPortState>of();
        private final static Set<OFPortFeatures> DEFAULT_CURR = ImmutableSet.<OFPortFeatures>of();
        private final static Set<OFPortFeatures> DEFAULT_ADVERTISED = ImmutableSet.<OFPortFeatures>of();
        private final static Set<OFPortFeatures> DEFAULT_SUPPORTED = ImmutableSet.<OFPortFeatures>of();
        private final static Set<OFPortFeatures> DEFAULT_PEER = ImmutableSet.<OFPortFeatures>of();
        private final static long DEFAULT_CURR_SPEED = 0x0L;
        private final static long DEFAULT_MAX_SPEED = 0x0L;

    // OF message fields
    private final OFPort portNo;
    private final MacAddress hwAddr;
    private final String name;
    private final Set<OFPortConfig> config;
    private final Set<OFPortState> state;
    private final Set<OFPortFeatures> curr;
    private final Set<OFPortFeatures> advertised;
    private final Set<OFPortFeatures> supported;
    private final Set<OFPortFeatures> peer;
    private final long currSpeed;
    private final long maxSpeed;
//
    // Immutable default instance
    final static OFPortDescVer11 DEFAULT = new OFPortDescVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFSwitchConfigFailedErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFSwitchConfigFailedErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFSwitchConfigFailedErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFSwitchConfigFailedErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.SWITCH_CONFIG_FAILED;
    }

    @Override
    public OFSwitchConfigFailedCode getCode() {
        return code;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setCode(OFSwitchConfigFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFSwitchConfigFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFSwitchConfigFailedCode code = this.codeSet ? this.code : parentMessage.code;
                if(code == null)
                    throw new NullPointerException("Property code must not be null");
                OFErrorCauseData data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFSwitchConfigFailedErrorMsgVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableModFailedErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFTableModFailedErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFTableModFailedErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFTableModFailedErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.TABLE_MOD_FAILED;
    }

    @Override
    public OFTableModFailedCode getCode() {
        return code;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setCode(OFTableModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFTableModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFTableModFailedCode code = this.codeSet ? this.code : parentMessage.code;
                if(code == null)
                    throw new NullPointerException("Property code must not be null");
                OFErrorCauseData data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFTableModFailedErrorMsgVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxReplyVer12.java130
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxReplyVer12.java227
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x22L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnPduRxReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxReply.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxReplyVer12.java130
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxReplyVer12.java227
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduTxReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x20L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnPduTxReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduTxReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduTxReply.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduTxReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestFailedErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestFailedErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestFailedErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.ROLE_REQUEST_FAILED;
    }

    @Override
    public OFRoleRequestFailedCode getCode() {
        return code;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setCode(OFRoleRequestFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFRoleRequestFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFRoleRequestFailedCode code = this.codeSet ? this.code : parentMessage.code;
                if(code == null)
                    throw new NullPointerException("Property code must not be null");
                OFErrorCauseData data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFRoleRequestFailedErrorMsgVer12(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsReplyVer13.java341
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsReplyVer13.java341
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortsReplyVer13.java303
        public OFBsnDebugCounterDescStatsReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer13.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsRequestVer13.java348
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsRequestVer13.java512
        public OFBsnGenericStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer13.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearReplyVer13.java125
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearReplyVer13.java222
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableClearReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x31L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableClearReply.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDeletedCount() {
        return deletedCount;
    }

    @Override
    public OFBsnGentableClearReply.Builder setDeletedCount(long deletedCount) {
        this.deletedCount = deletedCount;
        this.deletedCountSet = true;
        return this;
    }
    @Override
    public long getErrorCount() {
        return errorCount;
    }

    @Override
    public OFBsnGentableClearReply.Builder setErrorCount(long errorCount) {
        this.errorCount = errorCount;
        this.errorCountSet = true;
        return this;
    }


        @Override
        public OFBsnGentableClearReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearRequestVer13.java131
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearRequestVer13.java232
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x30L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setChecksumMask(U128 checksumMask) {
        this.checksumMask = checksumMask;
        this.checksumMaskSet = true;
        return this;
    }


        @Override
        public OFBsnGentableClearRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxReplyVer13.java130
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxReplyVer13.java227
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x22L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnPduRxReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxReply.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxReplyVer13.java130
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxReplyVer13.java227
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduTxReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x20L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnPduTxReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduTxReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduTxReply.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduTxReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnRoleStatusVer13.java130
org/projectfloodlight/openflow/protocol/ver13/OFBsnRoleStatusVer13.java231
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnRoleStatus.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x37L;
    }

    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFBsnRoleStatus.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public OFBsnControllerRoleReason getReason() {
        return reason;
    }

    @Override
    public OFBsnRoleStatus.Builder setReason(OFBsnControllerRoleReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public U64 getGenerationId() {
        return generationId;
    }

    @Override
    public OFBsnRoleStatus.Builder setGenerationId(U64 generationId) {
        this.generationId = generationId;
        this.generationIdSet = true;
        return this;
    }


        @Override
        public OFBsnRoleStatus build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterModFailedErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFMeterModFailedErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.METER_MOD_FAILED;
    }

    @Override
    public OFMeterModFailedCode getCode() {
        return code;
    }

    @Override
    public OFMeterModFailedErrorMsg.Builder setCode(OFMeterModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFMeterModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFMeterModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFMeterModFailedCode code = this.codeSet ? this.code : parentMessage.code;
                if(code == null)
                    throw new NullPointerException("Property code must not be null");
                OFErrorCauseData data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFMeterModFailedErrorMsgVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesFailedErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesFailedErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableFeaturesFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.TABLE_FEATURES_FAILED;
    }

    @Override
    public OFTableFeaturesFailedCode getCode() {
        return code;
    }

    @Override
    public OFTableFeaturesFailedErrorMsg.Builder setCode(OFTableFeaturesFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFTableFeaturesFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFTableFeaturesFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFTableFeaturesFailedCode code = this.codeSet ? this.code : parentMessage.code;
                if(code == null)
                    throw new NullPointerException("Property code must not be null");
                OFErrorCauseData data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFTableFeaturesFailedErrorMsgVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearReplyVer14.java125
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearReplyVer14.java222
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableClearReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x31L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableClearReply.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDeletedCount() {
        return deletedCount;
    }

    @Override
    public OFBsnGentableClearReply.Builder setDeletedCount(long deletedCount) {
        this.deletedCount = deletedCount;
        this.deletedCountSet = true;
        return this;
    }
    @Override
    public long getErrorCount() {
        return errorCount;
    }

    @Override
    public OFBsnGentableClearReply.Builder setErrorCount(long errorCount) {
        this.errorCount = errorCount;
        this.errorCountSet = true;
        return this;
    }


        @Override
        public OFBsnGentableClearReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearRequestVer14.java131
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearRequestVer14.java232
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x30L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setChecksumMask(U128 checksumMask) {
        this.checksumMask = checksumMask;
        this.checksumMaskSet = true;
        return this;
    }


        @Override
        public OFBsnGentableClearRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxReplyVer14.java130
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxReplyVer14.java227
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x22L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnPduRxReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxReply.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxReplyVer14.java130
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxReplyVer14.java227
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduTxReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x20L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnPduTxReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduTxReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduTxReply.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduTxReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java37
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java37
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java37
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java37
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java37
    private static final Logger logger = LoggerFactory.getLogger(OFFlowAddVer14.class);
    // version: 1.4
    final static byte WIRE_VERSION = 5;
    final static int MINIMUM_LENGTH = 56;

        private final static long DEFAULT_XID = 0x0L;
        private final static U64 DEFAULT_COOKIE = U64.ZERO;
        private final static U64 DEFAULT_COOKIE_MASK = U64.ZERO;
        private final static TableId DEFAULT_TABLE_ID = TableId.ZERO;
        private final static int DEFAULT_IDLE_TIMEOUT = 0x0;
        private final static int DEFAULT_HARD_TIMEOUT = 0x0;
        private final static int DEFAULT_PRIORITY = 0x0;
        private final static OFBufferId DEFAULT_BUFFER_ID = OFBufferId.NO_BUFFER;
        private final static OFPort DEFAULT_OUT_PORT = OFPort.ANY;
        private final static OFGroup DEFAULT_OUT_GROUP = OFGroup.ANY;
        private final static Set<OFFlowModFlags> DEFAULT_FLAGS = ImmutableSet.<OFFlowModFlags>of();
        private final static int DEFAULT_IMPORTANCE = 0x0;
        private final static Match DEFAULT_MATCH = OFFactoryVer14.MATCH_WILDCARD_ALL;
        private final static List<OFInstruction> DEFAULT_INSTRUCTIONS = ImmutableList.<OFInstruction>of();

    // OF message fields
    private final long xid;
    private final U64 cookie;
    private final U64 cookieMask;
    private final TableId tableId;
    private final int idleTimeout;
    private final int hardTimeout;
    private final int priority;
    private final OFBufferId bufferId;
    private final OFPort outPort;
    private final OFGroup outGroup;
    private final Set<OFFlowModFlags> flags;
    private final int importance;
    private final Match match;
    private final List<OFInstruction> instructions;
//
    // Immutable default instance
    final static OFFlowAddVer14 DEFAULT = new OFFlowAddVer14(
FileLine
org/projectfloodlight/openflow/protocol/OFFlowAdd.java55
org/projectfloodlight/openflow/protocol/OFFlowDelete.java55
org/projectfloodlight/openflow/protocol/OFFlowDeleteStrict.java55
org/projectfloodlight/openflow/protocol/OFFlowModify.java55
org/projectfloodlight/openflow/protocol/OFFlowModifyStrict.java55
        OFFlowAdd build();
        OFVersion getVersion();
        OFType getType();
        long getXid();
        Builder setXid(long xid);
        U64 getCookie();
        Builder setCookie(U64 cookie);
        U64 getCookieMask() throws UnsupportedOperationException;
        Builder setCookieMask(U64 cookieMask) throws UnsupportedOperationException;
        TableId getTableId() throws UnsupportedOperationException;
        Builder setTableId(TableId tableId) throws UnsupportedOperationException;
        OFFlowModCommand getCommand();
        int getIdleTimeout();
        Builder setIdleTimeout(int idleTimeout);
        int getHardTimeout();
        Builder setHardTimeout(int hardTimeout);
        int getPriority();
        Builder setPriority(int priority);
        OFBufferId getBufferId();
        Builder setBufferId(OFBufferId bufferId);
        OFPort getOutPort();
        Builder setOutPort(OFPort outPort);
        OFGroup getOutGroup() throws UnsupportedOperationException;
        Builder setOutGroup(OFGroup outGroup) throws UnsupportedOperationException;
        Set<OFFlowModFlags> getFlags();
        Builder setFlags(Set<OFFlowModFlags> flags);
        Match getMatch();
        Builder setMatch(Match match);
        List<OFInstruction> getInstructions() throws UnsupportedOperationException;
        Builder setInstructions(List<OFInstruction> instructions) throws UnsupportedOperationException;
        List<OFAction> getActions() throws UnsupportedOperationException;
        Builder setActions(List<OFAction> actions) throws UnsupportedOperationException;
        int getImportance() throws UnsupportedOperationException;
        Builder setImportance(int importance) throws UnsupportedOperationException;
    }
}
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java142
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java142
        BuilderWithParent(OFGroupStatsEntryVer11 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public long getRefCount() {
        return refCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setRefCount(long refCount) {
        this.refCount = refCount;
        this.refCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public List<OFBucketCounter> getBucketStats() {
        return bucketStats;
    }

    @Override
    public OFGroupStatsEntry.Builder setBucketStats(List<OFBucketCounter> bucketStats) {
        this.bucketStats = bucketStats;
        this.bucketStatsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaUploadVer13.java141
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaUploadVer14.java242
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaUpload.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x40L;
    }

    @Override
    public Set<OFBsnLuaUploadFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnLuaUpload.Builder setFlags(Set<OFBsnLuaUploadFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public String getFilename() {
        return filename;
    }

    @Override
    public OFBsnLuaUpload.Builder setFilename(String filename) {
        this.filename = filename;
        this.filenameSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaUpload.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnLuaUpload build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaUploadVer13.java242
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaUploadVer14.java141
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaUpload.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x40L;
    }

    @Override
    public Set<OFBsnLuaUploadFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnLuaUpload.Builder setFlags(Set<OFBsnLuaUploadFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public String getFilename() {
        return filename;
    }

    @Override
    public OFBsnLuaUpload.Builder setFilename(String filename) {
        this.filename = filename;
        this.filenameSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaUpload.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBsnLuaUpload build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxTimeoutVer10.java123
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxTimeoutVer11.java123
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxTimeoutVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxTimeoutVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxTimeoutVer14.java123
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x23L;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxTimeout build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                short slotNum = this.slotNumSet ? this.slotNum : parentMessage.slotNum;

                //
                return new OFBsnPduRxTimeoutVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java439
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java439
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java439
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java453
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsEntryVer14.java426
                U64 rxPackets = this.rxPacketsSet ? this.rxPackets : parentMessage.rxPackets;
                if(rxPackets == null)
                    throw new NullPointerException("Property rxPackets must not be null");
                U64 txPackets = this.txPacketsSet ? this.txPackets : parentMessage.txPackets;
                if(txPackets == null)
                    throw new NullPointerException("Property txPackets must not be null");
                U64 rxBytes = this.rxBytesSet ? this.rxBytes : parentMessage.rxBytes;
                if(rxBytes == null)
                    throw new NullPointerException("Property rxBytes must not be null");
                U64 txBytes = this.txBytesSet ? this.txBytes : parentMessage.txBytes;
                if(txBytes == null)
                    throw new NullPointerException("Property txBytes must not be null");
                U64 rxDropped = this.rxDroppedSet ? this.rxDropped : parentMessage.rxDropped;
                if(rxDropped == null)
                    throw new NullPointerException("Property rxDropped must not be null");
                U64 txDropped = this.txDroppedSet ? this.txDropped : parentMessage.txDropped;
                if(txDropped == null)
                    throw new NullPointerException("Property txDropped must not be null");
                U64 rxErrors = this.rxErrorsSet ? this.rxErrors : parentMessage.rxErrors;
                if(rxErrors == null)
                    throw new NullPointerException("Property rxErrors must not be null");
                U64 txErrors = this.txErrorsSet ? this.txErrors : parentMessage.txErrors;
                if(txErrors == null)
                    throw new NullPointerException("Property txErrors must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsRequestVer10.java129
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsRequestVer10.java223
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.QUEUE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFQueueStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsRequest.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }


        @Override
        public OFQueueStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java628
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java628
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java651
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java666
                    hardTimeout,
                    cookie,
                    packetCount,
                    byteCount,
                    match,
                    instructions
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFFlowStatsEntry> {
        @Override
        public OFFlowStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            TableId tableId = TableId.readByte(bb);
            // pad: 1 bytes
            bb.skipBytes(1);
            long durationSec = U32.f(bb.readInt());
            long durationNsec = U32.f(bb.readInt());
            int priority = U16.f(bb.readShort());
            int idleTimeout = U16.f(bb.readShort());
            int hardTimeout = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupAddVer11.java128
org/projectfloodlight/openflow/protocol/ver11/OFGroupAddVer11.java224
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.ADD;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupAdd.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupAdd.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupAdd.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }


        @Override
        public OFGroupAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDeleteVer11.java128
org/projectfloodlight/openflow/protocol/ver11/OFGroupDeleteVer11.java224
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.DELETE;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupDelete.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupDelete.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupDelete.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }


        @Override
        public OFGroupDelete build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupModifyVer11.java128
org/projectfloodlight/openflow/protocol/ver11/OFGroupModifyVer11.java224
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupModify.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.MODIFY;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupModify.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupModify.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupModify.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }


        @Override
        public OFGroupModify build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsRequestVer11.java129
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsRequestVer11.java223
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.QUEUE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFQueueStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsRequest.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }


        @Override
        public OFQueueStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupAddVer12.java128
org/projectfloodlight/openflow/protocol/ver12/OFGroupAddVer12.java224
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.ADD;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupAdd.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupAdd.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupAdd.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }


        @Override
        public OFGroupAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupDeleteVer12.java128
org/projectfloodlight/openflow/protocol/ver12/OFGroupDeleteVer12.java224
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.DELETE;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupDelete.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupDelete.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupDelete.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }


        @Override
        public OFGroupDelete build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupModifyVer12.java128
org/projectfloodlight/openflow/protocol/ver12/OFGroupModifyVer12.java224
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupModify.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.MODIFY;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupModify.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupModify.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupModify.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }


        @Override
        public OFGroupModify build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsRequestVer12.java129
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsRequestVer12.java223
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.QUEUE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFQueueStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsRequest.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }


        @Override
        public OFQueueStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnArpIdleVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFBsnArpIdleVer14.java123
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnArpIdle.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3cL;
    }

    @Override
    public int getVlanVid() {
        return vlanVid;
    }

    @Override
    public OFBsnArpIdle.Builder setVlanVid(int vlanVid) {
        this.vlanVid = vlanVid;
        this.vlanVidSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Addr() {
        return ipv4Addr;
    }

    @Override
    public OFBsnArpIdle.Builder setIpv4Addr(IPv4Address ipv4Addr) {
        this.ipv4Addr = ipv4Addr;
        this.ipv4AddrSet = true;
        return this;
    }


        @Override
        public OFBsnArpIdle build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                int vlanVid = this.vlanVidSet ? this.vlanVid : parentMessage.vlanVid;
                IPv4Address ipv4Addr = this.ipv4AddrSet ? this.ipv4Addr : parentMessage.ipv4Addr;
                if(ipv4Addr == null)
                    throw new NullPointerException("Property ipv4Addr must not be null");

                //
                return new OFBsnArpIdleVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableSetBucketsSizeVer13.java118
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableSetBucketsSizeVer14.java118
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableSetBucketsSize.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x32L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableSetBucketsSize.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getBucketsSize() {
        return bucketsSize;
    }

    @Override
    public OFBsnGentableSetBucketsSize.Builder setBucketsSize(long bucketsSize) {
        this.bucketsSize = bucketsSize;
        this.bucketsSizeSet = true;
        return this;
    }


        @Override
        public OFBsnGentableSetBucketsSize build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                GenTableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                long bucketsSize = this.bucketsSizeSet ? this.bucketsSize : parentMessage.bucketsSize;

                //
                return new OFBsnGentableSetBucketsSizeVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpReplyVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpReplyVer14.java123
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetLacpReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2aL;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetLacpReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnSetLacpReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }


        @Override
        public OFBsnSetLacpReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                long status = this.statusSet ? this.status : parentMessage.status;
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");

                //
                return new OFBsnSetLacpReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableSetBucketsSizeVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableSetBucketsSizeVer14.java123
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTableSetBucketsSize.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3dL;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnTableSetBucketsSize.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getBucketsSize() {
        return bucketsSize;
    }

    @Override
    public OFBsnTableSetBucketsSize.Builder setBucketsSize(long bucketsSize) {
        this.bucketsSize = bucketsSize;
        this.bucketsSizeSet = true;
        return this;
    }


        @Override
        public OFBsnTableSetBucketsSize build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                long bucketsSize = this.bucketsSizeSet ? this.bucketsSize : parentMessage.bucketsSize;

                //
                return new OFBsnTableSetBucketsSizeVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupAddVer13.java128
org/projectfloodlight/openflow/protocol/ver13/OFGroupAddVer13.java224
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.ADD;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupAdd.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupAdd.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupAdd.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }


        @Override
        public OFGroupAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupDeleteVer13.java128
org/projectfloodlight/openflow/protocol/ver13/OFGroupDeleteVer13.java224
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.DELETE;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupDelete.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupDelete.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupDelete.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }


        @Override
        public OFGroupDelete build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupModifyVer13.java128
org/projectfloodlight/openflow/protocol/ver13/OFGroupModifyVer13.java224
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupModify.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.MODIFY;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupModify.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupModify.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupModify.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }


        @Override
        public OFGroupModify build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsRequestVer14.java119
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterConfigStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_CONFIG;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterConfigStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterConfigStatsRequest.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }


        @Override
        public OFMeterConfigStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                long meterId = this.meterIdSet ? this.meterId : parentMessage.meterId;

                //
                return new OFMeterConfigStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsRequestVer14.java119
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterStatsRequest.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }


        @Override
        public OFMeterStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                long meterId = this.meterIdSet ? this.meterId : parentMessage.meterId;

                //
                return new OFMeterStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsRequestVer13.java129
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsRequestVer13.java223
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.QUEUE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFQueueStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsRequest.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }


        @Override
        public OFQueueStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFGroupAddVer14.java128
org/projectfloodlight/openflow/protocol/ver14/OFGroupAddVer14.java224
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.ADD;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupAdd.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupAdd.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupAdd.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }


        @Override
        public OFGroupAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFGroupDeleteVer14.java128
org/projectfloodlight/openflow/protocol/ver14/OFGroupDeleteVer14.java224
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.DELETE;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupDelete.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupDelete.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupDelete.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }


        @Override
        public OFGroupDelete build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFGroupModifyVer14.java128
org/projectfloodlight/openflow/protocol/ver14/OFGroupModifyVer14.java224
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupModify.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.MODIFY;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupModify.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupModify.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupModify.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }


        @Override
        public OFGroupModify build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsRequestVer14.java129
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsRequestVer14.java223
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.QUEUE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFQueueStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsRequest.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }


        @Override
        public OFQueueStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFeaturesReplyVer10.java175
org/projectfloodlight/openflow/protocol/ver10/OFFeaturesReplyVer10.java331
org/projectfloodlight/openflow/protocol/ver11/OFFeaturesReplyVer11.java172
org/projectfloodlight/openflow/protocol/ver11/OFFeaturesReplyVer11.java326
org/projectfloodlight/openflow/protocol/ver12/OFFeaturesReplyVer12.java172
org/projectfloodlight/openflow/protocol/ver12/OFFeaturesReplyVer12.java326
org/projectfloodlight/openflow/protocol/ver13/OFFeaturesReplyVer13.java171
org/projectfloodlight/openflow/protocol/ver13/OFFeaturesReplyVer13.java325
org/projectfloodlight/openflow/protocol/ver14/OFFeaturesReplyVer14.java171
org/projectfloodlight/openflow/protocol/ver14/OFFeaturesReplyVer14.java325
    }

    @Override
    public OFType getType() {
        return OFType.FEATURES_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFeaturesReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public DatapathId getDatapathId() {
        return datapathId;
    }

    @Override
    public OFFeaturesReply.Builder setDatapathId(DatapathId datapathId) {
        this.datapathId = datapathId;
        this.datapathIdSet = true;
        return this;
    }
    @Override
    public long getNBuffers() {
        return nBuffers;
    }

    @Override
    public OFFeaturesReply.Builder setNBuffers(long nBuffers) {
        this.nBuffers = nBuffers;
        this.nBuffersSet = true;
        return this;
    }
    @Override
    public short getNTables() {
        return nTables;
    }

    @Override
    public OFFeaturesReply.Builder setNTables(short nTables) {
        this.nTables = nTables;
        this.nTablesSet = true;
        return this;
    }
    @Override
    public Set<OFCapabilities> getCapabilities() {
        return capabilities;
    }

    @Override
    public OFFeaturesReply.Builder setCapabilities(Set<OFCapabilities> capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public long getReserved()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueGetConfigReplyVer10.java118
org/projectfloodlight/openflow/protocol/ver11/OFQueueGetConfigReplyVer11.java118
org/projectfloodlight/openflow/protocol/ver12/OFQueueGetConfigReplyVer12.java118
org/projectfloodlight/openflow/protocol/ver13/OFQueueGetConfigReplyVer13.java118
    }

    @Override
    public OFType getType() {
        return OFType.QUEUE_GET_CONFIG_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueGetConfigReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFQueueGetConfigReply.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public List<OFPacketQueue> getQueues() {
        return queues;
    }

    @Override
    public OFQueueGetConfigReply.Builder setQueues(List<OFPacketQueue> queues) {
        this.queues = queues;
        this.queuesSet = true;
        return this;
    }


        @Override
        public OFQueueGetConfigReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFPort port = this.portSet ? this.port : parentMessage.port;
                if(port == null)
                    throw new NullPointerException("Property port must not be null");
                List<OFPacketQueue> queues = this.queuesSet ? this.queues : parentMessage.queues;
                if(queues == null)
                    throw new NullPointerException("Property queues must not be null");

                //
                return new OFQueueGetConfigReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBucketVer11.java188
org/projectfloodlight/openflow/protocol/ver12/OFBucketVer12.java188
org/projectfloodlight/openflow/protocol/ver13/OFBucketVer13.java188
org/projectfloodlight/openflow/protocol/ver14/OFBucketVer14.java188
                return new OFBucketVer11(
                    weight,
                    watchPort,
                    watchGroup,
                    actions
                );
        }

    }

    static class Builder implements OFBucket.Builder {
        // OF message fields
        private boolean weightSet;
        private int weight;
        private boolean watchPortSet;
        private OFPort watchPort;
        private boolean watchGroupSet;
        private OFGroup watchGroup;
        private boolean actionsSet;
        private List<OFAction> actions;

    @Override
    public int getWeight() {
        return weight;
    }

    @Override
    public OFBucket.Builder setWeight(int weight) {
        this.weight = weight;
        this.weightSet = true;
        return this;
    }
    @Override
    public OFPort getWatchPort() {
        return watchPort;
    }

    @Override
    public OFBucket.Builder setWatchPort(OFPort watchPort) {
        this.watchPort = watchPort;
        this.watchPortSet = true;
        return this;
    }
    @Override
    public OFGroup getWatchGroup() {
        return watchGroup;
    }

    @Override
    public OFBucket.Builder setWatchGroup(OFGroup watchGroup) {
        this.watchGroup = watchGroup;
        this.watchGroupSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFBucket.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortsRequestVer13.java256
        public OFBsnDebugCounterDescStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer13.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryAddVer13.java378
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryAddVer14.java378
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x2eL
            int subtype = bb.readInt();
            if(subtype != 0x2e)
                throw new OFParseError("Wrong subtype: Expected=0x2eL(0x2eL), got="+subtype);
            GenTableId tableId = GenTableId.read2Bytes(bb);
            int keyLength = U16.f(bb.readShort());
            U128 checksum = U128.read16Bytes(bb);
            List<OFBsnTlv> key = ChannelUtils.readList(bb, keyLength, OFBsnTlvVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java783
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java783
            bb.writeByte((byte) 0x4);
            // fixed value property type = 4
            bb.writeByte((byte) 0x4);
            // fixed value property length = 52
            bb.writeShort((short) 0x34);
            bb.writeInt(U32.t(message.xid));
            // fixed value property experimenter = 0x5c16c7L
            bb.writeInt(0x5c16c7);
            // fixed value property subtype = 0x2bL
            bb.writeInt(0x2b);
            bb.writeByte(U8.t(message.convergenceStatus));
            // pad: 3 bytes
            bb.writeZero(3);
            message.portNo.write4Bytes(bb);
            bb.writeShort(U16.t(message.actorSysPriority));
            message.actorSysMac.write6Bytes(bb);
            bb.writeShort(U16.t(message.actorPortPriority));
            bb.writeShort(U16.t(message.actorPortNum));
            bb.writeShort(U16.t(message.actorKey));
            bb.writeShort(U16.t(message.partnerSysPriority));
            message.partnerSysMac.write6Bytes(bb);
            bb.writeShort(U16.t(message.partnerPortPriority));
            bb.writeShort(U16.t(message.partnerPortNum));
            bb.writeShort(U16.t(message.partnerKey));


        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFBsnLacpConvergenceNotifVer13(");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBadActionErrorMsgVer10.java195
org/projectfloodlight/openflow/protocol/ver11/OFBadActionErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFBadActionErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFBadActionErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFBadActionErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadActionErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_ACTION;
    }

    @Override
    public OFBadActionCode getCode() {
        return code;
    }

    @Override
    public OFBadActionErrorMsg.Builder setCode(OFBadActionCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadActionErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBadActionErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.codeSet)
                throw new IllegalStateException("Property code doesn't have default value -- must be set");
            if(code == null)
                throw new NullPointerException("Property code must not be null");
            OFErrorCauseData data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFBadActionErrorMsgVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBadRequestErrorMsgVer10.java195
org/projectfloodlight/openflow/protocol/ver11/OFBadRequestErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFBadRequestErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFBadRequestErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFBadRequestErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_REQUEST;
    }

    @Override
    public OFBadRequestCode getCode() {
        return code;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setCode(OFBadRequestCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBadRequestErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.codeSet)
                throw new IllegalStateException("Property code doesn't have default value -- must be set");
            if(code == null)
                throw new NullPointerException("Property code must not be null");
            OFErrorCauseData data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFBadRequestErrorMsgVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowModFailedErrorMsgVer10.java195
org/projectfloodlight/openflow/protocol/ver11/OFFlowModFailedErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFFlowModFailedErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFFlowModFailedErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFFlowModFailedErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.FLOW_MOD_FAILED;
    }

    @Override
    public OFFlowModFailedCode getCode() {
        return code;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setCode(OFFlowModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFFlowModFailedErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.codeSet)
                throw new IllegalStateException("Property code doesn't have default value -- must be set");
            if(code == null)
                throw new NullPointerException("Property code must not be null");
            OFErrorCauseData data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFFlowModFailedErrorMsgVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFHelloFailedErrorMsgVer10.java195
org/projectfloodlight/openflow/protocol/ver11/OFHelloFailedErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFHelloFailedErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFHelloFailedErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFHelloFailedErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.HELLO_FAILED;
    }

    @Override
    public OFHelloFailedCode getCode() {
        return code;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setCode(OFHelloFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFHelloFailedErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.codeSet)
                throw new IllegalStateException("Property code doesn't have default value -- must be set");
            if(code == null)
                throw new NullPointerException("Property code must not be null");
            OFErrorCauseData data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFHelloFailedErrorMsgVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortModFailedErrorMsgVer10.java195
org/projectfloodlight/openflow/protocol/ver11/OFPortModFailedErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFPortModFailedErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFPortModFailedErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFPortModFailedErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.PORT_MOD_FAILED;
    }

    @Override
    public OFPortModFailedCode getCode() {
        return code;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setCode(OFPortModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFPortModFailedErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.codeSet)
                throw new IllegalStateException("Property code doesn't have default value -- must be set");
            if(code == null)
                throw new NullPointerException("Property code must not be null");
            OFErrorCauseData data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFPortModFailedErrorMsgVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueOpFailedErrorMsgVer10.java195
org/projectfloodlight/openflow/protocol/ver11/OFQueueOpFailedErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFQueueOpFailedErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFQueueOpFailedErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFQueueOpFailedErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.QUEUE_OP_FAILED;
    }

    @Override
    public OFQueueOpFailedCode getCode() {
        return code;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setCode(OFQueueOpFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFQueueOpFailedErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.codeSet)
                throw new IllegalStateException("Property code doesn't have default value -- must be set");
            if(code == null)
                throw new NullPointerException("Property code must not be null");
            OFErrorCauseData data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFQueueOpFailedErrorMsgVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBadInstructionErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFBadInstructionErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFBadInstructionErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFBadInstructionErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_INSTRUCTION;
    }

    @Override
    public OFBadInstructionCode getCode() {
        return code;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setCode(OFBadInstructionCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBadInstructionErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.codeSet)
                throw new IllegalStateException("Property code doesn't have default value -- must be set");
            if(code == null)
                throw new NullPointerException("Property code must not be null");
            OFErrorCauseData data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFBadInstructionErrorMsgVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBadMatchErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFBadMatchErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFBadMatchErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFBadMatchErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_MATCH;
    }

    @Override
    public OFBadMatchCode getCode() {
        return code;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setCode(OFBadMatchCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBadMatchErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.codeSet)
                throw new IllegalStateException("Property code doesn't have default value -- must be set");
            if(code == null)
                throw new NullPointerException("Property code must not be null");
            OFErrorCauseData data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFBadMatchErrorMsgVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java748
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java748
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java748
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java748
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java748
        public OFFlowAdd readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 2
            byte version = bb.readByte();
            if(version != (byte) 0x2)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 14
            byte type = bb.readByte();
            if(type != (byte) 0xe)
                throw new OFParseError("Wrong type: Expected=OFType.FLOW_MOD(14), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            U64 cookie = U64.ofRaw(bb.readLong());
            U64 cookieMask = U64.ofRaw(bb.readLong());
            TableId tableId = TableId.readByte(bb);
            // fixed value property command == 0
            short command = bb.readByte();
            if(command != (short) 0x0)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupModFailedErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFGroupModFailedErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFGroupModFailedErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFGroupModFailedErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.GROUP_MOD_FAILED;
    }

    @Override
    public OFGroupModFailedCode getCode() {
        return code;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setCode(OFGroupModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFGroupModFailedErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.codeSet)
                throw new IllegalStateException("Property code doesn't have default value -- must be set");
            if(code == null)
                throw new NullPointerException("Property code must not be null");
            OFErrorCauseData data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFGroupModFailedErrorMsgVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFSwitchConfigFailedErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFSwitchConfigFailedErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFSwitchConfigFailedErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFSwitchConfigFailedErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.SWITCH_CONFIG_FAILED;
    }

    @Override
    public OFSwitchConfigFailedCode getCode() {
        return code;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setCode(OFSwitchConfigFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFSwitchConfigFailedErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.codeSet)
                throw new IllegalStateException("Property code doesn't have default value -- must be set");
            if(code == null)
                throw new NullPointerException("Property code must not be null");
            OFErrorCauseData data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFSwitchConfigFailedErrorMsgVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableModFailedErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFTableModFailedErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFTableModFailedErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFTableModFailedErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.TABLE_MOD_FAILED;
    }

    @Override
    public OFTableModFailedCode getCode() {
        return code;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setCode(OFTableModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFTableModFailedErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.codeSet)
                throw new IllegalStateException("Property code doesn't have default value -- must be set");
            if(code == null)
                throw new NullPointerException("Property code must not be null");
            OFErrorCauseData data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFTableModFailedErrorMsgVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java748
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java748
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java748
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java748
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java748
        public OFFlowAdd readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 3
            byte version = bb.readByte();
            if(version != (byte) 0x3)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 14
            byte type = bb.readByte();
            if(type != (byte) 0xe)
                throw new OFParseError("Wrong type: Expected=OFType.FLOW_MOD(14), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            U64 cookie = U64.ofRaw(bb.readLong());
            U64 cookieMask = U64.ofRaw(bb.readLong());
            TableId tableId = TableId.readByte(bb);
            // fixed value property command == 0
            short command = bb.readByte();
            if(command != (short) 0x0)
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java711
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java711
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java711
            bb.writeByte((byte) 0x3);
            // fixed value property type = 11
            bb.writeByte((byte) 0xb);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            bb.writeInt(U32.t(message.xid));
            bb.writeLong(message.cookie.getValue());
            bb.writeShort(U16.t(message.priority));
            bb.writeByte(U8.t(message.reason));
            message.tableId.writeByte(bb);
            bb.writeInt(U32.t(message.durationSec));
            bb.writeInt(U32.t(message.durationNsec));
            bb.writeShort(U16.t(message.idleTimeout));
            bb.writeShort(U16.t(message.hardTimeout));
            bb.writeLong(message.packetCount.getValue());
            bb.writeLong(message.byteCount.getValue());
            message.match.writeTo(bb);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFFlowRemovedVer12(");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestFailedErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestFailedErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestFailedErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.ROLE_REQUEST_FAILED;
    }

    @Override
    public OFRoleRequestFailedCode getCode() {
        return code;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setCode(OFRoleRequestFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFRoleRequestFailedErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.codeSet)
                throw new IllegalStateException("Property code doesn't have default value -- must be set");
            if(code == null)
                throw new NullPointerException("Property code must not be null");
            OFErrorCauseData data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFRoleRequestFailedErrorMsgVer12(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleVer13.java373
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleVer14.java373
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x28L
            int subtype = bb.readInt();
            if(subtype != 0x28)
                throw new OFParseError("Wrong subtype: Expected=0x28L(0x28L), got="+subtype);
            U64 cookie = U64.ofRaw(bb.readLong());
            int priority = U16.f(bb.readShort());
            TableId tableId = TableId.readByte(bb);
            // pad: 5 bytes
            bb.skipBytes(5);
            Match match = ChannelUtilsVer13.readOFMatch(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java80
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java80
            throw new NullPointerException("OFBsnLacpStatsEntryVer13: property partnerSysMac cannot be null");
        }
        this.portNo = portNo;
        this.actorSysPriority = actorSysPriority;
        this.actorSysMac = actorSysMac;
        this.actorPortPriority = actorPortPriority;
        this.actorPortNum = actorPortNum;
        this.actorKey = actorKey;
        this.convergenceStatus = convergenceStatus;
        this.partnerSysPriority = partnerSysPriority;
        this.partnerSysMac = partnerSysMac;
        this.partnerPortPriority = partnerPortPriority;
        this.partnerPortNum = partnerPortNum;
        this.partnerKey = partnerKey;
    }

    // Accessors for OF message fields
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public int getActorKey() {
        return actorKey;
    }

    @Override
    public short getConvergenceStatus() {
        return convergenceStatus;
    }

    @Override
    public int getPartnerSysPriority() {
        return partnerSysPriority;
    }

    @Override
    public MacAddress getPartnerSysMac() {
        return partnerSysMac;
    }

    @Override
    public int getPartnerPortPriority() {
        return partnerPortPriority;
    }

    @Override
    public int getPartnerPortNum() {
        return partnerPortNum;
    }

    @Override
    public int getPartnerKey() {
        return partnerKey;
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java792
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java788
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java787
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java788
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java786
        public OFFlowAdd readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 14
            byte type = bb.readByte();
            if(type != (byte) 0xe)
                throw new OFParseError("Wrong type: Expected=OFType.FLOW_MOD(14), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            U64 cookie = U64.ofRaw(bb.readLong());
            U64 cookieMask = U64.ofRaw(bb.readLong());
            TableId tableId = TableId.readByte(bb);
            // fixed value property command == 0
            short command = bb.readByte();
            if(command != (short) 0x0)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterModFailedErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFMeterModFailedErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.METER_MOD_FAILED;
    }

    @Override
    public OFMeterModFailedCode getCode() {
        return code;
    }

    @Override
    public OFMeterModFailedErrorMsg.Builder setCode(OFMeterModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFMeterModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFMeterModFailedErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.codeSet)
                throw new IllegalStateException("Property code doesn't have default value -- must be set");
            if(code == null)
                throw new NullPointerException("Property code must not be null");
            OFErrorCauseData data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFMeterModFailedErrorMsgVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesFailedErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesFailedErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableFeaturesFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.TABLE_FEATURES_FAILED;
    }

    @Override
    public OFTableFeaturesFailedCode getCode() {
        return code;
    }

    @Override
    public OFTableFeaturesFailedErrorMsg.Builder setCode(OFTableFeaturesFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFTableFeaturesFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFTableFeaturesFailedErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.codeSet)
                throw new IllegalStateException("Property code doesn't have default value -- must be set");
            if(code == null)
                throw new NullPointerException("Property code must not be null");
            OFErrorCauseData data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFTableFeaturesFailedErrorMsgVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java763
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java763
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java763
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java763
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java763
        public OFFlowAdd readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 14
            byte type = bb.readByte();
            if(type != (byte) 0xe)
                throw new OFParseError("Wrong type: Expected=OFType.FLOW_MOD(14), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            U64 cookie = U64.ofRaw(bb.readLong());
            U64 cookieMask = U64.ofRaw(bb.readLong());
            TableId tableId = TableId.readByte(bb);
            // fixed value property command == 0
            short command = bb.readByte();
            if(command != (short) 0x0)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsRequestVer11.java290
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsRequestVer11.java290
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java290
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java290
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java290
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java290
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java290
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java290
        public OFAggregateStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                OFPort outPort = this.outPortSet ? this.outPort : parentMessage.outPort;
                if(outPort == null)
                    throw new NullPointerException("Property outPort must not be null");
                OFGroup outGroup = this.outGroupSet ? this.outGroup : parentMessage.outGroup;
                if(outGroup == null)
                    throw new NullPointerException("Property outGroup must not be null");
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                U64 cookieMask = this.cookieMaskSet ? this.cookieMask : parentMessage.cookieMask;
                if(cookieMask == null)
                    throw new NullPointerException("Property cookieMask must not be null");
                Match match = this.matchSet ? this.match : parentMessage.match;
                if(match == null)
                    throw new NullPointerException("Property match must not be null");

                //
                return new OFAggregateStatsRequestVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBucketVer11.java386
org/projectfloodlight/openflow/protocol/ver12/OFBucketVer12.java386
org/projectfloodlight/openflow/protocol/ver13/OFBucketVer13.java386
org/projectfloodlight/openflow/protocol/ver14/OFBucketVer14.java386
        OFBucketVer11 other = (OFBucketVer11) obj;

        if( weight != other.weight)
            return false;
        if (watchPort == null) {
            if (other.watchPort != null)
                return false;
        } else if (!watchPort.equals(other.watchPort))
            return false;
        if (watchGroup == null) {
            if (other.watchGroup != null)
                return false;
        } else if (!watchGroup.equals(other.watchGroup))
            return false;
        if (actions == null) {
            if (other.actions != null)
                return false;
        } else if (!actions.equals(other.actions))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + weight;
        result = prime * result + ((watchPort == null) ? 0 : watchPort.hashCode());
        result = prime * result + ((watchGroup == null) ? 0 : watchGroup.hashCode());
        result = prime * result + ((actions == null) ? 0 : actions.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowAddVer10.java645
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteStrictVer10.java644
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteVer10.java644
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyStrictVer10.java644
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyVer10.java644
        public OFFlowAdd build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Match match = this.matchSet ? this.match : DEFAULT_MATCH;
            if(match == null)
                throw new NullPointerException("Property match must not be null");
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            OFBufferId bufferId = this.bufferIdSet ? this.bufferId : DEFAULT_BUFFER_ID;
            if(bufferId == null)
                throw new NullPointerException("Property bufferId must not be null");
            OFPort outPort = this.outPortSet ? this.outPort : DEFAULT_OUT_PORT;
            if(outPort == null)
                throw new NullPointerException("Property outPort must not be null");
            Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            List<OFAction> actions = this.actionsSet ? this.actions : DEFAULT_ACTIONS;
            if(actions == null)
                throw new NullPointerException("Property actions must not be null");


            return new OFFlowAddVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java758
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java758
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java788
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFPortStatsEntry> {
        @Override
        public OFPortStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            OFPort portNo = OFPort.read4Bytes(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            U64 rxPackets = U64.ofRaw(bb.readLong());
            U64 txPackets = U64.ofRaw(bb.readLong());
            U64 rxBytes = U64.ofRaw(bb.readLong());
            U64 txBytes = U64.ofRaw(bb.readLong());
            U64 rxDropped = U64.ofRaw(bb.readLong());
            U64 txDropped = U64.ofRaw(bb.readLong());
            U64 rxErrors = U64.ofRaw(bb.readLong());
            U64 txErrors = U64.ofRaw(bb.readLong());
            U64 rxFrameErr = U64.ofRaw(bb.readLong());
            U64 rxOverErr = U64.ofRaw(bb.readLong());
            U64 rxCrcErr = U64.ofRaw(bb.readLong());
            U64 collisions = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFActionTypeSerializerVer12.java46
org/projectfloodlight/openflow/protocol/ver13/OFActionTypeSerializerVer13.java48
org/projectfloodlight/openflow/protocol/ver14/OFActionTypeSerializerVer14.java48
    public final static short EXPERIMENTER_VAL = (short) 0xffff;

    public static OFActionType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFActionType e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFActionType e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFActionType ofWireValue(short val) {
        switch(val) {
            case OUTPUT_VAL:
                return OFActionType.OUTPUT;
            case COPY_TTL_OUT_VAL:
                return OFActionType.COPY_TTL_OUT;
            case COPY_TTL_IN_VAL:
                return OFActionType.COPY_TTL_IN;
            case SET_MPLS_TTL_VAL:
                return OFActionType.SET_MPLS_TTL;
            case DEC_MPLS_TTL_VAL:
                return OFActionType.DEC_MPLS_TTL;
            case PUSH_VLAN_VAL:
                return OFActionType.PUSH_VLAN;
            case POP_VLAN_VAL:
                return OFActionType.POP_VLAN;
            case PUSH_MPLS_VAL:
                return OFActionType.PUSH_MPLS;
            case POP_MPLS_VAL:
                return OFActionType.POP_MPLS;
            case SET_QUEUE_VAL:
                return OFActionType.SET_QUEUE;
            case GROUP_VAL:
                return OFActionType.GROUP;
            case SET_NW_TTL_VAL:
                return OFActionType.SET_NW_TTL;
            case DEC_NW_TTL_VAL:
                return OFActionType.DEC_NW_TTL;
            case SET_FIELD_VAL:
                return OFActionType.SET_FIELD;
            case EXPERIMENTER_VAL:
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLoglevelSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFBsnLoglevelSerializerVer14.java30
public class OFBsnLoglevelSerializerVer13 {

    public final static byte BSN_LOGLEVEL_MSG_VAL = (byte) 0x0;
    public final static byte BSN_LOGLEVEL_ERROR_VAL = (byte) 0x1;
    public final static byte BSN_LOGLEVEL_WARN_VAL = (byte) 0x2;
    public final static byte BSN_LOGLEVEL_INFO_VAL = (byte) 0x3;
    public final static byte BSN_LOGLEVEL_VERBOSE_VAL = (byte) 0x4;
    public final static byte BSN_LOGLEVEL_TRACE_VAL = (byte) 0x5;

    public static OFBsnLoglevel readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBsnLoglevel e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFBsnLoglevel e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFBsnLoglevel ofWireValue(byte val) {
        switch(val) {
            case BSN_LOGLEVEL_MSG_VAL:
                return OFBsnLoglevel.BSN_LOGLEVEL_MSG;
            case BSN_LOGLEVEL_ERROR_VAL:
                return OFBsnLoglevel.BSN_LOGLEVEL_ERROR;
            case BSN_LOGLEVEL_WARN_VAL:
                return OFBsnLoglevel.BSN_LOGLEVEL_WARN;
            case BSN_LOGLEVEL_INFO_VAL:
                return OFBsnLoglevel.BSN_LOGLEVEL_INFO;
            case BSN_LOGLEVEL_VERBOSE_VAL:
                return OFBsnLoglevel.BSN_LOGLEVEL_VERBOSE;
            case BSN_LOGLEVEL_TRACE_VAL:
                return OFBsnLoglevel.BSN_LOGLEVEL_TRACE;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFBsnLoglevel in version 1.3: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java798
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java666
        public OFCalientFlowStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            TableId tableId = TableId.readByte(bb);
            // pad: 1 bytes
            bb.skipBytes(1);
            long durationSec = U32.f(bb.readInt());
            long durationNsec = U32.f(bb.readInt());
            int priority = U16.f(bb.readShort());
            int idleTimeout = U16.f(bb.readShort());
            int hardTimeout = U16.f(bb.readShort());
            Set<OFFlowModFlags> flags = OFFlowModFlagsSerializerVer13.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            U64 cookie = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFErrorTypeSerializerVer13.java46
org/projectfloodlight/openflow/protocol/ver14/OFErrorTypeSerializerVer14.java50
    public final static short EXPERIMENTER_VAL = (short) 0xffff;

    public static OFErrorType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFErrorType e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFErrorType e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFErrorType ofWireValue(short val) {
        switch(val) {
            case HELLO_FAILED_VAL:
                return OFErrorType.HELLO_FAILED;
            case BAD_REQUEST_VAL:
                return OFErrorType.BAD_REQUEST;
            case BAD_ACTION_VAL:
                return OFErrorType.BAD_ACTION;
            case BAD_INSTRUCTION_VAL:
                return OFErrorType.BAD_INSTRUCTION;
            case BAD_MATCH_VAL:
                return OFErrorType.BAD_MATCH;
            case FLOW_MOD_FAILED_VAL:
                return OFErrorType.FLOW_MOD_FAILED;
            case GROUP_MOD_FAILED_VAL:
                return OFErrorType.GROUP_MOD_FAILED;
            case PORT_MOD_FAILED_VAL:
                return OFErrorType.PORT_MOD_FAILED;
            case TABLE_MOD_FAILED_VAL:
                return OFErrorType.TABLE_MOD_FAILED;
            case QUEUE_OP_FAILED_VAL:
                return OFErrorType.QUEUE_OP_FAILED;
            case SWITCH_CONFIG_FAILED_VAL:
                return OFErrorType.SWITCH_CONFIG_FAILED;
            case ROLE_REQUEST_FAILED_VAL:
                return OFErrorType.ROLE_REQUEST_FAILED;
            case METER_MOD_FAILED_VAL:
                return OFErrorType.METER_MOD_FAILED;
            case TABLE_FEATURES_FAILED_VAL:
                return OFErrorType.TABLE_FEATURES_FAILED;
            case EXPERIMENTER_VAL:
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFStatsTypeSerializerVer13.java46
org/projectfloodlight/openflow/protocol/ver14/OFStatsTypeSerializerVer14.java49
    public final static short EXPERIMENTER_VAL = (short) 0xffff;

    public static OFStatsType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFStatsType e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFStatsType e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFStatsType ofWireValue(short val) {
        switch(val) {
            case DESC_VAL:
                return OFStatsType.DESC;
            case FLOW_VAL:
                return OFStatsType.FLOW;
            case AGGREGATE_VAL:
                return OFStatsType.AGGREGATE;
            case TABLE_VAL:
                return OFStatsType.TABLE;
            case PORT_VAL:
                return OFStatsType.PORT;
            case QUEUE_VAL:
                return OFStatsType.QUEUE;
            case GROUP_VAL:
                return OFStatsType.GROUP;
            case GROUP_DESC_VAL:
                return OFStatsType.GROUP_DESC;
            case GROUP_FEATURES_VAL:
                return OFStatsType.GROUP_FEATURES;
            case METER_VAL:
                return OFStatsType.METER;
            case METER_CONFIG_VAL:
                return OFStatsType.METER_CONFIG;
            case METER_FEATURES_VAL:
                return OFStatsType.METER_FEATURES;
            case TABLE_FEATURES_VAL:
                return OFStatsType.TABLE_FEATURES;
            case PORT_DESC_VAL:
                return OFStatsType.PORT_DESC;
            case EXPERIMENTER_VAL:
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsEntryVer10.java146
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsEntryVer11.java146
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsEntryVer12.java146
        BuilderWithParent(OFQueueStatsEntryVer10 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsEntry.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.0");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java724
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java724
        public void write(ChannelBuffer bb, OFFlowStatsEntryVer11 message) {
            int startIndex = bb.writerIndex();
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            message.tableId.writeByte(bb);
            // pad: 1 bytes
            bb.writeZero(1);
            bb.writeInt(U32.t(message.durationSec));
            bb.writeInt(U32.t(message.durationNsec));
            bb.writeShort(U16.t(message.priority));
            bb.writeShort(U16.t(message.idleTimeout));
            bb.writeShort(U16.t(message.hardTimeout));
            // pad: 6 bytes
            bb.writeZero(6);
            bb.writeLong(message.cookie.getValue());
            bb.writeLong(message.packetCount.getValue());
            bb.writeLong(message.byteCount.getValue());
            message.match.writeTo(bb);
            ChannelUtils.writeList(bb, message.instructions);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFFlowStatsEntryVer11(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableSetBucketsSizeVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableSetBucketsSizeVer14.java200
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableSetBucketsSize.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x32L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableSetBucketsSize.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getBucketsSize() {
        return bucketsSize;
    }

    @Override
    public OFBsnGentableSetBucketsSize.Builder setBucketsSize(long bucketsSize) {
        this.bucketsSize = bucketsSize;
        this.bucketsSizeSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableSetBucketsSize build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.tableIdSet)
                throw new IllegalStateException("Property tableId doesn't have default value -- must be set");
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            long bucketsSize = this.bucketsSizeSet ? this.bucketsSize : DEFAULT_BUCKETS_SIZE;


            return new OFBsnGentableSetBucketsSizeVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java103
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java103
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2bL;
    }

    @Override
    public short getConvergenceStatus() {
        return convergenceStatus;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public int getActorKey() {
        return actorKey;
    }

    @Override
    public int getPartnerSysPriority() {
        return partnerSysPriority;
    }

    @Override
    public MacAddress getPartnerSysMac() {
        return partnerSysMac;
    }

    @Override
    public int getPartnerPortPriority() {
        return partnerPortPriority;
    }

    @Override
    public int getPartnerPortNum() {
        return partnerPortNum;
    }

    @Override
    public int getPartnerKey() {
        return partnerKey;
    }



    public OFBsnLacpConvergenceNotif.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnLacpConvergenceNotif.Builder {
        final OFBsnLacpConvergenceNotifVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxTimeoutVer10.java205
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxTimeoutVer11.java205
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxTimeoutVer12.java205
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxTimeoutVer13.java205
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxTimeoutVer14.java205
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x23L;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
//
        @Override
        public OFBsnPduRxTimeout build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            short slotNum = this.slotNumSet ? this.slotNum : DEFAULT_SLOT_NUM;


            return new OFBsnPduRxTimeoutVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java216
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java226
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java226
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java226
org/projectfloodlight/openflow/protocol/ver14/OFPortDescVer14.java369
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortDesc.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortDesc.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFPortDesc.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public Set<OFPortConfig> getConfig() {
        return config;
    }

    @Override
    public OFPortDesc.Builder setConfig(Set<OFPortConfig> config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public Set<OFPortState> getState() {
        return state;
    }

    @Override
    public OFPortDesc.Builder setState(Set<OFPortState> state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getCurr() {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java416
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java438
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java438
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java438
org/projectfloodlight/openflow/protocol/ver14/OFPortDescVer14.java193
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortDesc.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortDesc.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFPortDesc.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public Set<OFPortConfig> getConfig() {
        return config;
    }

    @Override
    public OFPortDesc.Builder setConfig(Set<OFPortConfig> config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public Set<OFPortState> getState() {
        return state;
    }

    @Override
    public OFPortDesc.Builder setState(Set<OFPortState> state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public Set<OFPortFeatures> getCurr() {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java142
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java142
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java152
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java152
        BuilderWithParent(OFGroupStatsEntryVer11 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public long getRefCount() {
        return refCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setRefCount(long refCount) {
        this.refCount = refCount;
        this.refCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public List<OFBucketCounter> getBucketStats() {
        return bucketStats;
    }

    @Override
    public OFGroupStatsEntry.Builder setBucketStats(List<OFBucketCounter> bucketStats) {
        this.bucketStats = bucketStats;
        this.bucketStatsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java264
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java264
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java286
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java286
        private boolean bucketStatsSet;
        private List<OFBucketCounter> bucketStats;

    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public long getRefCount() {
        return refCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setRefCount(long refCount) {
        this.refCount = refCount;
        this.refCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public List<OFBucketCounter> getBucketStats() {
        return bucketStats;
    }

    @Override
    public OFGroupStatsEntry.Builder setBucketStats(List<OFBucketCounter> bucketStats) {
        this.bucketStats = bucketStats;
        this.bucketStatsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFExperimenterErrorMsgVer12.java125
org/projectfloodlight/openflow/protocol/ver12/OFExperimenterErrorMsgVer12.java217
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.EXPERIMENTER;
    }

    @Override
    public int getSubtype() {
        return subtype;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setSubtype(int subtype) {
        this.subtype = subtype;
        this.subtypeSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return experimenter;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setExperimenter(long experimenter) {
        this.experimenter = experimenter;
        this.experimenterSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFExperimenterErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnArpIdleVer13.java205
org/projectfloodlight/openflow/protocol/ver14/OFBsnArpIdleVer14.java205
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnArpIdle.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3cL;
    }

    @Override
    public int getVlanVid() {
        return vlanVid;
    }

    @Override
    public OFBsnArpIdle.Builder setVlanVid(int vlanVid) {
        this.vlanVid = vlanVid;
        this.vlanVidSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Addr() {
        return ipv4Addr;
    }

    @Override
    public OFBsnArpIdle.Builder setIpv4Addr(IPv4Address ipv4Addr) {
        this.ipv4Addr = ipv4Addr;
        this.ipv4AddrSet = true;
        return this;
    }
//
        @Override
        public OFBsnArpIdle build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            int vlanVid = this.vlanVidSet ? this.vlanVid : DEFAULT_VLAN_VID;
            IPv4Address ipv4Addr = this.ipv4AddrSet ? this.ipv4Addr : DEFAULT_IPV4_ADDR;
            if(ipv4Addr == null)
                throw new NullPointerException("Property ipv4Addr must not be null");


            return new OFBsnArpIdleVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpReplyVer13.java205
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpReplyVer14.java205
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetLacpReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2aL;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetLacpReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnSetLacpReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
//
        @Override
        public OFBsnSetLacpReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            long status = this.statusSet ? this.status : DEFAULT_STATUS;
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");


            return new OFBsnSetLacpReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableSetBucketsSizeVer13.java205
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableSetBucketsSizeVer14.java205
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTableSetBucketsSize.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3dL;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnTableSetBucketsSize.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getBucketsSize() {
        return bucketsSize;
    }

    @Override
    public OFBsnTableSetBucketsSize.Builder setBucketsSize(long bucketsSize) {
        this.bucketsSize = bucketsSize;
        this.bucketsSizeSet = true;
        return this;
    }
//
        @Override
        public OFBsnTableSetBucketsSize build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            long bucketsSize = this.bucketsSizeSet ? this.bucketsSize : DEFAULT_BUCKETS_SIZE;


            return new OFBsnTableSetBucketsSizeVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFExperimenterErrorMsgVer13.java125
org/projectfloodlight/openflow/protocol/ver13/OFExperimenterErrorMsgVer13.java217
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.EXPERIMENTER;
    }

    @Override
    public int getSubtype() {
        return subtype;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setSubtype(int subtype) {
        this.subtype = subtype;
        this.subtypeSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return experimenter;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setExperimenter(long experimenter) {
        this.experimenter = experimenter;
        this.experimenterSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFExperimenterErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsRequestVer13.java196
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsRequestVer14.java196
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterConfigStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_CONFIG;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterConfigStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterConfigStatsRequest.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }
//
        @Override
        public OFMeterConfigStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            long meterId = this.meterIdSet ? this.meterId : DEFAULT_METER_ID;


            return new OFMeterConfigStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsRequestVer13.java196
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsRequestVer14.java196
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterStatsRequest.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }
//
        @Override
        public OFMeterStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            long meterId = this.meterIdSet ? this.meterId : DEFAULT_METER_ID;


            return new OFMeterStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFExperimenterErrorMsgVer14.java125
org/projectfloodlight/openflow/protocol/ver14/OFExperimenterErrorMsgVer14.java217
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.EXPERIMENTER;
    }

    @Override
    public int getSubtype() {
        return subtype;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setSubtype(int subtype) {
        this.subtype = subtype;
        this.subtypeSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return experimenter;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setExperimenter(long experimenter) {
        this.experimenter = experimenter;
        this.experimenterSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFExperimenterErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowAddVer10.java285
org/projectfloodlight/openflow/protocol/ver10/OFFlowAddVer10.java522
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java305
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java566
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java305
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java566
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java323
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java597
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java310
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java577
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.ADD;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowAdd.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowAdd.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowAdd.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowAdd.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowAdd.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteStrictVer10.java284
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteStrictVer10.java521
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java305
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java566
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java305
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java566
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java319
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java593
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java310
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java577
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.DELETE_STRICT;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowDeleteStrict.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowDeleteStrict.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowDeleteStrict.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowDeleteStrict.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowDeleteStrict.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteVer10.java284
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteVer10.java521
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java305
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java566
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java305
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java566
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java318
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java592
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java310
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java577
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.DELETE;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowDelete.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowDelete.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowDelete.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowDelete.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowDelete.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyStrictVer10.java284
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyStrictVer10.java521
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java305
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java566
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java305
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java566
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java319
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java593
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java310
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java577
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.MODIFY_STRICT;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowModifyStrict.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowModifyStrict.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowModifyStrict.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowModifyStrict.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowModifyStrict.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyVer10.java284
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyVer10.java521
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java305
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java566
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java305
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java566
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java317
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java591
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java310
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java577
    }
    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.MODIFY;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowModify.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public OFFlowModify.Builder setHardTimeout(int hardTimeout) {
        this.hardTimeout = hardTimeout;
        this.hardTimeoutSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowModify.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFFlowModify.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowModify.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortModVer10.java152
org/projectfloodlight/openflow/protocol/ver10/OFPortModVer10.java280
org/projectfloodlight/openflow/protocol/ver11/OFPortModVer11.java152
org/projectfloodlight/openflow/protocol/ver11/OFPortModVer11.java280
org/projectfloodlight/openflow/protocol/ver12/OFPortModVer12.java152
org/projectfloodlight/openflow/protocol/ver12/OFPortModVer12.java280
org/projectfloodlight/openflow/protocol/ver13/OFPortModVer13.java152
org/projectfloodlight/openflow/protocol/ver13/OFPortModVer13.java280
org/projectfloodlight/openflow/protocol/ver14/OFPortModVer14.java156
org/projectfloodlight/openflow/protocol/ver14/OFPortModVer14.java286
    }

    @Override
    public OFType getType() {
        return OFType.PORT_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortMod.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortMod.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFPortMod.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFPortMod.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public long getMask() {
        return mask;
    }

    @Override
    public OFPortMod.Builder setMask(long mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public long getAdvertise() {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueGetConfigReplyVer10.java192
org/projectfloodlight/openflow/protocol/ver11/OFQueueGetConfigReplyVer11.java192
org/projectfloodlight/openflow/protocol/ver12/OFQueueGetConfigReplyVer12.java192
org/projectfloodlight/openflow/protocol/ver13/OFQueueGetConfigReplyVer13.java192
    }

    @Override
    public OFType getType() {
        return OFType.QUEUE_GET_CONFIG_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueGetConfigReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFQueueGetConfigReply.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public List<OFPacketQueue> getQueues() {
        return queues;
    }

    @Override
    public OFQueueGetConfigReply.Builder setQueues(List<OFPacketQueue> queues) {
        this.queues = queues;
        this.queuesSet = true;
        return this;
    }
//
        @Override
        public OFQueueGetConfigReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            OFPort port = this.portSet ? this.port : DEFAULT_PORT;
            if(port == null)
                throw new NullPointerException("Property port must not be null");
            List<OFPacketQueue> queues = this.queuesSet ? this.queues : DEFAULT_QUEUES;
            if(queues == null)
                throw new NullPointerException("Property queues must not be null");


            return new OFQueueGetConfigReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTypeSerializerVer10.java55
org/projectfloodlight/openflow/protocol/ver11/OFTypeSerializerVer11.java57
org/projectfloodlight/openflow/protocol/ver12/OFTypeSerializerVer12.java59
org/projectfloodlight/openflow/protocol/ver13/OFTypeSerializerVer13.java63
org/projectfloodlight/openflow/protocol/ver14/OFTypeSerializerVer14.java66
    public static OFType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFType e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFType e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFType ofWireValue(byte val) {
        switch(val) {
            case HELLO_VAL:
                return OFType.HELLO;
            case ERROR_VAL:
                return OFType.ERROR;
            case ECHO_REQUEST_VAL:
                return OFType.ECHO_REQUEST;
            case ECHO_REPLY_VAL:
                return OFType.ECHO_REPLY;
            case EXPERIMENTER_VAL:
                return OFType.EXPERIMENTER;
            case FEATURES_REQUEST_VAL:
                return OFType.FEATURES_REQUEST;
            case FEATURES_REPLY_VAL:
                return OFType.FEATURES_REPLY;
            case GET_CONFIG_REQUEST_VAL:
                return OFType.GET_CONFIG_REQUEST;
            case GET_CONFIG_REPLY_VAL:
                return OFType.GET_CONFIG_REPLY;
            case SET_CONFIG_VAL:
                return OFType.SET_CONFIG;
            case PACKET_IN_VAL:
                return OFType.PACKET_IN;
            case FLOW_REMOVED_VAL:
                return OFType.FLOW_REMOVED;
            case PORT_STATUS_VAL:
                return OFType.PORT_STATUS;
            case PACKET_OUT_VAL:
                return OFType.PACKET_OUT;
            case FLOW_MOD_VAL:
                return OFType.FLOW_MOD;
            case PORT_MOD_VAL:
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPacketInVer11.java184
org/projectfloodlight/openflow/protocol/ver11/OFPacketInVer11.java359
org/projectfloodlight/openflow/protocol/ver12/OFPacketInVer12.java176
org/projectfloodlight/openflow/protocol/ver12/OFPacketInVer12.java343
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java184
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java359
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java184
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java359
    }

    @Override
    public OFType getType() {
        return OFType.PACKET_IN;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPacketIn.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPacketIn.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public int getTotalLen() {
        return totalLen;
    }

    @Override
    public OFPacketIn.Builder setTotalLen(int totalLen) {
        this.totalLen = totalLen;
        this.totalLenSet = true;
        return this;
    }
    @Override
    public OFPacketInReason getReason() {
        return reason;
    }

    @Override
    public OFPacketIn.Builder setReason(OFPacketInReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFPacketIn.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public Match getMatch()throws UnsupportedOperationException {
FileLine
net/onrc/openvirtex/messages/ver10/OVXFlowAddVer10.java357
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteStrictVer10.java260
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteVer10.java260
net/onrc/openvirtex/messages/ver10/OVXFlowModifyStrictVer10.java260
net/onrc/openvirtex/messages/ver10/OVXFlowModifyVer10.java260
            sw.sendSouth(this, inPort);
        }
    }

   

    private void prependRewriteActions() {
        if (!this.getMatch().isFullyWildcarded(MatchField.IPV4_SRC)) {
            final OVXActionNetworkLayerSource srcAct =OVXFactoryInst.myOVXFactory.buildOVXActionNetworkLayerSource
            		(IPv4Address.of(IPMapper.getPhysicalIp(sw.getTenantId(),
                    ((OFMatchV1)this.match).getIpv4Src().getInt())));
            
            this.approvedActions.add(0, srcAct);
        }

        if (!this.getMatch().isFullyWildcarded(MatchField.IPV4_DST)) {
            final OVXActionNetworkLayerDestination dstAct =OVXFactoryInst.myOVXFactory.buildOVXActionNetworkLayerDestination
            		(IPv4Address.of(IPMapper.getPhysicalIp(sw.getTenantId(),
                            ((OFMatchV1)this.match).getIpv4Dst().getInt())));
            this.approvedActions.add(0, dstAct);
        }
    }

    /**
     * @param flagbit
     *            The OFFlowMod flag
     * @return true if the flag is set
     */
    public boolean hasFlag(short flagbit) {
        return (this.flags.contains(OFFlowModFlagsSerializerVer10.ofWireValue(flagbit)));
    }

    public OVXFlowMod clone() {
        OVXFlowMod flowMod = null;
        flowMod = OVXFactoryInst.myOVXFactory.buildOVXFlowAdd(this.getXid(),this.getMatch(), this.getCookie(), this.getIdleTimeout(), this.getHardTimeout(),this.getPriority(), this.getBufferId(), this.getOutPort(), this.getFlags(), this.getActions());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java37
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java37
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java37
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java37
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java37
    private static final Logger logger = LoggerFactory.getLogger(OFFlowAddVer11.class);
    // version: 1.1
    final static byte WIRE_VERSION = 2;
    final static int MINIMUM_LENGTH = 136;

        private final static long DEFAULT_XID = 0x0L;
        private final static U64 DEFAULT_COOKIE = U64.ZERO;
        private final static U64 DEFAULT_COOKIE_MASK = U64.ZERO;
        private final static TableId DEFAULT_TABLE_ID = TableId.ZERO;
        private final static int DEFAULT_IDLE_TIMEOUT = 0x0;
        private final static int DEFAULT_HARD_TIMEOUT = 0x0;
        private final static int DEFAULT_PRIORITY = 0x0;
        private final static OFBufferId DEFAULT_BUFFER_ID = OFBufferId.NO_BUFFER;
        private final static OFPort DEFAULT_OUT_PORT = OFPort.ANY;
        private final static OFGroup DEFAULT_OUT_GROUP = OFGroup.ANY;
        private final static Set<OFFlowModFlags> DEFAULT_FLAGS = ImmutableSet.<OFFlowModFlags>of();
        private final static Match DEFAULT_MATCH = OFFactoryVer11.MATCH_WILDCARD_ALL;
        private final static List<OFInstruction> DEFAULT_INSTRUCTIONS = ImmutableList.<OFInstruction>of();

    // OF message fields
    private final long xid;
    private final U64 cookie;
    private final U64 cookieMask;
    private final TableId tableId;
    private final int idleTimeout;
    private final int hardTimeout;
    private final int priority;
    private final OFBufferId bufferId;
    private final OFPort outPort;
    private final OFGroup outGroup;
    private final Set<OFFlowModFlags> flags;
    private final Match match;
    private final List<OFInstruction> instructions;
//
    // Immutable default instance
    final static OFFlowAddVer11 DEFAULT = new OFFlowAddVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java146
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java267
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public long getRefCount() {
        return refCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setRefCount(long refCount) {
        this.refCount = refCount;
        this.refCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public List<OFBucketCounter> getBucketStats() {
        return bucketStats;
    }

    @Override
    public OFGroupStatsEntry.Builder setBucketStats(List<OFBucketCounter> bucketStats) {
        this.bucketStats = bucketStats;
        this.bucketStatsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java267
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java146
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public long getRefCount() {
        return refCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setRefCount(long refCount) {
        this.refCount = refCount;
        this.refCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public List<OFBucketCounter> getBucketStats() {
        return bucketStats;
    }

    @Override
    public OFGroupStatsEntry.Builder setBucketStats(List<OFBucketCounter> bucketStats) {
        this.bucketStats = bucketStats;
        this.bucketStatsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java37
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java37
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java37
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java37
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java37
    private static final Logger logger = LoggerFactory.getLogger(OFFlowAddVer12.class);
    // version: 1.2
    final static byte WIRE_VERSION = 3;
    final static int MINIMUM_LENGTH = 56;

        private final static long DEFAULT_XID = 0x0L;
        private final static U64 DEFAULT_COOKIE = U64.ZERO;
        private final static U64 DEFAULT_COOKIE_MASK = U64.ZERO;
        private final static TableId DEFAULT_TABLE_ID = TableId.ZERO;
        private final static int DEFAULT_IDLE_TIMEOUT = 0x0;
        private final static int DEFAULT_HARD_TIMEOUT = 0x0;
        private final static int DEFAULT_PRIORITY = 0x0;
        private final static OFBufferId DEFAULT_BUFFER_ID = OFBufferId.NO_BUFFER;
        private final static OFPort DEFAULT_OUT_PORT = OFPort.ANY;
        private final static OFGroup DEFAULT_OUT_GROUP = OFGroup.ANY;
        private final static Set<OFFlowModFlags> DEFAULT_FLAGS = ImmutableSet.<OFFlowModFlags>of();
        private final static Match DEFAULT_MATCH = OFFactoryVer12.MATCH_WILDCARD_ALL;
        private final static List<OFInstruction> DEFAULT_INSTRUCTIONS = ImmutableList.<OFInstruction>of();

    // OF message fields
    private final long xid;
    private final U64 cookie;
    private final U64 cookieMask;
    private final TableId tableId;
    private final int idleTimeout;
    private final int hardTimeout;
    private final int priority;
    private final OFBufferId bufferId;
    private final OFPort outPort;
    private final OFGroup outGroup;
    private final Set<OFFlowModFlags> flags;
    private final Match match;
    private final List<OFInstruction> instructions;
//
    // Immutable default instance
    final static OFFlowAddVer12 DEFAULT = new OFFlowAddVer12(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsReplyVer13.java131
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsReplyVer13.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xdL;
    }

    @Override
    public List<OFBsnDebugCounterDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnDebugCounterDescStatsReply.Builder setEntries(List<OFBsnDebugCounterDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnDebugCounterDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsReplyVer13.java131
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsReplyVer13.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xcL;
    }

    @Override
    public List<OFBsnDebugCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnDebugCounterStatsReply.Builder setEntries(List<OFBsnDebugCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnDebugCounterStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsReplyVer13.java131
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsReplyVer13.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public List<OFBsnFlowChecksumBucketStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsReply.Builder setEntries(List<OFBsnFlowChecksumBucketStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnFlowChecksumBucketStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsReplyVer13.java131
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsReplyVer13.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGenericStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGenericStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public List<OFBsnGenericStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGenericStatsReply.Builder setEntries(List<OFBsnGenericStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGenericStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsReplyVer13.java131
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsReplyVer13.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableBucketStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableBucketStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public List<OFBsnGentableBucketStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableBucketStatsReply.Builder setEntries(List<OFBsnGentableBucketStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGentableBucketStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsReplyVer13.java131
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsReplyVer13.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public List<OFBsnGentableDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableDescStatsReply.Builder setEntries(List<OFBsnGentableDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGentableDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsReplyVer13.java131
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsReplyVer13.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public List<OFBsnGentableEntryDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableEntryDescStatsReply.Builder setEntries(List<OFBsnGentableEntryDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsReplyVer13.java131
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsReplyVer13.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public List<OFBsnGentableEntryStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableEntryStatsReply.Builder setEntries(List<OFBsnGentableEntryStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsReplyVer13.java131
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsReplyVer13.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x7L;
    }

    @Override
    public List<OFBsnGentableStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableStatsReply.Builder setEntries(List<OFBsnGentableStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGentableStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsReplyVer13.java131
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsReplyVer13.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLacpStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnLacpStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }

    @Override
    public List<OFBsnLacpStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnLacpStatsReply.Builder setEntries(List<OFBsnLacpStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnLacpStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsReplyVer13.java131
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsReplyVer13.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPortCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnPortCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x8L;
    }

    @Override
    public List<OFBsnPortCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnPortCounterStatsReply.Builder setEntries(List<OFBsnPortCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnPortCounterStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsReplyVer13.java131
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsReplyVer13.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSwitchPipelineStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnSwitchPipelineStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x6L;
    }

    @Override
    public List<OFBsnSwitchPipelineStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnSwitchPipelineStatsReply.Builder setEntries(List<OFBsnSwitchPipelineStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnSwitchPipelineStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsReplyVer13.java131
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsReplyVer13.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTableChecksumStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnTableChecksumStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }

    @Override
    public List<OFBsnTableChecksumStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnTableChecksumStatsReply.Builder setEntries(List<OFBsnTableChecksumStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnTableChecksumStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsReplyVer13.java131
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsReplyVer13.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVlanCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVlanCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x9L;
    }

    @Override
    public List<OFBsnVlanCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnVlanCounterStatsReply.Builder setEntries(List<OFBsnVlanCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnVlanCounterStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsReplyVer13.java131
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsReplyVer13.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVrfCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVrfCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public List<OFBsnVrfCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnVrfCounterStatsReply.Builder setEntries(List<OFBsnVrfCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnVrfCounterStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsReplyVer13.java131
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsReplyVer13.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFCalientPortDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFCalientPortDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x80f958L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }

    @Override
    public List<OFCalientPortDescStatsEntry> getPortDesc() {
        return portDesc;
    }

    @Override
    public OFCalientPortDescStatsReply.Builder setPortDesc(List<OFCalientPortDescStatsEntry> portDesc) {
        this.portDesc = portDesc;
        this.portDescSet = true;
        return this;
    }


        @Override
        public OFCalientPortDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortsReplyVer13.java131
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortsReplyVer13.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFCircuitPortsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFCircuitPortsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x748771L;
    }

    @Override
    public long getSubtype() {
        return 0xdL;
    }

    @Override
    public List<OFPortOptical> getEntries() {
        return entries;
    }

    @Override
    public OFCircuitPortsReply.Builder setEntries(List<OFPortOptical> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFCircuitPortsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesVer13.java118
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesVer14.java118
        BuilderWithParent(OFMeterFeaturesVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getMaxMeter() {
        return maxMeter;
    }

    @Override
    public OFMeterFeatures.Builder setMaxMeter(long maxMeter) {
        this.maxMeter = maxMeter;
        this.maxMeterSet = true;
        return this;
    }
    @Override
    public long getBandTypes() {
        return bandTypes;
    }

    @Override
    public OFMeterFeatures.Builder setBandTypes(long bandTypes) {
        this.bandTypes = bandTypes;
        this.bandTypesSet = true;
        return this;
    }
    @Override
    public long getCapabilities() {
        return capabilities;
    }

    @Override
    public OFMeterFeatures.Builder setCapabilities(long capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public short getMaxBands() {
        return maxBands;
    }

    @Override
    public OFMeterFeatures.Builder setMaxBands(short maxBands) {
        this.maxBands = maxBands;
        this.maxBandsSet = true;
        return this;
    }
    @Override
    public short getMaxColor() {
        return maxColor;
    }

    @Override
    public OFMeterFeatures.Builder setMaxColor(short maxColor) {
        this.maxColor = maxColor;
        this.maxColorSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsReplyVer14.java131
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsReplyVer14.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xdL;
    }

    @Override
    public List<OFBsnDebugCounterDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnDebugCounterDescStatsReply.Builder setEntries(List<OFBsnDebugCounterDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnDebugCounterDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsReplyVer14.java131
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsReplyVer14.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xcL;
    }

    @Override
    public List<OFBsnDebugCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnDebugCounterStatsReply.Builder setEntries(List<OFBsnDebugCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnDebugCounterStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsReplyVer14.java131
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsReplyVer14.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public List<OFBsnFlowChecksumBucketStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsReply.Builder setEntries(List<OFBsnFlowChecksumBucketStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnFlowChecksumBucketStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsReplyVer14.java131
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsReplyVer14.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGenericStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGenericStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public List<OFBsnGenericStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGenericStatsReply.Builder setEntries(List<OFBsnGenericStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGenericStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsReplyVer14.java131
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsReplyVer14.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableBucketStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableBucketStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public List<OFBsnGentableBucketStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableBucketStatsReply.Builder setEntries(List<OFBsnGentableBucketStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGentableBucketStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsReplyVer14.java131
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsReplyVer14.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public List<OFBsnGentableDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableDescStatsReply.Builder setEntries(List<OFBsnGentableDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGentableDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsReplyVer14.java131
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsReplyVer14.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public List<OFBsnGentableEntryDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableEntryDescStatsReply.Builder setEntries(List<OFBsnGentableEntryDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsReplyVer14.java131
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsReplyVer14.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public List<OFBsnGentableEntryStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableEntryStatsReply.Builder setEntries(List<OFBsnGentableEntryStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsReplyVer14.java131
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsReplyVer14.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x7L;
    }

    @Override
    public List<OFBsnGentableStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableStatsReply.Builder setEntries(List<OFBsnGentableStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGentableStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsReplyVer14.java131
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsReplyVer14.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLacpStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnLacpStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }

    @Override
    public List<OFBsnLacpStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnLacpStatsReply.Builder setEntries(List<OFBsnLacpStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnLacpStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsReplyVer14.java131
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsReplyVer14.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPortCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnPortCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x8L;
    }

    @Override
    public List<OFBsnPortCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnPortCounterStatsReply.Builder setEntries(List<OFBsnPortCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnPortCounterStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsReplyVer14.java131
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsReplyVer14.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSwitchPipelineStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnSwitchPipelineStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x6L;
    }

    @Override
    public List<OFBsnSwitchPipelineStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnSwitchPipelineStatsReply.Builder setEntries(List<OFBsnSwitchPipelineStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnSwitchPipelineStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsReplyVer14.java131
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsReplyVer14.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTableChecksumStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnTableChecksumStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }

    @Override
    public List<OFBsnTableChecksumStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnTableChecksumStatsReply.Builder setEntries(List<OFBsnTableChecksumStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnTableChecksumStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsReplyVer14.java131
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsReplyVer14.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVlanCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVlanCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x9L;
    }

    @Override
    public List<OFBsnVlanCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnVlanCounterStatsReply.Builder setEntries(List<OFBsnVlanCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnVlanCounterStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsReplyVer14.java131
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsReplyVer14.java220
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVrfCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVrfCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public List<OFBsnVrfCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnVrfCounterStatsReply.Builder setEntries(List<OFBsnVrfCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnVrfCounterStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
net/onrc/openvirtex/api/service/handlers/tenant/ConnectOVXLink.java104
net/onrc/openvirtex/api/service/handlers/tenant/SetOVXLinkPath.java83
                Map<String, Object> reply = new HashMap<String, Object>(
                        virtualLink.getDBObject());
                reply.put(TenantHandler.TENANT, virtualLink.getTenantId());
                resp = new JSONRPC2Response(reply, 0);
            }
        } catch (final MissingRequiredField e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Unable to create virtual link : "
                            + e.getMessage()), 0);
        } catch (final VirtualLinkException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Invalid virtual link : " + e.getMessage()), 0);
        } catch (final InvalidTenantIdException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Invalid tenant id : " + e.getMessage()), 0);
        } catch (final IndexOutOfBoundException e) {
            resp = new JSONRPC2Response(
                    new JSONRPC2Error(
                            JSONRPC2Error.INVALID_PARAMS.getCode(),
                            this.cmdName()
                                    + ": Impossible to create the virtual link, too many links in this virtual network : "
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxReplyVer10.java133
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxReplyVer11.java230
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxReplyVer12.java230
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxReplyVer13.java230
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxReplyVer14.java230
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x22L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnPduRxReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxReply.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxReplyVer10.java230
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxReplyVer11.java133
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxReplyVer12.java133
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxReplyVer13.java133
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxReplyVer14.java133
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x22L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnPduRxReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxReply.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
//
        @Override
        public OFBsnPduRxReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxReplyVer10.java133
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxReplyVer11.java230
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxReplyVer12.java230
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxReplyVer13.java230
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxReplyVer14.java230
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduTxReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x20L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnPduTxReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduTxReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduTxReply.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduTxReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxReplyVer10.java230
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxReplyVer11.java133
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxReplyVer12.java133
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxReplyVer13.java133
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxReplyVer14.java133
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduTxReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x20L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnPduTxReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduTxReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduTxReply.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
//
        @Override
        public OFBsnPduTxReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java341
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java1015
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java1805
                int dstBitMask = (-1) << (32 - getIpv4DstCidrMaskLen());

                result = IPv4AddressWithMask.of(ipv4Dst, IPv4Address.of(dstBitMask));
                break;
            default:
                throw new UnsupportedOperationException("OFMatch does not support masked matching on field " + field.getName());
        }
        return (Masked<F>)result;
    }

    @Override
    public boolean supports(MatchField<?> field) {
        switch (field.id) {
            case IN_PORT:
            case ETH_DST:
            case ETH_SRC:
            case ETH_TYPE:
            case VLAN_VID:
            case VLAN_PCP:
            case ARP_OP:
            case ARP_SPA:
            case ARP_TPA:
            case IP_DSCP:
            case IP_PROTO:
            case IPV4_SRC:
            case IPV4_DST:
            case TCP_SRC:
            case TCP_DST:
            case UDP_SRC:
            case UDP_DST:
            case SCTP_SRC:
            case SCTP_DST:
            case ICMPV4_TYPE:
            case ICMPV4_CODE:
                return true;
            default:
                return false;
        }
    }

    @Override
    public boolean supportsMasked(MatchField<?> field) {
        switch (field.id) {
            case ARP_SPA:
            case ARP_TPA:
            case IPV4_SRC:
            case IPV4_DST:
                return true;
            default:
                return false;
        }
    }

    @Override
    public boolean isExact(MatchField<?> field) {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java89
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java89
            throw new NullPointerException("OFFlowStatsEntryVer11: property instructions cannot be null");
        }
        this.tableId = tableId;
        this.durationSec = durationSec;
        this.durationNsec = durationNsec;
        this.priority = priority;
        this.idleTimeout = idleTimeout;
        this.hardTimeout = hardTimeout;
        this.cookie = cookie;
        this.packetCount = packetCount;
        this.byteCount = byteCount;
        this.match = match;
        this.instructions = instructions;
    }

    // Accessors for OF message fields
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearReplyVer13.java128
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearReplyVer14.java225
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableClearReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x31L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableClearReply.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDeletedCount() {
        return deletedCount;
    }

    @Override
    public OFBsnGentableClearReply.Builder setDeletedCount(long deletedCount) {
        this.deletedCount = deletedCount;
        this.deletedCountSet = true;
        return this;
    }
    @Override
    public long getErrorCount() {
        return errorCount;
    }

    @Override
    public OFBsnGentableClearReply.Builder setErrorCount(long errorCount) {
        this.errorCount = errorCount;
        this.errorCountSet = true;
        return this;
    }


        @Override
        public OFBsnGentableClearReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearReplyVer13.java225
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearReplyVer14.java128
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableClearReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x31L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableClearReply.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getDeletedCount() {
        return deletedCount;
    }

    @Override
    public OFBsnGentableClearReply.Builder setDeletedCount(long deletedCount) {
        this.deletedCount = deletedCount;
        this.deletedCountSet = true;
        return this;
    }
    @Override
    public long getErrorCount() {
        return errorCount;
    }

    @Override
    public OFBsnGentableClearReply.Builder setErrorCount(long errorCount) {
        this.errorCount = errorCount;
        this.errorCountSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableClearReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearReplyVer13.java317
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearReplyVer14.java317
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 28)
                throw new OFParseError("Wrong length: Expected=28(28), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x31L
            int subtype = bb.readInt();
            if(subtype != 0x31)
                throw new OFParseError("Wrong subtype: Expected=0x31L(0x31L), got="+subtype);
            GenTableId tableId = GenTableId.read2Bytes(bb);
            // pad: 2 bytes
            bb.skipBytes(2);
            long deletedCount = U32.f(bb.readInt());
            long errorCount = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearRequestVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearRequestVer14.java235
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x30L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setChecksumMask(U128 checksumMask) {
        this.checksumMask = checksumMask;
        this.checksumMaskSet = true;
        return this;
    }


        @Override
        public OFBsnGentableClearRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearRequestVer13.java235
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearRequestVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x30L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }

    @Override
    public OFBsnGentableClearRequest.Builder setChecksumMask(U128 checksumMask) {
        this.checksumMask = checksumMask;
        this.checksumMaskSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableClearRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnSetTunnelDstVer10.java184
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnSetTunnelDstVer11.java184
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnSetTunnelDstVer12.java184
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnSetTunnelDstVer13.java184
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnSetTunnelDstVer14.java184
            return new OFActionBsnSetTunnelDstVer10(
                    dst
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionBsnSetTunnelDst> {
        @Override
        public OFActionBsnSetTunnelDst readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x2L
            int subtype = bb.readInt();
            if(subtype != 0x2)
                throw new OFParseError("Wrong subtype: Expected=0x2L(0x2L), got="+subtype);
            long dst = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnInterfaceVer10.java191
org/projectfloodlight/openflow/protocol/ver11/OFBsnInterfaceVer11.java191
org/projectfloodlight/openflow/protocol/ver12/OFBsnInterfaceVer12.java191
org/projectfloodlight/openflow/protocol/ver13/OFBsnInterfaceVer13.java191
org/projectfloodlight/openflow/protocol/ver14/OFBsnInterfaceVer14.java191
                return new OFBsnInterfaceVer10(
                    hwAddr,
                    name,
                    ipv4Addr,
                    ipv4Netmask
                );
        }

    }

    static class Builder implements OFBsnInterface.Builder {
        // OF message fields
        private boolean hwAddrSet;
        private MacAddress hwAddr;
        private boolean nameSet;
        private String name;
        private boolean ipv4AddrSet;
        private IPv4Address ipv4Addr;
        private boolean ipv4NetmaskSet;
        private IPv4Address ipv4Netmask;

    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFBsnInterface.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnInterface.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Addr() {
        return ipv4Addr;
    }

    @Override
    public OFBsnInterface.Builder setIpv4Addr(IPv4Address ipv4Addr) {
        this.ipv4Addr = ipv4Addr;
        this.ipv4AddrSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Netmask() {
        return ipv4Netmask;
    }

    @Override
    public OFBsnInterface.Builder setIpv4Netmask(IPv4Address ipv4Netmask) {
        this.ipv4Netmask = ipv4Netmask;
        this.ipv4NetmaskSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatusVer10.java110
org/projectfloodlight/openflow/protocol/ver11/OFPortStatusVer11.java110
org/projectfloodlight/openflow/protocol/ver12/OFPortStatusVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFPortStatusVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFPortStatusVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.PORT_STATUS;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatus.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPortReason getReason() {
        return reason;
    }

    @Override
    public OFPortStatus.Builder setReason(OFPortReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public OFPortDesc getDesc() {
        return desc;
    }

    @Override
    public OFPortStatus.Builder setDesc(OFPortDesc desc) {
        this.desc = desc;
        this.descSet = true;
        return this;
    }


        @Override
        public OFPortStatus build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFPortReason reason = this.reasonSet ? this.reason : parentMessage.reason;
                if(reason == null)
                    throw new NullPointerException("Property reason must not be null");
                OFPortDesc desc = this.descSet ? this.desc : parentMessage.desc;
                if(desc == null)
                    throw new NullPointerException("Property desc must not be null");

                //
                return new OFPortStatusVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleReplyVer12.java111
org/projectfloodlight/openflow/protocol/ver13/OFRoleReplyVer13.java111
org/projectfloodlight/openflow/protocol/ver14/OFRoleReplyVer14.java111
    }

    @Override
    public OFType getType() {
        return OFType.ROLE_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFRoleReply.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public U64 getGenerationId() {
        return generationId;
    }

    @Override
    public OFRoleReply.Builder setGenerationId(U64 generationId) {
        this.generationId = generationId;
        this.generationIdSet = true;
        return this;
    }


        @Override
        public OFRoleReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFControllerRole role = this.roleSet ? this.role : parentMessage.role;
                if(role == null)
                    throw new NullPointerException("Property role must not be null");
                U64 generationId = this.generationIdSet ? this.generationId : parentMessage.generationId;
                if(generationId == null)
                    throw new NullPointerException("Property generationId must not be null");

                //
                return new OFRoleReplyVer12(
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestVer12.java111
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestVer13.java111
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestVer14.java111
    }

    @Override
    public OFType getType() {
        return OFType.ROLE_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFRoleRequest.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public U64 getGenerationId() {
        return generationId;
    }

    @Override
    public OFRoleRequest.Builder setGenerationId(U64 generationId) {
        this.generationId = generationId;
        this.generationIdSet = true;
        return this;
    }


        @Override
        public OFRoleRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFControllerRole role = this.roleSet ? this.role : parentMessage.role;
                if(role == null)
                    throw new NullPointerException("Property role must not be null");
                U64 generationId = this.generationIdSet ? this.generationId : parentMessage.generationId;
                if(generationId == null)
                    throw new NullPointerException("Property generationId must not be null");

                //
                return new OFRoleRequestVer12(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionVer13.java185
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionVer14.java185
                return new OFBsnControllerConnectionVer13(
                    state,
                    auxiliaryId,
                    role,
                    uri
                );
        }

    }

    static class Builder implements OFBsnControllerConnection.Builder {
        // OF message fields
        private boolean stateSet;
        private OFBsnControllerConnectionState state;
        private boolean auxiliaryIdSet;
        private OFAuxId auxiliaryId;
        private boolean roleSet;
        private OFControllerRole role;
        private boolean uriSet;
        private String uri;

    @Override
    public OFBsnControllerConnectionState getState() {
        return state;
    }

    @Override
    public OFBsnControllerConnection.Builder setState(OFBsnControllerConnectionState state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public OFAuxId getAuxiliaryId() {
        return auxiliaryId;
    }

    @Override
    public OFBsnControllerConnection.Builder setAuxiliaryId(OFAuxId auxiliaryId) {
        this.auxiliaryId = auxiliaryId;
        this.auxiliaryIdSet = true;
        return this;
    }
    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFBsnControllerConnection.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public String getUri() {
        return uri;
    }

    @Override
    public OFBsnControllerConnection.Builder setUri(String uri) {
        this.uri = uri;
        this.uriSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsEntryVer13.java176
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsEntryVer14.java176
                return new OFBsnGentableDescStatsEntryVer13(
                    tableId,
                    name,
                    bucketsSize,
                    maxEntries
                );
        }

    }

    static class Builder implements OFBsnGentableDescStatsEntry.Builder {
        // OF message fields
        private boolean tableIdSet;
        private GenTableId tableId;
        private boolean nameSet;
        private String name;
        private boolean bucketsSizeSet;
        private long bucketsSize;
        private boolean maxEntriesSet;
        private long maxEntries;

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public long getBucketsSize() {
        return bucketsSize;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setBucketsSize(long bucketsSize) {
        this.bucketsSize = bucketsSize;
        this.bucketsSizeSet = true;
        return this;
    }
    @Override
    public long getMaxEntries() {
        return maxEntries;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setMaxEntries(long maxEntries) {
        this.maxEntries = maxEntries;
        this.maxEntriesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnInternalPriorityVer13.java184
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnInternalPriorityVer14.java184
            return new OFInstructionBsnInternalPriorityVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionBsnInternalPriority> {
        @Override
        public OFInstructionBsnInternalPriority readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xcL
            int subtype = bb.readInt();
            if(subtype != 0xc)
                throw new OFParseError("Wrong subtype: Expected=0xcL(0xcL), got="+subtype);
            long value = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableModVer11.java116
org/projectfloodlight/openflow/protocol/ver11/OFTableModVer11.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.TABLE_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableMod.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableMod.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFTableMod.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public List<OFTableModProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.1");
    }

    @Override
    public OFTableMod.Builder setProperties(List<OFTableModProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.1");
    }


        @Override
        public OFTableMod build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFTableModVer12.java116
org/projectfloodlight/openflow/protocol/ver12/OFTableModVer12.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.TABLE_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableMod.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableMod.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFTableMod.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public List<OFTableModProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.2");
    }

    @Override
    public OFTableMod.Builder setProperties(List<OFTableModProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.2");
    }


        @Override
        public OFTableMod build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableModVer13.java116
org/projectfloodlight/openflow/protocol/ver13/OFTableModVer13.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.TABLE_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableMod.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableMod.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFTableMod.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public List<OFTableModProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.3");
    }

    @Override
    public OFTableMod.Builder setProperties(List<OFTableModProp> properties) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property properties not supported in version 1.3");
    }


        @Override
        public OFTableMod build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
net/onrc/openvirtex/messages/ver13/OVXFlowAddVer13.java375
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteVer13.java239
            System.out.println("Actually adding.$$$$");
            sw.sendSouth(this, inPort);
        }
    }

   

    private void prependRewriteActions() {
        if (this.getMatch().get(MatchField.IPV4_SRC) != null) {
            OFOxmIpv4Src oxmIpv4Src = new OFOxmIpv4SrcVer13(IPv4Address.of(IPMapper.getPhysicalIp(sw.getTenantId(),
                    ((OFMatchV3)this.match).get(MatchField.IPV4_SRC).getInt())));
            final OVXActionSetField srcAct = OVXFactoryInst.myOVXFactory.buildOVXActionSetField(oxmIpv4Src);
            this.approvedActions.add(0, srcAct);
        }

        if (this.getMatch().get(MatchField.IPV4_DST) != null) {
            OFOxmIpv4Dst oxmIpv4Dst = new OFOxmIpv4DstVer13(IPv4Address.of(IPMapper.getPhysicalIp(sw.getTenantId(),
                    ((OFMatchV3)this.match).get(MatchField.IPV4_DST).getInt())));
            final OVXActionSetField dstAct = OVXFactoryInst.myOVXFactory.buildOVXActionSetField(oxmIpv4Dst);
            this.approvedActions.add(0, dstAct);
        }
    }

    /**
     * @param flagbit
     *            The OFFlowMod flag
     * @return true if the flag is set
     */
    public boolean hasFlag(short flagbit) {
        return (this.getFlags().contains(OFFlowModFlagsSerializerVer13.ofWireValue(flagbit)));
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableSetReplyVer10.java120
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableSetReplyVer11.java120
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableSetReplyVer12.java120
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableSetReplyVer13.java120
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableSetReplyVer14.java120
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x17L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableSetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                long enable = this.enableSet ? this.enable : parentMessage.enable;
                long status = this.statusSet ? this.status : parentMessage.status;

                //
                return new OFBsnBwEnableSetReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortCreateReplyVer10.java120
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortCreateReplyVer11.java120
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortCreateReplyVer12.java120
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortCreateReplyVer13.java120
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortCreateReplyVer14.java120
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public long getVportNo() {
        return vportNo;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setVportNo(long vportNo) {
        this.vportNo = vportNo;
        this.vportNoSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortCreateReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                long status = this.statusSet ? this.status : parentMessage.status;
                long vportNo = this.vportNoSet ? this.vportNo : parentMessage.vportNo;

                //
                return new OFBsnVirtualPortCreateReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsEntryVer10.java146
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsEntryVer11.java146
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsEntryVer12.java146
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsEntryVer13.java156
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsEntryVer14.java165
        BuilderWithParent(OFQueueStatsEntryVer10 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsEntry.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsRequestVer10.java132
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsRequestVer11.java226
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsRequestVer12.java226
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsRequestVer13.java226
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsRequestVer14.java226
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.QUEUE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFQueueStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsRequest.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }


        @Override
        public OFQueueStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsRequestVer10.java226
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsRequestVer11.java132
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsRequestVer12.java132
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsRequestVer13.java132
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsRequestVer14.java132
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.QUEUE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFQueueStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsRequest.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
//
        @Override
        public OFQueueStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupAddVer11.java131
org/projectfloodlight/openflow/protocol/ver12/OFGroupAddVer12.java227
org/projectfloodlight/openflow/protocol/ver13/OFGroupAddVer13.java227
org/projectfloodlight/openflow/protocol/ver14/OFGroupAddVer14.java227
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.ADD;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupAdd.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupAdd.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupAdd.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }


        @Override
        public OFGroupAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupAddVer11.java227
org/projectfloodlight/openflow/protocol/ver12/OFGroupAddVer12.java131
org/projectfloodlight/openflow/protocol/ver13/OFGroupAddVer13.java131
org/projectfloodlight/openflow/protocol/ver14/OFGroupAddVer14.java131
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupAdd.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.ADD;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupAdd.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupAdd.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupAdd.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }
//
        @Override
        public OFGroupAdd build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDeleteVer11.java131
org/projectfloodlight/openflow/protocol/ver12/OFGroupDeleteVer12.java227
org/projectfloodlight/openflow/protocol/ver13/OFGroupDeleteVer13.java227
org/projectfloodlight/openflow/protocol/ver14/OFGroupDeleteVer14.java227
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.DELETE;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupDelete.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupDelete.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupDelete.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }


        @Override
        public OFGroupDelete build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDeleteVer11.java227
org/projectfloodlight/openflow/protocol/ver12/OFGroupDeleteVer12.java131
org/projectfloodlight/openflow/protocol/ver13/OFGroupDeleteVer13.java131
org/projectfloodlight/openflow/protocol/ver14/OFGroupDeleteVer14.java131
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.DELETE;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupDelete.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupDelete.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupDelete.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }
//
        @Override
        public OFGroupDelete build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupModifyVer11.java131
org/projectfloodlight/openflow/protocol/ver12/OFGroupModifyVer12.java227
org/projectfloodlight/openflow/protocol/ver13/OFGroupModifyVer13.java227
org/projectfloodlight/openflow/protocol/ver14/OFGroupModifyVer14.java227
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupModify.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.MODIFY;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupModify.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupModify.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupModify.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }


        @Override
        public OFGroupModify build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupModifyVer11.java227
org/projectfloodlight/openflow/protocol/ver12/OFGroupModifyVer12.java131
org/projectfloodlight/openflow/protocol/ver13/OFGroupModifyVer13.java131
org/projectfloodlight/openflow/protocol/ver14/OFGroupModifyVer14.java131
    }

    @Override
    public OFType getType() {
        return OFType.GROUP_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupModify.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFGroupModCommand getCommand() {
        return OFGroupModCommand.MODIFY;
    }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupModify.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupModify.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupModify.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }
//
        @Override
        public OFGroupModify build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableSetReplyVer13.java120
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableSetReplyVer14.java120
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdleEnableSetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x25L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnFlowIdleEnableSetReply.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnFlowIdleEnableSetReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnFlowIdleEnableSetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                long enable = this.enableSet ? this.enable : parentMessage.enable;
                long status = this.statusSet ? this.status : parentMessage.status;

                //
                return new OFBsnFlowIdleEnableSetReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetAuxCxnsReplyVer13.java120
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetAuxCxnsReplyVer14.java120
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetAuxCxnsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3bL;
    }

    @Override
    public long getNumAux() {
        return numAux;
    }

    @Override
    public OFBsnSetAuxCxnsReply.Builder setNumAux(long numAux) {
        this.numAux = numAux;
        this.numAuxSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetAuxCxnsReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnSetAuxCxnsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                long numAux = this.numAuxSet ? this.numAux : parentMessage.numAux;
                long status = this.statusSet ? this.status : parentMessage.status;

                //
                return new OFBsnSetAuxCxnsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFGetConfigReplyVer10.java114
org/projectfloodlight/openflow/protocol/ver11/OFGetConfigReplyVer11.java114
org/projectfloodlight/openflow/protocol/ver12/OFGetConfigReplyVer12.java114
org/projectfloodlight/openflow/protocol/ver13/OFGetConfigReplyVer13.java114
org/projectfloodlight/openflow/protocol/ver14/OFGetConfigReplyVer14.java114
    }

    @Override
    public OFType getType() {
        return OFType.GET_CONFIG_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGetConfigReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public Set<OFConfigFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGetConfigReply.Builder setFlags(Set<OFConfigFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public int getMissSendLen() {
        return missSendLen;
    }

    @Override
    public OFGetConfigReply.Builder setMissSendLen(int missSendLen) {
        this.missSendLen = missSendLen;
        this.missSendLenSet = true;
        return this;
    }


        @Override
        public OFGetConfigReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFConfigFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                int missSendLen = this.missSendLenSet ? this.missSendLen : parentMessage.missSendLen;

                //
                return new OFGetConfigReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFSetConfigVer10.java114
org/projectfloodlight/openflow/protocol/ver11/OFSetConfigVer11.java114
org/projectfloodlight/openflow/protocol/ver12/OFSetConfigVer12.java114
org/projectfloodlight/openflow/protocol/ver13/OFSetConfigVer13.java114
org/projectfloodlight/openflow/protocol/ver14/OFSetConfigVer14.java114
    }

    @Override
    public OFType getType() {
        return OFType.SET_CONFIG;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFSetConfig.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public Set<OFConfigFlags> getFlags() {
        return flags;
    }

    @Override
    public OFSetConfig.Builder setFlags(Set<OFConfigFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public int getMissSendLen() {
        return missSendLen;
    }

    @Override
    public OFSetConfig.Builder setMissSendLen(int missSendLen) {
        this.missSendLen = missSendLen;
        this.missSendLenSet = true;
        return this;
    }


        @Override
        public OFSetConfig build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFConfigFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                int missSendLen = this.missSendLenSet ? this.missSendLen : parentMessage.missSendLen;

                //
                return new OFSetConfigVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFStatsReplyFlagsSerializerVer11.java34
org/projectfloodlight/openflow/protocol/ver12/OFStatsReplyFlagsSerializerVer12.java34
org/projectfloodlight/openflow/protocol/ver13/OFStatsReplyFlagsSerializerVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFStatsReplyFlagsSerializerVer14.java34
public class OFStatsReplyFlagsSerializerVer11 {

    public final static short REPLY_MORE_VAL = (short) 0x1;

    public static Set<OFStatsReplyFlags> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFStatsReplyFlags> set) {
        bb.writeShort(toWireValue(set));
    }

    public static void putTo(Set<OFStatsReplyFlags> set, PrimitiveSink sink) {
        sink.putShort(toWireValue(set));
    }


    public static Set<OFStatsReplyFlags> ofWireValue(short val) {
        EnumSet<OFStatsReplyFlags> set = EnumSet.noneOf(OFStatsReplyFlags.class);

        if((val & REPLY_MORE_VAL) != 0)
            set.add(OFStatsReplyFlags.REPLY_MORE);
        return Collections.unmodifiableSet(set);
    }

    public static short toWireValue(Set<OFStatsReplyFlags> set) {
        short wireValue = 0;

        for(OFStatsReplyFlags e: set) {
            switch(e) {
                case REPLY_MORE:
                    wireValue |= REPLY_MORE_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFStatsReplyFlags in version 1.1: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDeleteVer13.java288
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDeleteVer14.java288
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x2fL
            int subtype = bb.readInt();
            if(subtype != 0x2f)
                throw new OFParseError("Wrong subtype: Expected=0x2fL(0x2fL), got="+subtype);
            GenTableId tableId = GenTableId.read2Bytes(bb);
            List<OFBsnTlv> key = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFBsnTlvVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java38
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java38
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java38
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java38
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java38
    private static final Logger logger = LoggerFactory.getLogger(OFFlowAddVer13.class);
    // version: 1.3
    final static byte WIRE_VERSION = 4;
    final static int MINIMUM_LENGTH = 56;

        private final static long DEFAULT_XID = 0x0L;
        private final static U64 DEFAULT_COOKIE = U64.ZERO;
        private final static U64 DEFAULT_COOKIE_MASK = U64.ZERO;
        private final static TableId DEFAULT_TABLE_ID = TableId.ZERO;
        private final static int DEFAULT_IDLE_TIMEOUT = 0x0;
        private final static int DEFAULT_HARD_TIMEOUT = 0x0;
        private final static int DEFAULT_PRIORITY = 0x0;
        private final static OFBufferId DEFAULT_BUFFER_ID = OFBufferId.NO_BUFFER;
        private final static OFPort DEFAULT_OUT_PORT = OFPort.ANY;
        private final static OFGroup DEFAULT_OUT_GROUP = OFGroup.ANY;
        private final static Set<OFFlowModFlags> DEFAULT_FLAGS = ImmutableSet.<OFFlowModFlags>of();
        private final static Match DEFAULT_MATCH = OFFactoryVer13.MATCH_WILDCARD_ALL;
        private final static List<OFInstruction> DEFAULT_INSTRUCTIONS = ImmutableList.<OFInstruction>of();

    // OF message fields
    private final long xid;
    public  U64 cookie;
    private final U64 cookieMask;
    private final TableId tableId;
    private final int idleTimeout;
    private final int hardTimeout;
    private final int priority;
    public  OFBufferId bufferId;
    private final OFPort outPort;
    private final OFGroup outGroup;
    public  Set<OFFlowModFlags> flags;
    public  Match match;
    private  List<OFInstruction> instructions;
//
    // Immutable default instance
    final static OFFlowAddVer13 DEFAULT = new OFFlowAddVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFStatsRequestFlagsSerializerVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFStatsRequestFlagsSerializerVer14.java34
public class OFStatsRequestFlagsSerializerVer13 {

    public final static short REQ_MORE_VAL = (short) 0x1;

    public static Set<OFStatsRequestFlags> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFStatsRequestFlags> set) {
        bb.writeShort(toWireValue(set));
    }

    public static void putTo(Set<OFStatsRequestFlags> set, PrimitiveSink sink) {
        sink.putShort(toWireValue(set));
    }


    public static Set<OFStatsRequestFlags> ofWireValue(short val) {
        EnumSet<OFStatsRequestFlags> set = EnumSet.noneOf(OFStatsRequestFlags.class);

        if((val & REQ_MORE_VAL) != 0)
            set.add(OFStatsRequestFlags.REQ_MORE);
        return Collections.unmodifiableSet(set);
    }

    public static short toWireValue(Set<OFStatsRequestFlags> set) {
        short wireValue = 0;

        for(OFStatsRequestFlags e: set) {
            switch(e) {
                case REQ_MORE:
                    wireValue |= REQ_MORE_VAL;
                    break;
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFStatsRequestFlags in version 1.3: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBundleAddMsgVer14.java121
org/projectfloodlight/openflow/protocol/ver14/OFBundleAddMsgVer14.java212
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.BUNDLE_ADD_MESSAGE;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBundleAddMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public BundleId getBundleId() {
        return bundleId;
    }

    @Override
    public OFBundleAddMsg.Builder setBundleId(BundleId bundleId) {
        this.bundleId = bundleId;
        this.bundleIdSet = true;
        return this;
    }
    @Override
    public Set<OFBundleFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBundleAddMsg.Builder setFlags(Set<OFBundleFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFMessage getData() {
        return data;
    }

    @Override
    public OFBundleAddMsg.Builder setData(OFMessage data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBundleAddMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFTableModVer14.java125
org/projectfloodlight/openflow/protocol/ver14/OFTableModVer14.java214
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.TABLE_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableMod.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableMod.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFTableMod.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public List<OFTableModProp> getProperties() {
        return properties;
    }

    @Override
    public OFTableMod.Builder setProperties(List<OFTableModProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }


        @Override
        public OFTableMod build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnChecksumVer10.java191
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnChecksumVer11.java191
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnChecksumVer12.java191
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnChecksumVer13.java191
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnChecksumVer14.java191
            return new OFActionBsnChecksumVer10(
                    checksum
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionBsnChecksum> {
        @Override
        public OFActionBsnChecksum readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 28)
                throw new OFParseError("Wrong length: Expected=28(28), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x4L
            int subtype = bb.readInt();
            if(subtype != 0x4)
                throw new OFParseError("Wrong subtype: Expected=0x4L(0x4L), got="+subtype);
            U128 checksum = U128.read16Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnMirrorVer10.java265
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnMirrorVer11.java265
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnMirrorVer12.java265
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnMirrorVer13.java265
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnMirrorVer14.java265
            return new OFActionBsnMirrorVer10(
                    destPort,
                    vlanTag,
                    copyStage
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionBsnMirror> {
        @Override
        public OFActionBsnMirror readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x1L
            int subtype = bb.readInt();
            if(subtype != 0x1)
                throw new OFParseError("Wrong subtype: Expected=0x1L(0x1L), got="+subtype);
            OFPort destPort = OFPort.read2Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatusVer10.java184
org/projectfloodlight/openflow/protocol/ver11/OFPortStatusVer11.java184
org/projectfloodlight/openflow/protocol/ver12/OFPortStatusVer12.java184
org/projectfloodlight/openflow/protocol/ver13/OFPortStatusVer13.java184
org/projectfloodlight/openflow/protocol/ver14/OFPortStatusVer14.java184
    }

    @Override
    public OFType getType() {
        return OFType.PORT_STATUS;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatus.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPortReason getReason() {
        return reason;
    }

    @Override
    public OFPortStatus.Builder setReason(OFPortReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public OFPortDesc getDesc() {
        return desc;
    }

    @Override
    public OFPortStatus.Builder setDesc(OFPortDesc desc) {
        this.desc = desc;
        this.descSet = true;
        return this;
    }
//
        @Override
        public OFPortStatus build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.reasonSet)
                throw new IllegalStateException("Property reason doesn't have default value -- must be set");
            if(reason == null)
                throw new NullPointerException("Property reason must not be null");
            if(!this.descSet)
                throw new IllegalStateException("Property desc doesn't have default value -- must be set");
            if(desc == null)
                throw new NullPointerException("Property desc must not be null");


            return new OFPortStatusVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsEntryVer10.java150
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsEntryVer11.java280
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsEntryVer12.java280
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsEntry.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.0");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsEntryVer10.java280
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsEntryVer11.java150
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsEntryVer12.java150
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsEntry.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.0");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsRequestVer13.java129
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsRequestVer13.java218
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }


        @Override
        public OFBsnFlowChecksumBucketStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsRequestVer13.java124
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsRequestVer13.java213
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableBucketStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableBucketStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableBucketStatsRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }


        @Override
        public OFBsnGentableBucketStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsRequestVer13.java129
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsRequestVer13.java218
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPortCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnPortCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x8L;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPortCounterStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }


        @Override
        public OFBsnPortCounterStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsRequestVer13.java126
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsRequestVer13.java213
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVlanCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVlanCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x9L;
    }

    @Override
    public int getVlanVid() {
        return vlanVid;
    }

    @Override
    public OFBsnVlanCounterStatsRequest.Builder setVlanVid(int vlanVid) {
        this.vlanVid = vlanVid;
        this.vlanVidSet = true;
        return this;
    }


        @Override
        public OFBsnVlanCounterStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsRequestVer13.java126
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsRequestVer13.java213
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVrfCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVrfCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public long getVrf() {
        return vrf;
    }

    @Override
    public OFBsnVrfCounterStatsRequest.Builder setVrf(long vrf) {
        this.vrf = vrf;
        this.vrfSet = true;
        return this;
    }


        @Override
        public OFBsnVrfCounterStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsRequestVer13.java129
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsRequestVer13.java218
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFCalientPortStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFCalientPortStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x80f958L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFCalientPortStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }


        @Override
        public OFCalientPortStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsRequestVer14.java129
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsRequestVer14.java218
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }


        @Override
        public OFBsnFlowChecksumBucketStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsRequestVer14.java124
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsRequestVer14.java213
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableBucketStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableBucketStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableBucketStatsRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }


        @Override
        public OFBsnGentableBucketStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsRequestVer14.java129
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsRequestVer14.java218
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPortCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnPortCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x8L;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPortCounterStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }


        @Override
        public OFBsnPortCounterStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsRequestVer14.java126
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsRequestVer14.java213
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVlanCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVlanCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x9L;
    }

    @Override
    public int getVlanVid() {
        return vlanVid;
    }

    @Override
    public OFBsnVlanCounterStatsRequest.Builder setVlanVid(int vlanVid) {
        this.vlanVid = vlanVid;
        this.vlanVidSet = true;
        return this;
    }


        @Override
        public OFBsnVlanCounterStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsRequestVer14.java126
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsRequestVer14.java213
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVrfCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVrfCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public long getVrf() {
        return vrf;
    }

    @Override
    public OFBsnVrfCounterStatsRequest.Builder setVrf(long vrf) {
        this.vrf = vrf;
        this.vrfSet = true;
        return this;
    }


        @Override
        public OFBsnVrfCounterStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/OFFlowAdd.java55
org/projectfloodlight/openflow/protocol/OFFlowDelete.java55
org/projectfloodlight/openflow/protocol/OFFlowDeleteStrict.java55
org/projectfloodlight/openflow/protocol/OFFlowMod.java54
org/projectfloodlight/openflow/protocol/OFFlowModify.java55
org/projectfloodlight/openflow/protocol/OFFlowModifyStrict.java55
        OFFlowAdd build();
        OFVersion getVersion();
        OFType getType();
        long getXid();
        Builder setXid(long xid);
        U64 getCookie();
        Builder setCookie(U64 cookie);
        U64 getCookieMask() throws UnsupportedOperationException;
        Builder setCookieMask(U64 cookieMask) throws UnsupportedOperationException;
        TableId getTableId() throws UnsupportedOperationException;
        Builder setTableId(TableId tableId) throws UnsupportedOperationException;
        OFFlowModCommand getCommand();
        int getIdleTimeout();
        Builder setIdleTimeout(int idleTimeout);
        int getHardTimeout();
        Builder setHardTimeout(int hardTimeout);
        int getPriority();
        Builder setPriority(int priority);
        OFBufferId getBufferId();
        Builder setBufferId(OFBufferId bufferId);
        OFPort getOutPort();
        Builder setOutPort(OFPort outPort);
        OFGroup getOutGroup() throws UnsupportedOperationException;
        Builder setOutGroup(OFGroup outGroup) throws UnsupportedOperationException;
        Set<OFFlowModFlags> getFlags();
        Builder setFlags(Set<OFFlowModFlags> flags);
        Match getMatch();
        Builder setMatch(Match match);
        List<OFInstruction> getInstructions() throws UnsupportedOperationException;
        Builder setInstructions(List<OFInstruction> instructions) throws UnsupportedOperationException;
        List<OFAction> getActions() throws UnsupportedOperationException;
        Builder setActions(List<OFAction> actions) throws UnsupportedOperationException;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowAddVer10.java690
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteStrictVer10.java689
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteVer10.java689
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyStrictVer10.java689
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyVer10.java689
        public OFFlowAdd readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 1
            byte version = bb.readByte();
            if(version != (byte) 0x1)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 14
            byte type = bb.readByte();
            if(type != (byte) 0xe)
                throw new OFParseError("Wrong type: Expected=OFType.FLOW_MOD(14), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            Match match = ChannelUtilsVer10.readOFMatch(bb);
            U64 cookie = U64.ofRaw(bb.readLong());
            // fixed value property command == 0
            short command = bb.readShort();
            if(command != (short) 0x0)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxReplyVer11.java321
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxReplyVer12.java321
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxReplyVer13.java321
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxReplyVer14.java321
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 25)
                throw new OFParseError("Wrong length: Expected=25(25), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x22L
            int subtype = bb.readInt();
            if(subtype != 0x22)
                throw new OFParseError("Wrong subtype: Expected=0x22L(0x22L), got="+subtype);
            long status = U32.f(bb.readInt());
            OFPort portNo = OFPort.read4Bytes(bb);
            short slotNum = U8.f(bb.readByte());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxReplyVer11.java321
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxReplyVer12.java321
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxReplyVer13.java321
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxReplyVer14.java321
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 25)
                throw new OFParseError("Wrong length: Expected=25(25), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x20L
            int subtype = bb.readInt();
            if(subtype != 0x20)
                throw new OFParseError("Wrong subtype: Expected=0x20L(0x20L), got="+subtype);
            long status = U32.f(bb.readInt());
            OFPort portNo = OFPort.read4Bytes(bb);
            short slotNum = U8.f(bb.readByte());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java124
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java127
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.ADD;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java124
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java127
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.DELETE_STRICT;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java124
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java127
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.DELETE;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java124
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java127
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.MODIFY_STRICT;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java124
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java127
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.MODIFY;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java146
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java146
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java289
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java289
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public long getRefCount() {
        return refCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setRefCount(long refCount) {
        this.refCount = refCount;
        this.refCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public List<OFBucketCounter> getBucketStats() {
        return bucketStats;
    }

    @Override
    public OFGroupStatsEntry.Builder setBucketStats(List<OFBucketCounter> bucketStats) {
        this.bucketStats = bucketStats;
        this.bucketStatsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java267
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java267
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java156
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java156
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public long getRefCount() {
        return refCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setRefCount(long refCount) {
        this.refCount = refCount;
        this.refCountSet = true;
        return this;
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFGroupStatsEntry.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public List<OFBucketCounter> getBucketStats() {
        return bucketStats;
    }

    @Override
    public OFGroupStatsEntry.Builder setBucketStats(List<OFBucketCounter> bucketStats) {
        this.bucketStats = bucketStats;
        this.bucketStatsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleReplyVer12.java185
org/projectfloodlight/openflow/protocol/ver13/OFRoleReplyVer13.java185
org/projectfloodlight/openflow/protocol/ver14/OFRoleReplyVer14.java185
    }

    @Override
    public OFType getType() {
        return OFType.ROLE_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFRoleReply.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public U64 getGenerationId() {
        return generationId;
    }

    @Override
    public OFRoleReply.Builder setGenerationId(U64 generationId) {
        this.generationId = generationId;
        this.generationIdSet = true;
        return this;
    }
//
        @Override
        public OFRoleReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.roleSet)
                throw new IllegalStateException("Property role doesn't have default value -- must be set");
            if(role == null)
                throw new NullPointerException("Property role must not be null");
            U64 generationId = this.generationIdSet ? this.generationId : DEFAULT_GENERATION_ID;
            if(generationId == null)
                throw new NullPointerException("Property generationId must not be null");


            return new OFRoleReplyVer12(
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestVer12.java185
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestVer13.java185
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestVer14.java185
    }

    @Override
    public OFType getType() {
        return OFType.ROLE_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFRoleRequest.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public U64 getGenerationId() {
        return generationId;
    }

    @Override
    public OFRoleRequest.Builder setGenerationId(U64 generationId) {
        this.generationId = generationId;
        this.generationIdSet = true;
        return this;
    }
//
        @Override
        public OFRoleRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.roleSet)
                throw new IllegalStateException("Property role doesn't have default value -- must be set");
            if(role == null)
                throw new NullPointerException("Property role must not be null");
            U64 generationId = this.generationIdSet ? this.generationId : DEFAULT_GENERATION_ID;
            if(generationId == null)
                throw new NullPointerException("Property generationId must not be null");


            return new OFRoleRequestVer12(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBadRequestCodeSerializerVer13.java47
org/projectfloodlight/openflow/protocol/ver14/OFBadRequestCodeSerializerVer14.java49
    public static OFBadRequestCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBadRequestCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFBadRequestCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFBadRequestCode ofWireValue(short val) {
        switch(val) {
            case BAD_VERSION_VAL:
                return OFBadRequestCode.BAD_VERSION;
            case BAD_TYPE_VAL:
                return OFBadRequestCode.BAD_TYPE;
            case BAD_STAT_VAL:
                return OFBadRequestCode.BAD_STAT;
            case BAD_EXPERIMENTER_VAL:
                return OFBadRequestCode.BAD_EXPERIMENTER;
            case BAD_EXPERIMENTER_TYPE_VAL:
                return OFBadRequestCode.BAD_EXPERIMENTER_TYPE;
            case EPERM_VAL:
                return OFBadRequestCode.EPERM;
            case BAD_LEN_VAL:
                return OFBadRequestCode.BAD_LEN;
            case BUFFER_EMPTY_VAL:
                return OFBadRequestCode.BUFFER_EMPTY;
            case BUFFER_UNKNOWN_VAL:
                return OFBadRequestCode.BUFFER_UNKNOWN;
            case BAD_TABLE_ID_VAL:
                return OFBadRequestCode.BAD_TABLE_ID;
            case IS_SLAVE_VAL:
                return OFBadRequestCode.IS_SLAVE;
            case BAD_PORT_VAL:
                return OFBadRequestCode.BAD_PORT;
            case BAD_PACKET_VAL:
                return OFBadRequestCode.BAD_PACKET;
            case MULTIPART_BUFFER_OVERFLOW_VAL:
                return OFBadRequestCode.MULTIPART_BUFFER_OVERFLOW;
FileLine
net/onrc/openvirtex/api/service/handlers/tenant/RemoveOVXPort.java75
net/onrc/openvirtex/api/service/handlers/tenant/StartOVXPort.java87
net/onrc/openvirtex/api/service/handlers/tenant/StopOVXPort.java87
                            + e.getMessage()), 0);
        } catch (final InvalidPortException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Invalid port : " + e.getMessage()), 0);
        } catch (final InvalidTenantIdException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Invalid tenant id : " + e.getMessage()), 0);
        } catch (final InvalidDPIDException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Invalid virtual dpid : " + e.getMessage()), 0);
        } catch (final NetworkMappingException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": " + e.getMessage()), 0);
        }
        return resp;
    }


    @Override
    public JSONRPC2ParamsType getType() {
        return JSONRPC2ParamsType.OBJECT;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java706
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java706
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java706
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java732
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsEntryVer14.java681
            U64 rxPackets = this.rxPacketsSet ? this.rxPackets : DEFAULT_RX_PACKETS;
            if(rxPackets == null)
                throw new NullPointerException("Property rxPackets must not be null");
            U64 txPackets = this.txPacketsSet ? this.txPackets : DEFAULT_TX_PACKETS;
            if(txPackets == null)
                throw new NullPointerException("Property txPackets must not be null");
            U64 rxBytes = this.rxBytesSet ? this.rxBytes : DEFAULT_RX_BYTES;
            if(rxBytes == null)
                throw new NullPointerException("Property rxBytes must not be null");
            U64 txBytes = this.txBytesSet ? this.txBytes : DEFAULT_TX_BYTES;
            if(txBytes == null)
                throw new NullPointerException("Property txBytes must not be null");
            U64 rxDropped = this.rxDroppedSet ? this.rxDropped : DEFAULT_RX_DROPPED;
            if(rxDropped == null)
                throw new NullPointerException("Property rxDropped must not be null");
            U64 txDropped = this.txDroppedSet ? this.txDropped : DEFAULT_TX_DROPPED;
            if(txDropped == null)
                throw new NullPointerException("Property txDropped must not be null");
            U64 rxErrors = this.rxErrorsSet ? this.rxErrors : DEFAULT_RX_ERRORS;
            if(rxErrors == null)
                throw new NullPointerException("Property rxErrors must not be null");
            U64 txErrors = this.txErrorsSet ? this.txErrors : DEFAULT_TX_ERRORS;
            if(txErrors == null)
                throw new NullPointerException("Property txErrors must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsReplyVer10.java125
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsReplyVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsReplyVer12.java124
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFPortStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFPortStatsReply.Builder setEntries(List<OFPortStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFPortStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsReplyFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java887
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java887
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java887
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java887
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java887
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java887
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java887
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java887
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java887
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java887
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java931
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java927
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java926
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java927
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java925
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java901
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java901
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java901
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java901
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java901
        StringBuilder b = new StringBuilder("OFFlowAddVer11(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("cookie=").append(cookie);
        b.append(", ");
        b.append("cookieMask=").append(cookieMask);
        b.append(", ");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("idleTimeout=").append(idleTimeout);
        b.append(", ");
        b.append("hardTimeout=").append(hardTimeout);
        b.append(", ");
        b.append("priority=").append(priority);
        b.append(", ");
        b.append("bufferId=").append(bufferId);
        b.append(", ");
        b.append("outPort=").append(outPort);
        b.append(", ");
        b.append("outGroup=").append(outGroup);
        b.append(", ");
        b.append("flags=").append(flags);
        b.append(", ");
        b.append("match=").append(match);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFExperimenterErrorMsgVer12.java306
org/projectfloodlight/openflow/protocol/ver13/OFExperimenterErrorMsgVer13.java306
org/projectfloodlight/openflow/protocol/ver14/OFExperimenterErrorMsgVer14.java306
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 65535
            short errType = bb.readShort();
            if(errType != (short) 0xffff)
                throw new OFParseError("Wrong errType: Expected=OFErrorType.EXPERIMENTER(65535), got="+errType);
            int subtype = U16.f(bb.readShort());
            long experimenter = U32.f(bb.readInt());
            OFErrorCauseData data = OFErrorCauseData.read(bb, length - (bb.readerIndex() - start), OFVersion.OF_12);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableSetBucketsSizeVer13.java283
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableSetBucketsSizeVer14.java283
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x3dL
            int subtype = bb.readInt();
            if(subtype != 0x3d)
                throw new OFParseError("Wrong subtype: Expected=0x3dL(0x3dL), got="+subtype);
            // pad: 1 bytes
            bb.skipBytes(1);
            TableId tableId = TableId.readByte(bb);
            // pad: 2 bytes
            bb.skipBytes(2);
            long bucketsSize = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearRequestVer13.java331
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearRequestVer14.java331
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 52)
                throw new OFParseError("Wrong length: Expected=52(52), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x30L
            int subtype = bb.readInt();
            if(subtype != 0x30)
                throw new OFParseError("Wrong subtype: Expected=0x30L(0x30L), got="+subtype);
            GenTableId tableId = GenTableId.read2Bytes(bb);
            // pad: 2 bytes
            bb.skipBytes(2);
            U128 checksum = U128.read16Bytes(bb);
            U128 checksumMask = U128.read16Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java542
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java542
    }

//
        @Override
        public OFBsnLacpStatsEntry build() {
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            int actorSysPriority = this.actorSysPrioritySet ? this.actorSysPriority : DEFAULT_ACTOR_SYS_PRIORITY;
            MacAddress actorSysMac = this.actorSysMacSet ? this.actorSysMac : DEFAULT_ACTOR_SYS_MAC;
            if(actorSysMac == null)
                throw new NullPointerException("Property actorSysMac must not be null");
            int actorPortPriority = this.actorPortPrioritySet ? this.actorPortPriority : DEFAULT_ACTOR_PORT_PRIORITY;
            int actorPortNum = this.actorPortNumSet ? this.actorPortNum : DEFAULT_ACTOR_PORT_NUM;
            int actorKey = this.actorKeySet ? this.actorKey : DEFAULT_ACTOR_KEY;
            short convergenceStatus = this.convergenceStatusSet ? this.convergenceStatus : DEFAULT_CONVERGENCE_STATUS;
            int partnerSysPriority = this.partnerSysPrioritySet ? this.partnerSysPriority : DEFAULT_PARTNER_SYS_PRIORITY;
            MacAddress partnerSysMac = this.partnerSysMacSet ? this.partnerSysMac : DEFAULT_PARTNER_SYS_MAC;
            if(partnerSysMac == null)
                throw new NullPointerException("Property partnerSysMac must not be null");
            int partnerPortPriority = this.partnerPortPrioritySet ? this.partnerPortPriority : DEFAULT_PARTNER_PORT_PRIORITY;
            int partnerPortNum = this.partnerPortNumSet ? this.partnerPortNum : DEFAULT_PARTNER_PORT_NUM;
            int partnerKey = this.partnerKeySet ? this.partnerKey : DEFAULT_PARTNER_KEY;


            return new OFBsnLacpStatsEntryVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesVer13.java122
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesVer14.java217
    @Override
    public long getMaxMeter() {
        return maxMeter;
    }

    @Override
    public OFMeterFeatures.Builder setMaxMeter(long maxMeter) {
        this.maxMeter = maxMeter;
        this.maxMeterSet = true;
        return this;
    }
    @Override
    public long getBandTypes() {
        return bandTypes;
    }

    @Override
    public OFMeterFeatures.Builder setBandTypes(long bandTypes) {
        this.bandTypes = bandTypes;
        this.bandTypesSet = true;
        return this;
    }
    @Override
    public long getCapabilities() {
        return capabilities;
    }

    @Override
    public OFMeterFeatures.Builder setCapabilities(long capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public short getMaxBands() {
        return maxBands;
    }

    @Override
    public OFMeterFeatures.Builder setMaxBands(short maxBands) {
        this.maxBands = maxBands;
        this.maxBandsSet = true;
        return this;
    }
    @Override
    public short getMaxColor() {
        return maxColor;
    }

    @Override
    public OFMeterFeatures.Builder setMaxColor(short maxColor) {
        this.maxColor = maxColor;
        this.maxColorSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesVer13.java217
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesVer14.java122
    @Override
    public long getMaxMeter() {
        return maxMeter;
    }

    @Override
    public OFMeterFeatures.Builder setMaxMeter(long maxMeter) {
        this.maxMeter = maxMeter;
        this.maxMeterSet = true;
        return this;
    }
    @Override
    public long getBandTypes() {
        return bandTypes;
    }

    @Override
    public OFMeterFeatures.Builder setBandTypes(long bandTypes) {
        this.bandTypes = bandTypes;
        this.bandTypesSet = true;
        return this;
    }
    @Override
    public long getCapabilities() {
        return capabilities;
    }

    @Override
    public OFMeterFeatures.Builder setCapabilities(long capabilities) {
        this.capabilities = capabilities;
        this.capabilitiesSet = true;
        return this;
    }
    @Override
    public short getMaxBands() {
        return maxBands;
    }

    @Override
    public OFMeterFeatures.Builder setMaxBands(short maxBands) {
        this.maxBands = maxBands;
        this.maxBandsSet = true;
        return this;
    }
    @Override
    public short getMaxColor() {
        return maxColor;
    }

    @Override
    public OFMeterFeatures.Builder setMaxColor(short maxColor) {
        this.maxColor = maxColor;
        this.maxColorSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableSetReplyVer10.java200
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableSetReplyVer11.java200
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableSetReplyVer12.java200
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableSetReplyVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableSetReplyVer14.java200
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x17L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
//
        @Override
        public OFBsnBwEnableSetReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            long enable = this.enableSet ? this.enable : DEFAULT_ENABLE;
            long status = this.statusSet ? this.status : DEFAULT_STATUS;


            return new OFBsnBwEnableSetReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetInterfacesReplyVer10.java242
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxRequestVer10.java362
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxRequestVer10.java362
org/projectfloodlight/openflow/protocol/ver10/OFBsnShellCommandVer10.java279
org/projectfloodlight/openflow/protocol/ver10/OFBsnShellOutputVer10.java241
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortCreateRequestVer10.java236
        public OFBsnGetInterfacesReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 1
            byte version = bb.readByte();
            if(version != (byte) 0x1)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xaL
            int subtype = bb.readInt();
            if(subtype != 0xa)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortCreateReplyVer10.java200
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortCreateReplyVer11.java200
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortCreateReplyVer12.java200
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortCreateReplyVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortCreateReplyVer14.java200
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public long getVportNo() {
        return vportNo;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setVportNo(long vportNo) {
        this.vportNo = vportNo;
        this.vportNoSet = true;
        return this;
    }
//
        @Override
        public OFBsnVirtualPortCreateReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            long status = this.statusSet ? this.status : DEFAULT_STATUS;
            long vportNo = this.vportNoSet ? this.vportNo : DEFAULT_VPORT_NO;


            return new OFBsnVirtualPortCreateReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsRequestVer10.java427
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsRequestVer11.java427
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsRequestVer12.java427
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsRequestVer13.java427
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsRequestVer14.java427
        OFQueueStatsRequestVer10 other = (OFQueueStatsRequestVer10) obj;

        if( xid != other.xid)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if( queueId != other.queueId)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime *  (int) (queueId ^ (queueId >>> 32));
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetInterfacesReplyVer11.java242
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxRequestVer11.java362
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxRequestVer11.java362
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortCreateRequestVer11.java236
        public OFBsnGetInterfacesReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 2
            byte version = bb.readByte();
            if(version != (byte) 0x2)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xaL
            int subtype = bb.readInt();
            if(subtype != 0xa)
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetInterfacesReplyVer12.java242
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxRequestVer12.java362
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxRequestVer12.java362
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortCreateRequestVer12.java236
        public OFBsnGetInterfacesReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 3
            byte version = bb.readByte();
            if(version != (byte) 0x3)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xaL
            int subtype = bb.readInt();
            if(subtype != 0xa)
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFErrorTypeSerializerVer12.java44
org/projectfloodlight/openflow/protocol/ver13/OFErrorTypeSerializerVer13.java46
org/projectfloodlight/openflow/protocol/ver14/OFErrorTypeSerializerVer14.java50
    public final static short EXPERIMENTER_VAL = (short) 0xffff;

    public static OFErrorType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFErrorType e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFErrorType e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFErrorType ofWireValue(short val) {
        switch(val) {
            case HELLO_FAILED_VAL:
                return OFErrorType.HELLO_FAILED;
            case BAD_REQUEST_VAL:
                return OFErrorType.BAD_REQUEST;
            case BAD_ACTION_VAL:
                return OFErrorType.BAD_ACTION;
            case BAD_INSTRUCTION_VAL:
                return OFErrorType.BAD_INSTRUCTION;
            case BAD_MATCH_VAL:
                return OFErrorType.BAD_MATCH;
            case FLOW_MOD_FAILED_VAL:
                return OFErrorType.FLOW_MOD_FAILED;
            case GROUP_MOD_FAILED_VAL:
                return OFErrorType.GROUP_MOD_FAILED;
            case PORT_MOD_FAILED_VAL:
                return OFErrorType.PORT_MOD_FAILED;
            case TABLE_MOD_FAILED_VAL:
                return OFErrorType.TABLE_MOD_FAILED;
            case QUEUE_OP_FAILED_VAL:
                return OFErrorType.QUEUE_OP_FAILED;
            case SWITCH_CONFIG_FAILED_VAL:
                return OFErrorType.SWITCH_CONFIG_FAILED;
            case ROLE_REQUEST_FAILED_VAL:
                return OFErrorType.ROLE_REQUEST_FAILED;
            case EXPERIMENTER_VAL:
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFExperimenterErrorMsgVer12.java128
org/projectfloodlight/openflow/protocol/ver13/OFExperimenterErrorMsgVer13.java220
org/projectfloodlight/openflow/protocol/ver14/OFExperimenterErrorMsgVer14.java220
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.EXPERIMENTER;
    }

    @Override
    public int getSubtype() {
        return subtype;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setSubtype(int subtype) {
        this.subtype = subtype;
        this.subtypeSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return experimenter;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setExperimenter(long experimenter) {
        this.experimenter = experimenter;
        this.experimenterSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFExperimenterErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFExperimenterErrorMsgVer12.java220
org/projectfloodlight/openflow/protocol/ver13/OFExperimenterErrorMsgVer13.java128
org/projectfloodlight/openflow/protocol/ver14/OFExperimenterErrorMsgVer14.java128
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.EXPERIMENTER;
    }

    @Override
    public int getSubtype() {
        return subtype;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setSubtype(int subtype) {
        this.subtype = subtype;
        this.subtypeSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return experimenter;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setExperimenter(long experimenter) {
        this.experimenter = experimenter;
        this.experimenterSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFExperimenterErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFExperimenterErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionsReplyVer13.java242
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleVer13.java368
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryAddVer13.java373
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDeleteVer13.java283
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetInterfacesReplyVer13.java242
org/projectfloodlight/openflow/protocol/ver13/OFBsnLogVer13.java281
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaCommandReplyVer13.java241
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaCommandRequestVer13.java241
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaNotificationVer13.java241
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaUploadVer13.java332
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxRequestVer13.java362
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxRequestVer13.java362
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortCreateRequestVer13.java236
        public OFBsnControllerConnectionsReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x39L
            int subtype = bb.readInt();
            if(subtype != 0x39)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableSetReplyVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableSetReplyVer14.java200
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdleEnableSetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x25L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnFlowIdleEnableSetReply.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnFlowIdleEnableSetReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
//
        @Override
        public OFBsnFlowIdleEnableSetReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            long enable = this.enableSet ? this.enable : DEFAULT_ENABLE;
            long status = this.statusSet ? this.status : DEFAULT_STATUS;


            return new OFBsnFlowIdleEnableSetReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsEntryVer13.java368
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsEntryVer14.java368
        OFBsnGentableDescStatsEntryVer13 other = (OFBsnGentableDescStatsEntryVer13) obj;

        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if (name == null) {
            if (other.name != null)
                return false;
        } else if (!name.equals(other.name))
            return false;
        if( bucketsSize != other.bucketsSize)
            return false;
        if( maxEntries != other.maxEntries)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime * result + ((name == null) ? 0 : name.hashCode());
        result = prime *  (int) (bucketsSize ^ (bucketsSize >>> 32));
        result = prime *  (int) (maxEntries ^ (maxEntries >>> 32));
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaUploadVer13.java458
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaUploadVer14.java458
        OFBsnLuaUploadVer13 other = (OFBsnLuaUploadVer13) obj;

        if( xid != other.xid)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if (filename == null) {
            if (other.filename != null)
                return false;
        } else if (!filename.equals(other.filename))
            return false;
        if (!Arrays.equals(data, other.data))
                return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((filename == null) ? 0 : filename.hashCode());
        result = prime * result + Arrays.hashCode(data);
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetAuxCxnsReplyVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetAuxCxnsReplyVer14.java200
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetAuxCxnsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3bL;
    }

    @Override
    public long getNumAux() {
        return numAux;
    }

    @Override
    public OFBsnSetAuxCxnsReply.Builder setNumAux(long numAux) {
        this.numAux = numAux;
        this.numAuxSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetAuxCxnsReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
//
        @Override
        public OFBsnSetAuxCxnsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            long numAux = this.numAuxSet ? this.numAux : DEFAULT_NUM_AUX;
            long status = this.statusSet ? this.status : DEFAULT_STATUS;


            return new OFBsnSetAuxCxnsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandDscpRemarkVer13.java228
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandDscpRemarkVer14.java228
            return new OFMeterBandDscpRemarkVer13(
                    rate,
                    burstSize,
                    precLevel
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFMeterBandDscpRemark> {
        @Override
        public OFMeterBandDscpRemark readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x2
            short type = bb.readShort();
            if(type != (short) 0x2)
                throw new OFParseError("Wrong type: Expected=0x2(0x2), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long rate = U32.f(bb.readInt());
            long burstSize = U32.f(bb.readInt());
            short precLevel = U8.f(bb.readByte());
            // pad: 3 bytes
            bb.skipBytes(3);
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionsReplyVer14.java242
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleVer14.java368
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryAddVer14.java373
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDeleteVer14.java283
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetInterfacesReplyVer14.java242
org/projectfloodlight/openflow/protocol/ver14/OFBsnLogVer14.java281
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaCommandReplyVer14.java241
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaCommandRequestVer14.java241
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaNotificationVer14.java241
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaUploadVer14.java332
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxRequestVer14.java362
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxRequestVer14.java362
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortCreateRequestVer14.java236
        public OFBsnControllerConnectionsReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x39L
            int subtype = bb.readInt();
            if(subtype != 0x39)
FileLine
net/onrc/openvirtex/messages/statistics/ver10/OVXFlowStatsRequestVer10.java99
net/onrc/openvirtex/messages/statistics/ver13/OVXFlowStatsRequestVer13.java94
                            .setActions(origFM.getActions())
                            .build();
                            replies.add(entry);
                        }
                    }
                    	
                    }
                }
            }
            final Set<OFStatsReplyFlags> DEFAULT_FLAGS = ImmutableSet.<OFStatsReplyFlags>of();
            OVXFlowStatsReply reply=OVXFactoryInst.myOVXFactory.buildOVXFlowStatsReply(this.getXid(), DEFAULT_FLAGS, replies);
            

          
            sw.sendMsg(reply, sw);

        }
    }

    private List<PhysicalSwitch> getPhysicalSwitches(OVXSwitch sw) {
        if (sw instanceof OVXSingleSwitch) {
            try {
                return sw.getMap().getPhysicalSwitches(sw);
            } catch (SwitchMappingException e) {
                log.debug("OVXSwitch {} does not map to any physical switches",
                        sw.getSwitchName());
                return new LinkedList<>();
            }
        }
        LinkedList<PhysicalSwitch> sws = new LinkedList<PhysicalSwitch>();
        for (OVXPort p : sw.getPorts().values()) {
            if (!sws.contains(p.getPhysicalPort().getParentSwitch())) {
                sws.add(p.getPhysicalPort().getParentSwitch());
            }
        }
        return sws;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnMirrorVer10.java184
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnMirrorVer11.java184
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnMirrorVer12.java184
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnMirrorVer13.java184
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnMirrorVer14.java184
                return new OFActionBsnMirrorVer10(
                    destPort,
                    vlanTag,
                    copyStage
                );
        }

    }

    static class Builder implements OFActionBsnMirror.Builder {
        // OF message fields
        private boolean destPortSet;
        private OFPort destPort;
        private boolean vlanTagSet;
        private long vlanTag;
        private boolean copyStageSet;
        private short copyStage;

    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }

    @Override
    public OFPort getDestPort() {
        return destPort;
    }

    @Override
    public OFActionBsnMirror.Builder setDestPort(OFPort destPort) {
        this.destPort = destPort;
        this.destPortSet = true;
        return this;
    }
    @Override
    public long getVlanTag() {
        return vlanTag;
    }

    @Override
    public OFActionBsnMirror.Builder setVlanTag(long vlanTag) {
        this.vlanTag = vlanTag;
        this.vlanTagSet = true;
        return this;
    }
    @Override
    public short getCopyStage() {
        return copyStage;
    }

    @Override
    public OFActionBsnMirror.Builder setCopyStage(short copyStage) {
        this.copyStage = copyStage;
        this.copyStageSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFGetConfigReplyVer10.java186
org/projectfloodlight/openflow/protocol/ver11/OFGetConfigReplyVer11.java186
org/projectfloodlight/openflow/protocol/ver12/OFGetConfigReplyVer12.java186
org/projectfloodlight/openflow/protocol/ver13/OFGetConfigReplyVer13.java186
org/projectfloodlight/openflow/protocol/ver14/OFGetConfigReplyVer14.java186
    }

    @Override
    public OFType getType() {
        return OFType.GET_CONFIG_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGetConfigReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public Set<OFConfigFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGetConfigReply.Builder setFlags(Set<OFConfigFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public int getMissSendLen() {
        return missSendLen;
    }

    @Override
    public OFGetConfigReply.Builder setMissSendLen(int missSendLen) {
        this.missSendLen = missSendLen;
        this.missSendLenSet = true;
        return this;
    }
//
        @Override
        public OFGetConfigReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFConfigFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            int missSendLen = this.missSendLenSet ? this.missSendLen : DEFAULT_MISS_SEND_LEN;


            return new OFGetConfigReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFSetConfigVer10.java186
org/projectfloodlight/openflow/protocol/ver11/OFSetConfigVer11.java186
org/projectfloodlight/openflow/protocol/ver12/OFSetConfigVer12.java186
org/projectfloodlight/openflow/protocol/ver13/OFSetConfigVer13.java186
org/projectfloodlight/openflow/protocol/ver14/OFSetConfigVer14.java186
    }

    @Override
    public OFType getType() {
        return OFType.SET_CONFIG;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFSetConfig.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public Set<OFConfigFlags> getFlags() {
        return flags;
    }

    @Override
    public OFSetConfig.Builder setFlags(Set<OFConfigFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public int getMissSendLen() {
        return missSendLen;
    }

    @Override
    public OFSetConfig.Builder setMissSendLen(int missSendLen) {
        this.missSendLen = missSendLen;
        this.missSendLenSet = true;
        return this;
    }
//
        @Override
        public OFSetConfig build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFConfigFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            int missSendLen = this.missSendLenSet ? this.missSendLen : DEFAULT_MISS_SEND_LEN;


            return new OFSetConfigVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsRequestVer11.java453
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsRequestVer11.java453
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java453
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java453
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java453
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java453
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java453
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java453
        public OFAggregateStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            OFPort outPort = this.outPortSet ? this.outPort : DEFAULT_OUT_PORT;
            if(outPort == null)
                throw new NullPointerException("Property outPort must not be null");
            OFGroup outGroup = this.outGroupSet ? this.outGroup : DEFAULT_OUT_GROUP;
            if(outGroup == null)
                throw new NullPointerException("Property outGroup must not be null");
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            U64 cookieMask = this.cookieMaskSet ? this.cookieMask : DEFAULT_COOKIE_MASK;
            if(cookieMask == null)
                throw new NullPointerException("Property cookieMask must not be null");
            Match match = this.matchSet ? this.match : DEFAULT_MATCH;
            if(match == null)
                throw new NullPointerException("Property match must not be null");


            return new OFAggregateStatsRequestVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java124
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java125
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java127
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.ADD;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java124
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java125
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java127
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.DELETE_STRICT;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java124
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java125
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java127
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.DELETE;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java124
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java125
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java127
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.MODIFY_STRICT;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java124
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java125
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java127
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.MODIFY;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortModVer11.java398
org/projectfloodlight/openflow/protocol/ver12/OFPortModVer12.java398
org/projectfloodlight/openflow/protocol/ver13/OFPortModVer13.java398
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 16
            byte type = bb.readByte();
            if(type != (byte) 0x10)
                throw new OFParseError("Wrong type: Expected=OFType.PORT_MOD(16), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 40)
                throw new OFParseError("Wrong length: Expected=40(40), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            OFPort portNo = OFPort.read4Bytes(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            MacAddress hwAddr = MacAddress.read6Bytes(bb);
            // pad: 2 bytes
            bb.skipBytes(2);
            long config = U32.f(bb.readInt());
            long mask = U32.f(bb.readInt());
            long advertise = U32.f(bb.readInt());
            // pad: 4 bytes
            bb.skipBytes(4);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java627
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java627
        StringBuilder b = new StringBuilder("OFPacketInVer13(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("bufferId=").append(bufferId);
        b.append(", ");
        b.append("totalLen=").append(totalLen);
        b.append(", ");
        b.append("reason=").append(reason);
        b.append(", ");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("cookie=").append(cookie);
        b.append(", ");
        b.append("match=").append(match);
        b.append(", ");
        b.append("data=").append(Arrays.toString(data));
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFTableStatusVer14.java117
org/projectfloodlight/openflow/protocol/ver14/OFTableStatusVer14.java206
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.TABLE_STATUS;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableStatus.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getRole() {
        return role;
    }

    @Override
    public OFTableStatus.Builder setRole(long role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public OFTableReason getReason() {
        return reason;
    }

    @Override
    public OFTableStatus.Builder setReason(OFTableReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public OFTableDesc getTable() {
        return table;
    }

    @Override
    public OFTableStatus.Builder setTable(OFTableDesc table) {
        this.table = table;
        this.tableSet = true;
        return this;
    }


        @Override
        public OFTableStatus build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
net/onrc/openvirtex/elements/network/LoopNetwork.java79
net/onrc/openvirtex/elements/network/LoopNetwork.java184
            DPIDandPortPair myPair = addPorts.get(i);
            System.out.println(myNet.dpidMap.toString());

            PhysicalSwitch sSwitch = myNet.getSwitch(myPair.getSrc().getDpid());
            if (sSwitch == null) {
                System.out.println("sSwitch is null!");
                continue;
            }
            PhysicalPort sPort = sSwitch.getPort(myPair.getSrc().getPort());
            if (sPort == null) {
                System.out.println("sPort is null!");
                continue;
            }
            PhysicalSwitch dSwitch = myNet.getSwitch(myPair.getDst().getDpid());
            if (sSwitch == null) {
                System.out.println("dSwitch is null!");
                continue;
            }
            PhysicalPort dPort = dSwitch.getPort(myPair.getDst().getPort());
            if (dPort == null ) {
                System.out.println("dPort is null!");
                continue;
            }
            try {
                myNet.createLink(sPort,dPort);
                myNet.createLink(dPort,sPort);
            } catch (SwitchMappingException e) {
                e.printStackTrace();
            }
        }
    }
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsEntryVer11.java338
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsEntryVer12.java338
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsEntryVer13.java338
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsEntryVer14.java338
        OFGroupDescStatsEntryVer11 other = (OFGroupDescStatsEntryVer11) obj;

        if (groupType == null) {
            if (other.groupType != null)
                return false;
        } else if (!groupType.equals(other.groupType))
            return false;
        if (group == null) {
            if (other.group != null)
                return false;
        } else if (!group.equals(other.group))
            return false;
        if (buckets == null) {
            if (other.buckets != null)
                return false;
        } else if (!buckets.equals(other.buckets))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((groupType == null) ? 0 : groupType.hashCode());
        result = prime * result + ((group == null) ? 0 : group.hashCode());
        result = prime * result + ((buckets == null) ? 0 : buckets.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsEntryVer13.java315
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsEntryVer14.java315
        OFBsnDebugCounterDescStatsEntryVer13 other = (OFBsnDebugCounterDescStatsEntryVer13) obj;

        if (counterId == null) {
            if (other.counterId != null)
                return false;
        } else if (!counterId.equals(other.counterId))
            return false;
        if (name == null) {
            if (other.name != null)
                return false;
        } else if (!name.equals(other.name))
            return false;
        if (description == null) {
            if (other.description != null)
                return false;
        } else if (!description.equals(other.description))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((counterId == null) ? 0 : counterId.hashCode());
        result = prime * result + ((name == null) ? 0 : name.hashCode());
        result = prime * result + ((description == null) ? 0 : description.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xdL;
    }

    @Override
    public List<OFBsnDebugCounterDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnDebugCounterDescStatsReply.Builder setEntries(List<OFBsnDebugCounterDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnDebugCounterDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xdL;
    }

    @Override
    public List<OFBsnDebugCounterDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnDebugCounterDescStatsReply.Builder setEntries(List<OFBsnDebugCounterDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnDebugCounterDescStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xcL;
    }

    @Override
    public List<OFBsnDebugCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnDebugCounterStatsReply.Builder setEntries(List<OFBsnDebugCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnDebugCounterStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xcL;
    }

    @Override
    public List<OFBsnDebugCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnDebugCounterStatsReply.Builder setEntries(List<OFBsnDebugCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnDebugCounterStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public List<OFBsnFlowChecksumBucketStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsReply.Builder setEntries(List<OFBsnFlowChecksumBucketStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnFlowChecksumBucketStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public List<OFBsnFlowChecksumBucketStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsReply.Builder setEntries(List<OFBsnFlowChecksumBucketStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnFlowChecksumBucketStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGenericStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGenericStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public List<OFBsnGenericStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGenericStatsReply.Builder setEntries(List<OFBsnGenericStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGenericStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGenericStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGenericStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public List<OFBsnGenericStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGenericStatsReply.Builder setEntries(List<OFBsnGenericStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnGenericStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableBucketStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableBucketStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public List<OFBsnGentableBucketStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableBucketStatsReply.Builder setEntries(List<OFBsnGentableBucketStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGentableBucketStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableBucketStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableBucketStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public List<OFBsnGentableBucketStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableBucketStatsReply.Builder setEntries(List<OFBsnGentableBucketStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableBucketStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public List<OFBsnGentableDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableDescStatsReply.Builder setEntries(List<OFBsnGentableDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGentableDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public List<OFBsnGentableDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableDescStatsReply.Builder setEntries(List<OFBsnGentableDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableDescStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsEntryVer13.java347
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsEntryVer14.java347
        OFBsnGentableEntryDescStatsEntryVer13 other = (OFBsnGentableEntryDescStatsEntryVer13) obj;

        if (checksum == null) {
            if (other.checksum != null)
                return false;
        } else if (!checksum.equals(other.checksum))
            return false;
        if (key == null) {
            if (other.key != null)
                return false;
        } else if (!key.equals(other.key))
            return false;
        if (value == null) {
            if (other.value != null)
                return false;
        } else if (!value.equals(other.value))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((checksum == null) ? 0 : checksum.hashCode());
        result = prime * result + ((key == null) ? 0 : key.hashCode());
        result = prime * result + ((value == null) ? 0 : value.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public List<OFBsnGentableEntryDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableEntryDescStatsReply.Builder setEntries(List<OFBsnGentableEntryDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public List<OFBsnGentableEntryDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableEntryDescStatsReply.Builder setEntries(List<OFBsnGentableEntryDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableEntryDescStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public List<OFBsnGentableEntryStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableEntryStatsReply.Builder setEntries(List<OFBsnGentableEntryStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableEntryStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public List<OFBsnGentableEntryStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableEntryStatsReply.Builder setEntries(List<OFBsnGentableEntryStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableEntryStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x7L;
    }

    @Override
    public List<OFBsnGentableStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableStatsReply.Builder setEntries(List<OFBsnGentableStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnGentableStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x7L;
    }

    @Override
    public List<OFBsnGentableStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnGentableStatsReply.Builder setEntries(List<OFBsnGentableStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLacpStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnLacpStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }

    @Override
    public List<OFBsnLacpStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnLacpStatsReply.Builder setEntries(List<OFBsnLacpStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnLacpStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLacpStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnLacpStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }

    @Override
    public List<OFBsnLacpStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnLacpStatsReply.Builder setEntries(List<OFBsnLacpStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnLacpStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPortCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnPortCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x8L;
    }

    @Override
    public List<OFBsnPortCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnPortCounterStatsReply.Builder setEntries(List<OFBsnPortCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnPortCounterStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPortCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnPortCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x8L;
    }

    @Override
    public List<OFBsnPortCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnPortCounterStatsReply.Builder setEntries(List<OFBsnPortCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnPortCounterStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSwitchPipelineStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnSwitchPipelineStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x6L;
    }

    @Override
    public List<OFBsnSwitchPipelineStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnSwitchPipelineStatsReply.Builder setEntries(List<OFBsnSwitchPipelineStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnSwitchPipelineStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSwitchPipelineStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnSwitchPipelineStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x6L;
    }

    @Override
    public List<OFBsnSwitchPipelineStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnSwitchPipelineStatsReply.Builder setEntries(List<OFBsnSwitchPipelineStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnSwitchPipelineStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTableChecksumStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnTableChecksumStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }

    @Override
    public List<OFBsnTableChecksumStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnTableChecksumStatsReply.Builder setEntries(List<OFBsnTableChecksumStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnTableChecksumStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTableChecksumStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnTableChecksumStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }

    @Override
    public List<OFBsnTableChecksumStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnTableChecksumStatsReply.Builder setEntries(List<OFBsnTableChecksumStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnTableChecksumStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVlanCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVlanCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x9L;
    }

    @Override
    public List<OFBsnVlanCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnVlanCounterStatsReply.Builder setEntries(List<OFBsnVlanCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnVlanCounterStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVlanCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVlanCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x9L;
    }

    @Override
    public List<OFBsnVlanCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnVlanCounterStatsReply.Builder setEntries(List<OFBsnVlanCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnVlanCounterStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsReplyVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsReplyVer14.java223
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVrfCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVrfCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public List<OFBsnVrfCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnVrfCounterStatsReply.Builder setEntries(List<OFBsnVrfCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFBsnVrfCounterStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsReplyVer13.java223
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsReplyVer14.java134
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVrfCounterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVrfCounterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public List<OFBsnVrfCounterStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFBsnVrfCounterStatsReply.Builder setEntries(List<OFBsnVrfCounterStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFBsnVrfCounterStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
net/onrc/openvirtex/elements/network/LoopNetwork.java79
net/onrc/openvirtex/elements/network/LoopNetwork.java151
net/onrc/openvirtex/elements/network/LoopNetwork.java184
            DPIDandPortPair myPair = addPorts.get(i);
            System.out.println(myNet.dpidMap.toString());

            PhysicalSwitch sSwitch = myNet.getSwitch(myPair.getSrc().getDpid());
            if (sSwitch == null) {
                System.out.println("sSwitch is null!");
                continue;
            }
            PhysicalPort sPort = sSwitch.getPort(myPair.getSrc().getPort());
            if (sPort == null) {
                System.out.println("sPort is null!");
                continue;
            }
            PhysicalSwitch dSwitch = myNet.getSwitch(myPair.getDst().getDpid());
            if (sSwitch == null) {
                System.out.println("dSwitch is null!");
                continue;
            }
            PhysicalPort dPort = dSwitch.getPort(myPair.getDst().getPort());
            if (dPort == null ) {
                System.out.println("dPort is null!");
                continue;
            }
            try {
                myNet.createLink(sPort,dPort);
                myNet.createLink(dPort,sPort);
            } catch (SwitchMappingException e) {
                e.printStackTrace();
            }
        }
FileLine
net/onrc/openvirtex/packet/AbstractSegment.java108
net/onrc/openvirtex/packet/TCP.java228
        if (this.checksum == 0) {
            bb.rewind();
            int accumulation = 0;

            // compute pseudo header mac
            if (this.parent != null && this.parent instanceof IPv4) {
                final IPv4 ipv4 = (IPv4) this.parent;
                accumulation += (ipv4.getSourceAddress() >> 16 & 0xffff)
                        + (ipv4.getSourceAddress() & 0xffff);
                accumulation += (ipv4.getDestinationAddress() >> 16 & 0xffff)
                        + (ipv4.getDestinationAddress() & 0xffff);
                accumulation += ipv4.getProtocol() & 0xff;
                accumulation += length & 0xffff;
            }

            for (int i = 0; i < length / 2; ++i) {
                accumulation += 0xffff & bb.getShort();
            }
            // pad to an even number of shorts
            if (length % 2 > 0) {
                accumulation += (bb.get() & 0xff) << 8;
            }

            accumulation = (accumulation >> 16 & 0xffff)
                    + (accumulation & 0xffff);
            this.checksum = (short) (~accumulation & 0xffff);
            bb.putShort(6, this.checksum);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsEntryVer10.java150
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsEntryVer11.java150
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsEntryVer12.java150
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsEntryVer13.java302
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsEntryVer14.java319
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsEntry.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsEntryVer10.java280
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsEntryVer11.java280
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsEntryVer12.java280
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsEntryVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsEntryVer14.java169
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueStatsEntry.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxBytes(U64 txBytes) {
        this.txBytes = txBytes;
        this.txBytesSet = true;
        return this;
    }
    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxPackets(U64 txPackets) {
        this.txPackets = txPackets;
        this.txPacketsSet = true;
        return this;
    }
    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public OFQueueStatsEntry.Builder setTxErrors(U64 txErrors) {
        this.txErrors = txErrors;
        this.txErrorsSet = true;
        return this;
    }
    @Override
    public long getDurationSec()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBucketVer11.java273
org/projectfloodlight/openflow/protocol/ver12/OFBucketVer12.java273
org/projectfloodlight/openflow/protocol/ver13/OFBucketVer13.java273
org/projectfloodlight/openflow/protocol/ver14/OFBucketVer14.java273
            return new OFBucketVer11(
                    weight,
                    watchPort,
                    watchGroup,
                    actions
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBucket> {
        @Override
        public OFBucket readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int weight = U16.f(bb.readShort());
            OFPort watchPort = OFPort.read4Bytes(bb);
            OFGroup watchGroup = OFGroup.read4Bytes(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            List<OFAction> actions = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFActionVer11.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModCommandSerializerVer11.java30
org/projectfloodlight/openflow/protocol/ver12/OFFlowModCommandSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFFlowModCommandSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFFlowModCommandSerializerVer14.java30
public class OFFlowModCommandSerializerVer11 {

    public final static byte ADD_VAL = (byte) 0x0;
    public final static byte MODIFY_VAL = (byte) 0x1;
    public final static byte MODIFY_STRICT_VAL = (byte) 0x2;
    public final static byte DELETE_VAL = (byte) 0x3;
    public final static byte DELETE_STRICT_VAL = (byte) 0x4;

    public static OFFlowModCommand readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFFlowModCommand e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFFlowModCommand e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFFlowModCommand ofWireValue(byte val) {
        switch(val) {
            case ADD_VAL:
                return OFFlowModCommand.ADD;
            case MODIFY_VAL:
                return OFFlowModCommand.MODIFY;
            case MODIFY_STRICT_VAL:
                return OFFlowModCommand.MODIFY_STRICT;
            case DELETE_VAL:
                return OFFlowModCommand.DELETE;
            case DELETE_STRICT_VAL:
                return OFFlowModCommand.DELETE_STRICT;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFFlowModCommand in version 1.1: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPortModFailedCodeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFPortModFailedCodeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFPortModFailedCodeSerializerVer14.java30
public class OFPortModFailedCodeSerializerVer12 {

    public final static short BAD_PORT_VAL = (short) 0x0;
    public final static short BAD_HW_ADDR_VAL = (short) 0x1;
    public final static short BAD_CONFIG_VAL = (short) 0x2;
    public final static short BAD_ADVERTISE_VAL = (short) 0x3;
    public final static short EPERM_VAL = (short) 0x4;

    public static OFPortModFailedCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFPortModFailedCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFPortModFailedCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFPortModFailedCode ofWireValue(short val) {
        switch(val) {
            case BAD_PORT_VAL:
                return OFPortModFailedCode.BAD_PORT;
            case BAD_HW_ADDR_VAL:
                return OFPortModFailedCode.BAD_HW_ADDR;
            case BAD_CONFIG_VAL:
                return OFPortModFailedCode.BAD_CONFIG;
            case BAD_ADVERTISE_VAL:
                return OFPortModFailedCode.BAD_ADVERTISE;
            case EPERM_VAL:
                return OFPortModFailedCode.EPERM;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFPortModFailedCode in version 1.2: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsPropEthernetVer14.java129
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsPropEthernetVer14.java222
    @Override
    public int getType() {
        return 0x0;
    }

    @Override
    public U64 getRxFrameErr() {
        return rxFrameErr;
    }

    @Override
    public OFPortStatsPropEthernet.Builder setRxFrameErr(U64 rxFrameErr) {
        this.rxFrameErr = rxFrameErr;
        this.rxFrameErrSet = true;
        return this;
    }
    @Override
    public U64 getRxOverErr() {
        return rxOverErr;
    }

    @Override
    public OFPortStatsPropEthernet.Builder setRxOverErr(U64 rxOverErr) {
        this.rxOverErr = rxOverErr;
        this.rxOverErrSet = true;
        return this;
    }
    @Override
    public U64 getRxCrcErr() {
        return rxCrcErr;
    }

    @Override
    public OFPortStatsPropEthernet.Builder setRxCrcErr(U64 rxCrcErr) {
        this.rxCrcErr = rxCrcErr;
        this.rxCrcErrSet = true;
        return this;
    }
    @Override
    public U64 getCollisions() {
        return collisions;
    }

    @Override
    public OFPortStatsPropEthernet.Builder setCollisions(U64 collisions) {
        this.collisions = collisions;
        this.collisionsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFPortStatsPropEthernet build() {
                U64 rxFrameErr = this.rxFrameErrSet ? this.rxFrameErr : parentMessage.rxFrameErr;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwClearDataReplyVer10.java233
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableGetReplyVer10.java233
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableSetRequestVer10.java233
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetMirroringReplyVer10.java233
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetMirroringRequestVer10.java233
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetMirroringVer10.java233
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionReplyVer10.java233
org/projectfloodlight/openflow/protocol/ver10/OFBsnShellStatusVer10.java233
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortRemoveReplyVer10.java233
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortRemoveRequestVer10.java233
        public OFBsnBwClearDataReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 1
            byte version = bb.readByte();
            if(version != (byte) 0x1)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x16L
            int subtype = bb.readInt();
            if(subtype != 0x16)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwClearDataRequestVer10.java195
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableGetRequestVer10.java195
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetInterfacesRequestVer10.java195
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetL2TableRequestVer10.java195
org/projectfloodlight/openflow/protocol/ver10/OFBsnHybridGetRequestVer10.java195
        public OFBsnBwClearDataRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 1
            byte version = bb.readByte();
            if(version != (byte) 0x1)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x15L
            int subtype = bb.readInt();
            if(subtype != 0x15)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableSetReplyVer10.java271
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetIpMaskReplyVer10.java271
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetIpMaskRequestVer10.java233
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetL2TableReplyVer10.java271
org/projectfloodlight/openflow/protocol/ver10/OFBsnHybridGetReplyVer10.java271
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetIpMaskVer10.java271
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetL2TableReplyVer10.java309
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetL2TableRequestVer10.java271
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortCreateReplyVer10.java271
        public OFBsnBwEnableSetReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 1
            byte version = bb.readByte();
            if(version != (byte) 0x1)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x17L
            int subtype = bb.readInt();
            if(subtype != 0x17)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetInterfacesReplyVer10.java247
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetInterfacesReplyVer11.java247
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetInterfacesReplyVer12.java247
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetInterfacesReplyVer13.java247
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetInterfacesReplyVer14.java247
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xaL
            int subtype = bb.readInt();
            if(subtype != 0xa)
                throw new OFParseError("Wrong subtype: Expected=0xaL(0xaL), got="+subtype);
            List<OFBsnInterface> interfaces = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFBsnInterfaceVer10.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxReplyVer10.java316
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxReplyVer10.java316
        public OFBsnPduRxReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 1
            byte version = bb.readByte();
            if(version != (byte) 0x1)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 23)
                throw new OFParseError("Wrong length: Expected=23(23), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x22L
            int subtype = bb.readInt();
            if(subtype != 0x22)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFNiciraControllerRoleReplyVer10.java236
org/projectfloodlight/openflow/protocol/ver10/OFNiciraControllerRoleRequestVer10.java236
        public OFNiciraControllerRoleReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 1
            byte version = bb.readByte();
            if(version != (byte) 0x1)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x2320L
            int experimenter = bb.readInt();
            if(experimenter != 0x2320)
                throw new OFParseError("Wrong experimenter: Expected=0x2320L(0x2320L), got="+experimenter);
            // fixed value property subtype == 0xbL
            int subtype = bb.readInt();
            if(subtype != 0xb)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsRequestVer11.java670
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsRequestVer11.java670
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java675
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java675
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java675
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsRequestVer13.java701
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java675
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java675
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java675
        } else if (!outGroup.equals(other.outGroup))
            return false;
        if (cookie == null) {
            if (other.cookie != null)
                return false;
        } else if (!cookie.equals(other.cookie))
            return false;
        if (cookieMask == null) {
            if (other.cookieMask != null)
                return false;
        } else if (!cookieMask.equals(other.cookieMask))
            return false;
        if (match == null) {
            if (other.match != null)
                return false;
        } else if (!match.equals(other.match))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime * result + ((outPort == null) ? 0 : outPort.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBadActionCodeSerializerVer11.java46
org/projectfloodlight/openflow/protocol/ver12/OFBadActionCodeSerializerVer12.java49
org/projectfloodlight/openflow/protocol/ver13/OFBadActionCodeSerializerVer13.java49
org/projectfloodlight/openflow/protocol/ver14/OFBadActionCodeSerializerVer14.java49
    public static OFBadActionCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBadActionCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFBadActionCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFBadActionCode ofWireValue(short val) {
        switch(val) {
            case BAD_TYPE_VAL:
                return OFBadActionCode.BAD_TYPE;
            case BAD_LEN_VAL:
                return OFBadActionCode.BAD_LEN;
            case BAD_EXPERIMENTER_VAL:
                return OFBadActionCode.BAD_EXPERIMENTER;
            case BAD_EXPERIMENTER_TYPE_VAL:
                return OFBadActionCode.BAD_EXPERIMENTER_TYPE;
            case BAD_OUT_PORT_VAL:
                return OFBadActionCode.BAD_OUT_PORT;
            case BAD_ARGUMENT_VAL:
                return OFBadActionCode.BAD_ARGUMENT;
            case EPERM_VAL:
                return OFBadActionCode.EPERM;
            case TOO_MANY_VAL:
                return OFBadActionCode.TOO_MANY;
            case BAD_QUEUE_VAL:
                return OFBadActionCode.BAD_QUEUE;
            case BAD_OUT_GROUP_VAL:
                return OFBadActionCode.BAD_OUT_GROUP;
            case MATCH_INCONSISTENT_VAL:
                return OFBadActionCode.MATCH_INCONSISTENT;
            case UNSUPPORTED_ORDER_VAL:
                return OFBadActionCode.UNSUPPORTED_ORDER;
            case BAD_TAG_VAL:
                return OFBadActionCode.BAD_TAG;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwClearDataReplyVer11.java233
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableGetReplyVer11.java233
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableSetRequestVer11.java233
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetMirroringReplyVer11.java233
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetMirroringRequestVer11.java233
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetMirroringVer11.java233
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionReplyVer11.java233
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortRemoveReplyVer11.java233
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortRemoveRequestVer11.java233
        public OFBsnBwClearDataReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 2
            byte version = bb.readByte();
            if(version != (byte) 0x2)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x16L
            int subtype = bb.readInt();
            if(subtype != 0x16)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwClearDataRequestVer11.java195
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableGetRequestVer11.java195
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetInterfacesRequestVer11.java195
        public OFBsnBwClearDataRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 2
            byte version = bb.readByte();
            if(version != (byte) 0x2)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x15L
            int subtype = bb.readInt();
            if(subtype != 0x15)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableSetReplyVer11.java271
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortCreateReplyVer11.java271
        public OFBsnBwEnableSetReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 2
            byte version = bb.readByte();
            if(version != (byte) 0x2)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x17L
            int subtype = bb.readInt();
            if(subtype != 0x17)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxReplyVer11.java316
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxReplyVer11.java316
        public OFBsnPduRxReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 2
            byte version = bb.readByte();
            if(version != (byte) 0x2)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 25)
                throw new OFParseError("Wrong length: Expected=25(25), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x22L
            int subtype = bb.readInt();
            if(subtype != 0x22)
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBadRequestCodeSerializerVer12.java46
org/projectfloodlight/openflow/protocol/ver13/OFBadRequestCodeSerializerVer13.java47
org/projectfloodlight/openflow/protocol/ver14/OFBadRequestCodeSerializerVer14.java49
    public static OFBadRequestCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBadRequestCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFBadRequestCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFBadRequestCode ofWireValue(short val) {
        switch(val) {
            case BAD_VERSION_VAL:
                return OFBadRequestCode.BAD_VERSION;
            case BAD_TYPE_VAL:
                return OFBadRequestCode.BAD_TYPE;
            case BAD_STAT_VAL:
                return OFBadRequestCode.BAD_STAT;
            case BAD_EXPERIMENTER_VAL:
                return OFBadRequestCode.BAD_EXPERIMENTER;
            case BAD_EXPERIMENTER_TYPE_VAL:
                return OFBadRequestCode.BAD_EXPERIMENTER_TYPE;
            case EPERM_VAL:
                return OFBadRequestCode.EPERM;
            case BAD_LEN_VAL:
                return OFBadRequestCode.BAD_LEN;
            case BUFFER_EMPTY_VAL:
                return OFBadRequestCode.BUFFER_EMPTY;
            case BUFFER_UNKNOWN_VAL:
                return OFBadRequestCode.BUFFER_UNKNOWN;
            case BAD_TABLE_ID_VAL:
                return OFBadRequestCode.BAD_TABLE_ID;
            case IS_SLAVE_VAL:
                return OFBadRequestCode.IS_SLAVE;
            case BAD_PORT_VAL:
                return OFBadRequestCode.BAD_PORT;
            case BAD_PACKET_VAL:
                return OFBadRequestCode.BAD_PACKET;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwClearDataReplyVer12.java233
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableGetReplyVer12.java233
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableSetRequestVer12.java233
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetMirroringReplyVer12.java233
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetMirroringRequestVer12.java233
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetMirroringVer12.java233
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionReplyVer12.java233
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortRemoveReplyVer12.java233
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortRemoveRequestVer12.java233
        public OFBsnBwClearDataReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 3
            byte version = bb.readByte();
            if(version != (byte) 0x3)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x16L
            int subtype = bb.readInt();
            if(subtype != 0x16)
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwClearDataRequestVer12.java195
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableGetRequestVer12.java195
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetInterfacesRequestVer12.java195
        public OFBsnBwClearDataRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 3
            byte version = bb.readByte();
            if(version != (byte) 0x3)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x15L
            int subtype = bb.readInt();
            if(subtype != 0x15)
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableSetReplyVer12.java271
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortCreateReplyVer12.java271
        public OFBsnBwEnableSetReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 3
            byte version = bb.readByte();
            if(version != (byte) 0x3)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x17L
            int subtype = bb.readInt();
            if(subtype != 0x17)
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxReplyVer12.java316
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxReplyVer12.java316
        public OFBsnPduRxReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 3
            byte version = bb.readByte();
            if(version != (byte) 0x3)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 25)
                throw new OFParseError("Wrong length: Expected=25(25), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x22L
            int subtype = bb.readInt();
            if(subtype != 0x22)
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsReplyVer12.java95
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsReplyVer13.java95
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsReplyVer14.java95
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_FEATURES;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public long getTypes() {
        return types;
    }

    @Override
    public long getCapabilities() {
        return capabilities;
    }

    @Override
    public long getMaxGroupsAll() {
        return maxGroupsAll;
    }

    @Override
    public long getMaxGroupsSelect() {
        return maxGroupsSelect;
    }

    @Override
    public long getMaxGroupsIndirect() {
        return maxGroupsIndirect;
    }

    @Override
    public long getMaxGroupsFf() {
        return maxGroupsFf;
    }

    @Override
    public long getActionsAll() {
        return actionsAll;
    }

    @Override
    public long getActionsSelect() {
        return actionsSelect;
    }

    @Override
    public long getActionsIndirect() {
        return actionsIndirect;
    }

    @Override
    public long getActionsFf() {
        return actionsFf;
    }



    public OFGroupFeaturesStatsReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFGroupFeaturesStatsReply.Builder {
        final OFGroupFeaturesStatsReplyVer12 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnArpIdleVer13.java278
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableSetReplyVer13.java271
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableSetReplyVer13.java271
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableSetBucketsSizeVer13.java274
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetAuxCxnsReplyVer13.java271
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpReplyVer13.java278
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableSetBucketsSizeVer13.java278
org/projectfloodlight/openflow/protocol/ver13/OFBsnTimeReplyVer13.java240
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortCreateReplyVer13.java271
        public OFBsnArpIdle readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x3cL
            int subtype = bb.readInt();
            if(subtype != 0x3c)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnArpIdleVer13.java283
org/projectfloodlight/openflow/protocol/ver14/OFBsnArpIdleVer14.java283
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x3cL
            int subtype = bb.readInt();
            if(subtype != 0x3c)
                throw new OFParseError("Wrong subtype: Expected=0x3cL(0x3cL), got="+subtype);
            int vlanVid = U16.f(bb.readShort());
            // pad: 2 bytes
            bb.skipBytes(2);
            IPv4Address ipv4Addr = IPv4Address.read4Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwClearDataReplyVer13.java233
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableGetReplyVer13.java233
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableSetRequestVer13.java233
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableGetReplyVer13.java233
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableSetRequestVer13.java233
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetMirroringReplyVer13.java233
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetMirroringRequestVer13.java233
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetAuxCxnsRequestVer13.java233
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetMirroringVer13.java233
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionReplyVer13.java233
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetSwitchPipelineReplyVer13.java233
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortRemoveReplyVer13.java233
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortRemoveRequestVer13.java233
        public OFBsnBwClearDataReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x16L
            int subtype = bb.readInt();
            if(subtype != 0x16)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwClearDataRequestVer13.java195
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableGetRequestVer13.java195
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionsRequestVer13.java195
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableGetRequestVer13.java195
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetInterfacesRequestVer13.java195
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetSwitchPipelineRequestVer13.java195
org/projectfloodlight/openflow/protocol/ver13/OFBsnTimeRequestVer13.java195
        public OFBsnBwClearDataRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x15L
            int subtype = bb.readInt();
            if(subtype != 0x15)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionsReplyVer13.java247
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionsReplyVer14.java247
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x39L
            int subtype = bb.readInt();
            if(subtype != 0x39)
                throw new OFParseError("Wrong subtype: Expected=0x39L(0x39L), got="+subtype);
            List<OFBsnControllerConnection> connections = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFBsnControllerConnectionVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearRequestVer13.java326
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java672
        public OFBsnGentableClearRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 52)
                throw new OFParseError("Wrong length: Expected=52(52), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x30L
            int subtype = bb.readInt();
            if(subtype != 0x30)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableSetBucketsSizeVer13.java279
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableSetBucketsSizeVer14.java279
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x32L
            int subtype = bb.readInt();
            if(subtype != 0x32)
                throw new OFParseError("Wrong subtype: Expected=0x32L(0x32L), got="+subtype);
            GenTableId tableId = GenTableId.read2Bytes(bb);
            // pad: 2 bytes
            bb.skipBytes(2);
            long bucketsSize = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetSwitchPipelineReplyVer13.java240
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetSwitchPipelineRequestVer13.java240
        public OFBsnGetSwitchPipelineReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 272)
                throw new OFParseError("Wrong length: Expected=272(272), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x34L
            int subtype = bb.readInt();
            if(subtype != 0x34)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxReplyVer13.java316
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxReplyVer13.java316
        public OFBsnPduRxReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 25)
                throw new OFParseError("Wrong length: Expected=25(25), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x22L
            int subtype = bb.readInt();
            if(subtype != 0x22)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnRoleStatusVer13.java326
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionRequestVer13.java392
        public OFBsnRoleStatus readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 32)
                throw new OFParseError("Wrong length: Expected=32(32), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x37L
            int subtype = bb.readInt();
            if(subtype != 0x37)
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnArpIdleVer14.java278
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableSetReplyVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableSetReplyVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableSetBucketsSizeVer14.java274
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetAuxCxnsReplyVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpReplyVer14.java278
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableSetBucketsSizeVer14.java278
org/projectfloodlight/openflow/protocol/ver14/OFBsnTimeReplyVer14.java240
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortCreateReplyVer14.java271
        public OFBsnArpIdle readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x3cL
            int subtype = bb.readInt();
            if(subtype != 0x3c)
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwClearDataReplyVer14.java233
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableGetReplyVer14.java233
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableSetRequestVer14.java233
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableGetReplyVer14.java233
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableSetRequestVer14.java233
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetMirroringReplyVer14.java233
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetMirroringRequestVer14.java233
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetAuxCxnsRequestVer14.java233
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetMirroringVer14.java233
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionReplyVer14.java233
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetSwitchPipelineReplyVer14.java233
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortRemoveReplyVer14.java233
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortRemoveRequestVer14.java233
        public OFBsnBwClearDataReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x16L
            int subtype = bb.readInt();
            if(subtype != 0x16)
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwClearDataRequestVer14.java195
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableGetRequestVer14.java195
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionsRequestVer14.java195
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableGetRequestVer14.java195
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetInterfacesRequestVer14.java195
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetSwitchPipelineRequestVer14.java195
org/projectfloodlight/openflow/protocol/ver14/OFBsnTimeRequestVer14.java195
        public OFBsnBwClearDataRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x15L
            int subtype = bb.readInt();
            if(subtype != 0x15)
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearRequestVer14.java326
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java672
        public OFBsnGentableClearRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 52)
                throw new OFParseError("Wrong length: Expected=52(52), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x30L
            int subtype = bb.readInt();
            if(subtype != 0x30)
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetSwitchPipelineReplyVer14.java240
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetSwitchPipelineRequestVer14.java240
        public OFBsnGetSwitchPipelineReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 272)
                throw new OFParseError("Wrong length: Expected=272(272), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x34L
            int subtype = bb.readInt();
            if(subtype != 0x34)
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxReplyVer14.java316
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxReplyVer14.java316
        public OFBsnPduRxReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 25)
                throw new OFParseError("Wrong length: Expected=25(25), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x22L
            int subtype = bb.readInt();
            if(subtype != 0x22)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaCommandReplyVer13.java246
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaCommandReplyVer14.java246
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x42L
            int subtype = bb.readInt();
            if(subtype != 0x42)
                throw new OFParseError("Wrong subtype: Expected=0x42L(0x42L), got="+subtype);
            byte[] data = ChannelUtils.readBytes(bb, length - (bb.readerIndex() - start));
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaCommandRequestVer13.java246
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaCommandRequestVer14.java246
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x41L
            int subtype = bb.readInt();
            if(subtype != 0x41)
                throw new OFParseError("Wrong subtype: Expected=0x41L(0x41L), got="+subtype);
            byte[] data = ChannelUtils.readBytes(bb, length - (bb.readerIndex() - start));
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaNotificationVer13.java246
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaNotificationVer14.java246
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x43L
            int subtype = bb.readInt();
            if(subtype != 0x43)
                throw new OFParseError("Wrong subtype: Expected=0x43L(0x43L), got="+subtype);
            byte[] data = ChannelUtils.readBytes(bb, length - (bb.readerIndex() - start));
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFeaturesReplyVer13.java260
org/projectfloodlight/openflow/protocol/ver14/OFFeaturesReplyVer14.java260
            throw new UnsupportedOperationException("Property actions not supported in version 1.3");
    }
    @Override
    public OFAuxId getAuxiliaryId() {
        return auxiliaryId;
    }

    @Override
    public OFFeaturesReply.Builder setAuxiliaryId(OFAuxId auxiliaryId) {
        this.auxiliaryId = auxiliaryId;
        this.auxiliaryIdSet = true;
        return this;
    }


        @Override
        public OFFeaturesReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                DatapathId datapathId = this.datapathIdSet ? this.datapathId : parentMessage.datapathId;
                if(datapathId == null)
                    throw new NullPointerException("Property datapathId must not be null");
                long nBuffers = this.nBuffersSet ? this.nBuffers : parentMessage.nBuffers;
                short nTables = this.nTablesSet ? this.nTables : parentMessage.nTables;
                OFAuxId auxiliaryId = this.auxiliaryIdSet ? this.auxiliaryId : parentMessage.auxiliaryId;
                if(auxiliaryId == null)
                    throw new NullPointerException("Property auxiliaryId must not be null");
                Set<OFCapabilities> capabilities = this.capabilitiesSet ? this.capabilities : parentMessage.capabilities;
                if(capabilities == null)
                    throw new NullPointerException("Property capabilities must not be null");
                long reserved = this.reservedSet ? this.reserved : parentMessage.reserved;

                //
                return new OFFeaturesReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFAggregateStatsRequestVer10.java163
org/projectfloodlight/openflow/protocol/ver10/OFAggregateStatsRequestVer10.java303
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsRequestVer11.java187
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsRequestVer11.java351
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java187
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java351
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java187
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java351
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java187
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java351
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAggregateStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFAggregateStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFAggregateStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFAggregateStatsRequest.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableSetReplyVer10.java276
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableSetReplyVer11.java276
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableSetReplyVer12.java276
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableSetReplyVer13.java276
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableSetReplyVer14.java276
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x17L
            int subtype = bb.readInt();
            if(subtype != 0x17)
                throw new OFParseError("Wrong subtype: Expected=0x17L(0x17L), got="+subtype);
            long enable = U32.f(bb.readInt());
            long status = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortCreateReplyVer10.java276
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortCreateReplyVer11.java276
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortCreateReplyVer12.java276
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortCreateReplyVer13.java276
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortCreateReplyVer14.java276
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x10L
            int subtype = bb.readInt();
            if(subtype != 0x10)
                throw new OFParseError("Wrong subtype: Expected=0x10L(0x10L), got="+subtype);
            long status = U32.f(bb.readInt());
            long vportNo = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsRequestVer10.java163
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsRequestVer10.java303
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsRequestVer11.java187
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsRequestVer11.java351
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java187
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java351
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java187
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java351
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java187
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java351
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.FLOW;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFFlowStatsRequest.Builder setOutPort(OFPort outPort) {
        this.outPort = outPort;
        this.outPortSet = true;
        return this;
    }
    @Override
    public OFGroup getOutGroup()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsRequestVer11.java620
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsRequestVer11.java620
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java625
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java625
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java625
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsRequestVer13.java657
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java625
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java625
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java625
        StringBuilder b = new StringBuilder("OFAggregateStatsRequestVer11(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("flags=").append(flags);
        b.append(", ");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("outPort=").append(outPort);
        b.append(", ");
        b.append("outGroup=").append(outGroup);
        b.append(", ");
        b.append("cookie=").append(cookie);
        b.append(", ");
        b.append("cookieMask=").append(cookieMask);
        b.append(", ");
        b.append("match=").append(match);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableSetReplyVer13.java276
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableSetReplyVer14.java276
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x25L
            int subtype = bb.readInt();
            if(subtype != 0x25)
                throw new OFParseError("Wrong subtype: Expected=0x25L(0x25L), got="+subtype);
            long enable = U32.f(bb.readInt());
            long status = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetAuxCxnsReplyVer13.java276
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetAuxCxnsReplyVer14.java276
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x3bL
            int subtype = bb.readInt();
            if(subtype != 0x3b)
                throw new OFParseError("Wrong subtype: Expected=0x3bL(0x3bL), got="+subtype);
            long numAux = U32.f(bb.readInt());
            long status = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpRequestVer13.java597
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpRequestVer14.java597
        StringBuilder b = new StringBuilder("OFBsnSetLacpRequestVer13(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("enabled=").append(enabled);
        b.append(", ");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("actorSysPriority=").append(actorSysPriority);
        b.append(", ");
        b.append("actorSysMac=").append(actorSysMac);
        b.append(", ");
        b.append("actorPortPriority=").append(actorPortPriority);
        b.append(", ");
        b.append("actorPortNum=").append(actorPortNum);
        b.append(", ");
        b.append("actorKey=").append(actorKey);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvReferenceVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvReferenceVer14.java200
            return new OFBsnTlvReferenceVer13(
                    tableId,
                    key
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvReference> {
        @Override
        public OFBsnTlvReference readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x3b
            short type = bb.readShort();
            if(type != (short) 0x3b)
                throw new OFParseError("Wrong type: Expected=0x3b(0x3b), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int tableId = U16.f(bb.readShort());
            List<OFBsnTlv> key = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFBsnTlvVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandExperimenterVer13.java228
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandExperimenterVer14.java228
            return new OFMeterBandExperimenterVer13(
                    rate,
                    burstSize,
                    experimenter
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFMeterBandExperimenter> {
        @Override
        public OFMeterBandExperimenter readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0xffff
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=0xffff(0xffff), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long rate = U32.f(bb.readInt());
            long burstSize = U32.f(bb.readInt());
            long experimenter = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFActionCopyTtlInVer11.java66
org/projectfloodlight/openflow/protocol/ver12/OFActionCopyTtlInVer12.java66
org/projectfloodlight/openflow/protocol/ver13/OFActionCopyTtlInVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFActionCopyTtlInVer14.java66
        throw new UnsupportedOperationException("OFActionCopyTtlInVer11 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionCopyTtlIn> {
        @Override
        public OFActionCopyTtlIn readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 12
            short type = bb.readShort();
            if(type != (short) 0xc)
                throw new OFParseError("Wrong type: Expected=OFActionType.COPY_TTL_IN(12), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionCopyTtlInVer11Funnel FUNNEL = new OFActionCopyTtlInVer11Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFActionCopyTtlOutVer11.java66
org/projectfloodlight/openflow/protocol/ver12/OFActionCopyTtlOutVer12.java66
org/projectfloodlight/openflow/protocol/ver13/OFActionCopyTtlOutVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFActionCopyTtlOutVer14.java66
        throw new UnsupportedOperationException("OFActionCopyTtlOutVer11 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionCopyTtlOut> {
        @Override
        public OFActionCopyTtlOut readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 11
            short type = bb.readShort();
            if(type != (short) 0xb)
                throw new OFParseError("Wrong type: Expected=OFActionType.COPY_TTL_OUT(11), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionCopyTtlOutVer11Funnel FUNNEL = new OFActionCopyTtlOutVer11Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFActionDecMplsTtlVer11.java66
org/projectfloodlight/openflow/protocol/ver12/OFActionDecMplsTtlVer12.java66
org/projectfloodlight/openflow/protocol/ver13/OFActionDecMplsTtlVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFActionDecMplsTtlVer14.java66
        throw new UnsupportedOperationException("OFActionDecMplsTtlVer11 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionDecMplsTtl> {
        @Override
        public OFActionDecMplsTtl readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 16
            short type = bb.readShort();
            if(type != (short) 0x10)
                throw new OFParseError("Wrong type: Expected=OFActionType.DEC_MPLS_TTL(16), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionDecMplsTtlVer11Funnel FUNNEL = new OFActionDecMplsTtlVer11Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFActionDecNwTtlVer11.java66
org/projectfloodlight/openflow/protocol/ver12/OFActionDecNwTtlVer12.java66
org/projectfloodlight/openflow/protocol/ver13/OFActionDecNwTtlVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFActionDecNwTtlVer14.java66
        throw new UnsupportedOperationException("OFActionDecNwTtlVer11 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionDecNwTtl> {
        @Override
        public OFActionDecNwTtl readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 24
            short type = bb.readShort();
            if(type != (short) 0x18)
                throw new OFParseError("Wrong type: Expected=OFActionType.DEC_NW_TTL(24), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionDecNwTtlVer11Funnel FUNNEL = new OFActionDecNwTtlVer11Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFActionPopVlanVer11.java66
org/projectfloodlight/openflow/protocol/ver12/OFActionPopVlanVer12.java66
org/projectfloodlight/openflow/protocol/ver13/OFActionPopVlanVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFActionPopVlanVer14.java66
        throw new UnsupportedOperationException("OFActionPopVlanVer11 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionPopVlan> {
        @Override
        public OFActionPopVlan readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 18
            short type = bb.readShort();
            if(type != (short) 0x12)
                throw new OFParseError("Wrong type: Expected=OFActionType.POP_VLAN(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionPopVlanVer11Funnel FUNNEL = new OFActionPopVlanVer11Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFInstructionClearActionsVer11.java66
org/projectfloodlight/openflow/protocol/ver12/OFInstructionClearActionsVer12.java66
org/projectfloodlight/openflow/protocol/ver13/OFInstructionClearActionsVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFInstructionClearActionsVer14.java66
        throw new UnsupportedOperationException("OFInstructionClearActionsVer11 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionClearActions> {
        @Override
        public OFInstructionClearActions readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 5
            short type = bb.readShort();
            if(type != (short) 0x5)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.CLEAR_ACTIONS(5), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionClearActionsVer11Funnel FUNNEL = new OFInstructionClearActionsVer11Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionPopPbbVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFActionPopPbbVer14.java66
        throw new UnsupportedOperationException("OFActionPopPbbVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionPopPbb> {
        @Override
        public OFActionPopPbb readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 27
            short type = bb.readShort();
            if(type != (short) 0x1b)
                throw new OFParseError("Wrong type: Expected=OFActionType.POP_PBB(27), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionPopPbbVer13Funnel FUNNEL = new OFActionPopPbbVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionRequestVer10.java530
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionRequestVer11.java530
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionRequestVer12.java530
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionRequestVer13.java530
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionRequestVer14.java530
        OFBsnSetPktinSuppressionRequestVer10 other = (OFBsnSetPktinSuppressionRequestVer10) obj;

        if( xid != other.xid)
            return false;
        if( enabled != other.enabled)
            return false;
        if( idleTimeout != other.idleTimeout)
            return false;
        if( hardTimeout != other.hardTimeout)
            return false;
        if( priority != other.priority)
            return false;
        if (cookie == null) {
            if (other.cookie != null)
                return false;
        } else if (!cookie.equals(other.cookie))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + (enabled ? 1231 : 1237);
        result = prime * result + idleTimeout;
        result = prime * result + hardTimeout;
        result = prime * result + priority;
        result = prime * result + ((cookie == null) ? 0 : cookie.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBucketVer11.java123
org/projectfloodlight/openflow/protocol/ver11/OFBucketVer11.java209
    @Override
    public int getWeight() {
        return weight;
    }

    @Override
    public OFBucket.Builder setWeight(int weight) {
        this.weight = weight;
        this.weightSet = true;
        return this;
    }
    @Override
    public OFPort getWatchPort() {
        return watchPort;
    }

    @Override
    public OFBucket.Builder setWatchPort(OFPort watchPort) {
        this.watchPort = watchPort;
        this.watchPortSet = true;
        return this;
    }
    @Override
    public OFGroup getWatchGroup() {
        return watchGroup;
    }

    @Override
    public OFBucket.Builder setWatchGroup(OFGroup watchGroup) {
        this.watchGroup = watchGroup;
        this.watchGroupSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFBucket.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }



        @Override
        public OFBucket build() {
                int weight = this.weightSet ? this.weight : parentMessage.weight;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBucketVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFBucketVer12.java209
    @Override
    public int getWeight() {
        return weight;
    }

    @Override
    public OFBucket.Builder setWeight(int weight) {
        this.weight = weight;
        this.weightSet = true;
        return this;
    }
    @Override
    public OFPort getWatchPort() {
        return watchPort;
    }

    @Override
    public OFBucket.Builder setWatchPort(OFPort watchPort) {
        this.watchPort = watchPort;
        this.watchPortSet = true;
        return this;
    }
    @Override
    public OFGroup getWatchGroup() {
        return watchGroup;
    }

    @Override
    public OFBucket.Builder setWatchGroup(OFGroup watchGroup) {
        this.watchGroup = watchGroup;
        this.watchGroupSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFBucket.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFBucket build() {
                int weight = this.weightSet ? this.weight : parentMessage.weight;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsRequestVer13.java132
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsRequestVer14.java221
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }


        @Override
        public OFBsnFlowChecksumBucketStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsRequestVer13.java221
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsRequestVer14.java132
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnFlowChecksumBucketStatsRequest.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
//
        @Override
        public OFBsnFlowChecksumBucketStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsRequestVer13.java127
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsRequestVer14.java216
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableBucketStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableBucketStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableBucketStatsRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }


        @Override
        public OFBsnGentableBucketStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsRequestVer13.java216
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsRequestVer14.java127
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableBucketStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableBucketStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableBucketStatsRequest.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableBucketStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsRequestVer13.java132
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsRequestVer14.java221
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPortCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnPortCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x8L;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPortCounterStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }


        @Override
        public OFBsnPortCounterStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsRequestVer13.java221
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsRequestVer14.java132
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPortCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnPortCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x8L;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPortCounterStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
//
        @Override
        public OFBsnPortCounterStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsRequestVer13.java129
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsRequestVer14.java216
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVlanCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVlanCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x9L;
    }

    @Override
    public int getVlanVid() {
        return vlanVid;
    }

    @Override
    public OFBsnVlanCounterStatsRequest.Builder setVlanVid(int vlanVid) {
        this.vlanVid = vlanVid;
        this.vlanVidSet = true;
        return this;
    }


        @Override
        public OFBsnVlanCounterStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsRequestVer13.java216
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsRequestVer14.java129
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVlanCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVlanCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x9L;
    }

    @Override
    public int getVlanVid() {
        return vlanVid;
    }

    @Override
    public OFBsnVlanCounterStatsRequest.Builder setVlanVid(int vlanVid) {
        this.vlanVid = vlanVid;
        this.vlanVidSet = true;
        return this;
    }
//
        @Override
        public OFBsnVlanCounterStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsRequestVer13.java129
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsRequestVer14.java216
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVrfCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVrfCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public long getVrf() {
        return vrf;
    }

    @Override
    public OFBsnVrfCounterStatsRequest.Builder setVrf(long vrf) {
        this.vrf = vrf;
        this.vrfSet = true;
        return this;
    }


        @Override
        public OFBsnVrfCounterStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsRequestVer13.java216
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsRequestVer14.java129
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVrfCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnVrfCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public long getVrf() {
        return vrf;
    }

    @Override
    public OFBsnVrfCounterStatsRequest.Builder setVrf(long vrf) {
        this.vrf = vrf;
        this.vrfSet = true;
        return this;
    }
//
        @Override
        public OFBsnVrfCounterStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBucketVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFBucketVer13.java209
    @Override
    public int getWeight() {
        return weight;
    }

    @Override
    public OFBucket.Builder setWeight(int weight) {
        this.weight = weight;
        this.weightSet = true;
        return this;
    }
    @Override
    public OFPort getWatchPort() {
        return watchPort;
    }

    @Override
    public OFBucket.Builder setWatchPort(OFPort watchPort) {
        this.watchPort = watchPort;
        this.watchPortSet = true;
        return this;
    }
    @Override
    public OFGroup getWatchGroup() {
        return watchGroup;
    }

    @Override
    public OFBucket.Builder setWatchGroup(OFGroup watchGroup) {
        this.watchGroup = watchGroup;
        this.watchGroupSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFBucket.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFBucket build() {
                int weight = this.weightSet ? this.weight : parentMessage.weight;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBucketVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFBucketVer14.java209
    @Override
    public int getWeight() {
        return weight;
    }

    @Override
    public OFBucket.Builder setWeight(int weight) {
        this.weight = weight;
        this.weightSet = true;
        return this;
    }
    @Override
    public OFPort getWatchPort() {
        return watchPort;
    }

    @Override
    public OFBucket.Builder setWatchPort(OFPort watchPort) {
        this.watchPort = watchPort;
        this.watchPortSet = true;
        return this;
    }
    @Override
    public OFGroup getWatchGroup() {
        return watchGroup;
    }

    @Override
    public OFBucket.Builder setWatchGroup(OFGroup watchGroup) {
        this.watchGroup = watchGroup;
        this.watchGroupSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFBucket.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFBucket build() {
                int weight = this.weightSet ? this.weight : parentMessage.weight;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxRequestVer10.java499
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxRequestVer11.java499
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxRequestVer12.java499
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxRequestVer13.java499
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxRequestVer14.java499
        OFBsnPduRxRequestVer10 other = (OFBsnPduRxRequestVer10) obj;

        if( xid != other.xid)
            return false;
        if( timeoutMs != other.timeoutMs)
            return false;
        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if( slotNum != other.slotNum)
            return false;
        if (!Arrays.equals(data, other.data))
                return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime *  (int) (timeoutMs ^ (timeoutMs >>> 32));
        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime * result + slotNum;
        result = prime * result + Arrays.hashCode(data);
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxRequestVer10.java499
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxRequestVer11.java499
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxRequestVer12.java499
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxRequestVer13.java499
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxRequestVer14.java499
        OFBsnPduTxRequestVer10 other = (OFBsnPduTxRequestVer10) obj;

        if( xid != other.xid)
            return false;
        if( txIntervalMs != other.txIntervalMs)
            return false;
        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if( slotNum != other.slotNum)
            return false;
        if (!Arrays.equals(data, other.data))
                return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime *  (int) (txIntervalMs ^ (txIntervalMs >>> 32));
        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime * result + slotNum;
        result = prime * result + Arrays.hashCode(data);
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDeleteVer13.java120
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDeleteVer13.java204
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2fL;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryDelete.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryDelete.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryDelete build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDeleteVer14.java120
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDeleteVer14.java204
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2fL;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryDelete.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryDelete.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryDelete build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxRequestVer10.java367
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxRequestVer11.java367
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxRequestVer12.java367
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxRequestVer13.java367
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxRequestVer14.java367
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x21L
            int subtype = bb.readInt();
            if(subtype != 0x21)
                throw new OFParseError("Wrong subtype: Expected=0x21L(0x21L), got="+subtype);
            long timeoutMs = U32.f(bb.readInt());
            OFPort portNo = OFPort.read2Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxRequestVer10.java367
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxRequestVer11.java367
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxRequestVer12.java367
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxRequestVer13.java367
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxRequestVer14.java367
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x1fL
            int subtype = bb.readInt();
            if(subtype != 0x1f)
                throw new OFParseError("Wrong subtype: Expected=0x1fL(0x1fL), got="+subtype);
            long txIntervalMs = U32.f(bb.readInt());
            OFPort portNo = OFPort.read2Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxTimeoutVer11.java283
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxTimeoutVer12.java283
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxTimeoutVer13.java283
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxTimeoutVer14.java283
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 21)
                throw new OFParseError("Wrong length: Expected=21(21), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x23L
            int subtype = bb.readInt();
            if(subtype != 0x23)
                throw new OFParseError("Wrong subtype: Expected=0x23L(0x23L), got="+subtype);
            OFPort portNo = OFPort.read4Bytes(bb);
            short slotNum = U8.f(bb.readByte());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java367
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java367
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java397
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java397
                    byteCount,
                    bucketStats
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFGroupStatsEntry> {
        @Override
        public OFGroupStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 2 bytes
            bb.skipBytes(2);
            OFGroup group = OFGroup.read4Bytes(bb);
            long refCount = U32.f(bb.readInt());
            // pad: 4 bytes
            bb.skipBytes(4);
            U64 packetCount = U64.ofRaw(bb.readLong());
            U64 byteCount = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsRequestVer14.java119
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xdL;
    }



        @Override
        public OFBsnDebugCounterDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");

                //
                return new OFBsnDebugCounterDescStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsRequestVer14.java119
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xcL;
    }



        @Override
        public OFBsnDebugCounterStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");

                //
                return new OFBsnDebugCounterStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsRequestVer14.java119
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }



        @Override
        public OFBsnGentableDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");

                //
                return new OFBsnGentableDescStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsRequestVer14.java119
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x7L;
    }



        @Override
        public OFBsnGentableStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");

                //
                return new OFBsnGentableStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsRequestVer14.java119
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnImageDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnImageDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xeL;
    }



        @Override
        public OFBsnImageDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");

                //
                return new OFBsnImageDescStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsRequestVer14.java119
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLacpStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnLacpStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }



        @Override
        public OFBsnLacpStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");

                //
                return new OFBsnLacpStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpReplyVer13.java283
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpReplyVer14.java283
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x2aL
            int subtype = bb.readInt();
            if(subtype != 0x2a)
                throw new OFParseError("Wrong subtype: Expected=0x2aL(0x2aL), got="+subtype);
            long status = U32.f(bb.readInt());
            OFPort portNo = OFPort.read4Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsRequestVer14.java119
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSwitchPipelineStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnSwitchPipelineStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x6L;
    }



        @Override
        public OFBsnSwitchPipelineStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");

                //
                return new OFBsnSwitchPipelineStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsRequestVer14.java119
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTableChecksumStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnTableChecksumStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }



        @Override
        public OFBsnTableChecksumStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");

                //
                return new OFBsnTableChecksumStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnShellCommandVer10.java121
org/projectfloodlight/openflow/protocol/ver10/OFBsnShellCommandVer10.java203
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnShellCommand.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x6L;
    }

    @Override
    public long getService() {
        return service;
    }

    @Override
    public OFBsnShellCommand.Builder setService(long service) {
        this.service = service;
        this.serviceSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnShellCommand.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnShellCommand build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java798
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java681
        public OFCalientFlowStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            TableId tableId = TableId.readByte(bb);
            // pad: 1 bytes
            bb.skipBytes(1);
            long durationSec = U32.f(bb.readInt());
            long durationNsec = U32.f(bb.readInt());
            int priority = U16.f(bb.readShort());
            int idleTimeout = U16.f(bb.readShort());
            int hardTimeout = U16.f(bb.readShort());
            Set<OFFlowModFlags> flags = OFFlowModFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsReplyVer10.java121
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsReplyVer10.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.FLOW;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFFlowStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFFlowStatsReply.Builder setEntries(List<OFFlowStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFFlowStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java975
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java975
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java975
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java1021
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsEntryVer14.java945
        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime * result + ((rxPackets == null) ? 0 : rxPackets.hashCode());
        result = prime * result + ((txPackets == null) ? 0 : txPackets.hashCode());
        result = prime * result + ((rxBytes == null) ? 0 : rxBytes.hashCode());
        result = prime * result + ((txBytes == null) ? 0 : txBytes.hashCode());
        result = prime * result + ((rxDropped == null) ? 0 : rxDropped.hashCode());
        result = prime * result + ((txDropped == null) ? 0 : txDropped.hashCode());
        result = prime * result + ((rxErrors == null) ? 0 : rxErrors.hashCode());
        result = prime * result + ((txErrors == null) ? 0 : txErrors.hashCode());
        result = prime * result + ((rxFrameErr == null) ? 0 : rxFrameErr.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsReplyVer10.java122
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsReplyVer10.java202
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFPortStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFPortStatsReply.Builder setEntries(List<OFPortStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFPortStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsReplyVer10.java121
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsReplyVer10.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.QUEUE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFQueueStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFQueueStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFQueueStatsReply.Builder setEntries(List<OFQueueStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFQueueStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsReplyVer10.java121
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsReplyVer10.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFTableStatsReply.Builder setEntries(List<OFTableStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFTableStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsReplyVer11.java121
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsReplyVer11.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.FLOW;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFFlowStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFFlowStatsReply.Builder setEntries(List<OFFlowStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFFlowStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsReplyVer11.java121
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsReplyVer11.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFGroupDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFGroupDescStatsReply.Builder setEntries(List<OFGroupDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFGroupDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsReplyVer11.java121
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsReplyVer11.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFGroupStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFGroupStatsReply.Builder setEntries(List<OFGroupStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFGroupStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsReplyVer11.java121
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsReplyVer11.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFPortStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFPortStatsReply.Builder setEntries(List<OFPortStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFPortStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsReplyVer11.java121
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsReplyVer11.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.QUEUE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFQueueStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFQueueStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFQueueStatsReply.Builder setEntries(List<OFQueueStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFQueueStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsReplyVer11.java121
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsReplyVer11.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFTableStatsReply.Builder setEntries(List<OFTableStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFTableStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsReplyVer12.java121
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsReplyVer12.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.FLOW;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFFlowStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFFlowStatsReply.Builder setEntries(List<OFFlowStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFFlowStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsReplyVer12.java121
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsReplyVer12.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFGroupDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFGroupDescStatsReply.Builder setEntries(List<OFGroupDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFGroupDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsReplyVer12.java121
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsReplyVer12.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFGroupStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFGroupStatsReply.Builder setEntries(List<OFGroupStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFGroupStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsReplyVer12.java121
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsReplyVer12.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFPortStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFPortStatsReply.Builder setEntries(List<OFPortStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFPortStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsReplyVer12.java121
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsReplyVer12.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.QUEUE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFQueueStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFQueueStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFQueueStatsReply.Builder setEntries(List<OFQueueStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFQueueStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsReplyVer12.java121
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsReplyVer12.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFTableStatsReply.Builder setEntries(List<OFTableStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFTableStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsReplyVer13.java121
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsReplyVer13.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.FLOW;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFFlowStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFFlowStatsReply.Builder setEntries(List<OFFlowStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFFlowStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsReplyVer13.java121
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsReplyVer13.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFGroupDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFGroupDescStatsReply.Builder setEntries(List<OFGroupDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFGroupDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsReplyVer13.java121
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsReplyVer13.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFGroupStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFGroupStatsReply.Builder setEntries(List<OFGroupStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFGroupStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsReplyVer13.java121
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsReplyVer13.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterConfigStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_CONFIG;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterConfigStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFMeterBand> getEntries() {
        return entries;
    }

    @Override
    public OFMeterConfigStatsReply.Builder setEntries(List<OFMeterBand> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFMeterConfigStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsReplyVer13.java121
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsReplyVer13.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFMeterStats> getEntries() {
        return entries;
    }

    @Override
    public OFMeterStatsReply.Builder setEntries(List<OFMeterStats> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFMeterStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsReplyVer13.java121
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsReplyVer13.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT_DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFPortDesc> getEntries() {
        return entries;
    }

    @Override
    public OFPortDescStatsReply.Builder setEntries(List<OFPortDesc> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFPortDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsReplyVer13.java121
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsReplyVer13.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFPortStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFPortStatsReply.Builder setEntries(List<OFPortStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFPortStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsReplyVer13.java121
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsReplyVer13.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.QUEUE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFQueueStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFQueueStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFQueueStatsReply.Builder setEntries(List<OFQueueStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFQueueStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsReplyVer13.java121
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsReplyVer13.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableFeaturesStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE_FEATURES;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableFeaturesStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableFeatures> getEntries() {
        return entries;
    }

    @Override
    public OFTableFeaturesStatsReply.Builder setEntries(List<OFTableFeatures> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFTableFeaturesStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsRequestVer13.java121
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsRequestVer13.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableFeaturesStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE_FEATURES;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableFeaturesStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableFeatures> getEntries() {
        return entries;
    }

    @Override
    public OFTableFeaturesStatsRequest.Builder setEntries(List<OFTableFeatures> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFTableFeaturesStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsReplyVer13.java121
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsReplyVer13.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFTableStatsReply.Builder setEntries(List<OFTableStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFTableStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsReplyVer14.java121
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsReplyVer14.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.FLOW;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFFlowStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFFlowStatsReply.Builder setEntries(List<OFFlowStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFFlowStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsReplyVer14.java121
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsReplyVer14.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFGroupDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFGroupDescStatsReply.Builder setEntries(List<OFGroupDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFGroupDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsReplyVer14.java121
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsReplyVer14.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFGroupStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFGroupStatsReply.Builder setEntries(List<OFGroupStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFGroupStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsReplyVer14.java121
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsReplyVer14.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterConfigStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_CONFIG;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterConfigStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFMeterBand> getEntries() {
        return entries;
    }

    @Override
    public OFMeterConfigStatsReply.Builder setEntries(List<OFMeterBand> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFMeterConfigStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsReplyVer14.java121
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsReplyVer14.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFMeterStats> getEntries() {
        return entries;
    }

    @Override
    public OFMeterStatsReply.Builder setEntries(List<OFMeterStats> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFMeterStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsReplyVer14.java121
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsReplyVer14.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT_DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFPortDesc> getEntries() {
        return entries;
    }

    @Override
    public OFPortDescStatsReply.Builder setEntries(List<OFPortDesc> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFPortDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsReplyVer14.java121
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsReplyVer14.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFPortStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFPortStatsReply.Builder setEntries(List<OFPortStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFPortStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFQueueDescStatsReplyVer14.java121
org/projectfloodlight/openflow/protocol/ver14/OFQueueDescStatsReplyVer14.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.QUEUE_DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFQueueDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFQueueDesc> getEntries() {
        return entries;
    }

    @Override
    public OFQueueDescStatsReply.Builder setEntries(List<OFQueueDesc> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFQueueDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsReplyVer14.java121
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsReplyVer14.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.QUEUE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFQueueStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFQueueStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFQueueStatsReply.Builder setEntries(List<OFQueueStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFQueueStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFTableDescStatsReplyVer14.java121
org/projectfloodlight/openflow/protocol/ver14/OFTableDescStatsReplyVer14.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE_DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableDesc> getEntries() {
        return entries;
    }

    @Override
    public OFTableDescStatsReply.Builder setEntries(List<OFTableDesc> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFTableDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsReplyVer14.java121
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsReplyVer14.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableFeaturesStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE_FEATURES;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableFeaturesStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableFeatures> getEntries() {
        return entries;
    }

    @Override
    public OFTableFeaturesStatsReply.Builder setEntries(List<OFTableFeatures> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFTableFeaturesStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsRequestVer14.java121
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsRequestVer14.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableFeaturesStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE_FEATURES;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableFeaturesStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableFeatures> getEntries() {
        return entries;
    }

    @Override
    public OFTableFeaturesStatsRequest.Builder setEntries(List<OFTableFeatures> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFTableFeaturesStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsReplyVer14.java121
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsReplyVer14.java200
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFTableStatsReply.Builder setEntries(List<OFTableStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFTableStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
net/onrc/openvirtex/core/io/ControllerChannelHandler.java116
net/onrc/openvirtex/core/io/ControllerChannelHandler.java150
        WAIT_FT_REQ(false) {

            @Override
            void processOFError(final ControllerChannelHandler h,
                    final OFErrorMsg m) throws IOException {
                h.log.error(
                        "Error waiting for Features Request (type:{}, code:{})",
                        m.getErrType(), m.getData());

                h.channel.disconnect();

            }

            @Override
            void processOFFeaturesRequest(final ControllerChannelHandler h,
                    final OFFeaturesRequest m) {
            	
            	 
                 OFFeaturesReply reply = h.sw.getFeaturesReply();
                if (reply == null) {
                    h.log.error("OVXSwitch failed to return a featuresReply message: {}"
                            + h.sw.getSwitchName());
                    h.channel.disconnect();
                }
                reply=reply.createBuilder().setXid(m.getXid()).build();
                //reply.setXid(m.getXid());
                h.channel.write(Collections.singletonList(reply));
                h.log.info("Connected dpid {} to controller {}",
                        h.sw.getSwitchName(), h.channel.getRemoteAddress());
                h.sw.setConnected(true);
                h.setState(ACTIVE);
            }

        },
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetMirroringReplyVer10.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetMirroringReplyVer11.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetMirroringReplyVer12.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetMirroringReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetMirroringReplyVer14.java238
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x5L
            int subtype = bb.readInt();
            if(subtype != 0x5)
                throw new OFParseError("Wrong subtype: Expected=0x5L(0x5L), got="+subtype);
            short reportMirrorPorts = U8.f(bb.readByte());
            // pad: 3 bytes
            bb.skipBytes(3);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetMirroringRequestVer10.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetMirroringRequestVer11.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetMirroringRequestVer12.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetMirroringRequestVer13.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetMirroringRequestVer14.java238
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x4L
            int subtype = bb.readInt();
            if(subtype != 0x4)
                throw new OFParseError("Wrong subtype: Expected=0x4L(0x4L), got="+subtype);
            short reportMirrorPorts = U8.f(bb.readByte());
            // pad: 3 bytes
            bb.skipBytes(3);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetMirroringVer10.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetMirroringVer11.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetMirroringVer12.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetMirroringVer13.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetMirroringVer14.java238
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x3L
            int subtype = bb.readInt();
            if(subtype != 0x3)
                throw new OFParseError("Wrong subtype: Expected=0x3L(0x3L), got="+subtype);
            short reportMirrorPorts = U8.f(bb.readByte());
            // pad: 3 bytes
            bb.skipBytes(3);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java38
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java38
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java38
    final static int LENGTH = 104;

        private final static OFPort DEFAULT_PORT_NO = OFPort.ANY;
        private final static U64 DEFAULT_RX_PACKETS = U64.ZERO;
        private final static U64 DEFAULT_TX_PACKETS = U64.ZERO;
        private final static U64 DEFAULT_RX_BYTES = U64.ZERO;
        private final static U64 DEFAULT_TX_BYTES = U64.ZERO;
        private final static U64 DEFAULT_RX_DROPPED = U64.ZERO;
        private final static U64 DEFAULT_TX_DROPPED = U64.ZERO;
        private final static U64 DEFAULT_RX_ERRORS = U64.ZERO;
        private final static U64 DEFAULT_TX_ERRORS = U64.ZERO;
        private final static U64 DEFAULT_RX_FRAME_ERR = U64.ZERO;
        private final static U64 DEFAULT_RX_OVER_ERR = U64.ZERO;
        private final static U64 DEFAULT_RX_CRC_ERR = U64.ZERO;
        private final static U64 DEFAULT_COLLISIONS = U64.ZERO;

    // OF message fields
    private final OFPort portNo;
    private final U64 rxPackets;
    private final U64 txPackets;
    private final U64 rxBytes;
    private final U64 txBytes;
    private final U64 rxDropped;
    private final U64 txDropped;
    private final U64 rxErrors;
    private final U64 txErrors;
    private final U64 rxFrameErr;
    private final U64 rxOverErr;
    private final U64 rxCrcErr;
    private final U64 collisions;
//
    // Immutable default instance
    final static OFPortStatsEntryVer10 DEFAULT = new OFPortStatsEntryVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java839
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java839
        public void write(ChannelBuffer bb, OFPortStatsEntryVer11 message) {
            message.portNo.write4Bytes(bb);
            // pad: 4 bytes
            bb.writeZero(4);
            bb.writeLong(message.rxPackets.getValue());
            bb.writeLong(message.txPackets.getValue());
            bb.writeLong(message.rxBytes.getValue());
            bb.writeLong(message.txBytes.getValue());
            bb.writeLong(message.rxDropped.getValue());
            bb.writeLong(message.txDropped.getValue());
            bb.writeLong(message.rxErrors.getValue());
            bb.writeLong(message.txErrors.getValue());
            bb.writeLong(message.rxFrameErr.getValue());
            bb.writeLong(message.rxOverErr.getValue());
            bb.writeLong(message.rxCrcErr.getValue());
            bb.writeLong(message.collisions.getValue());


        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFPortStatsEntryVer11(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdCopyTtlInVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFActionIdCopyTtlInVer14.java66
        throw new UnsupportedOperationException("OFActionIdCopyTtlInVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdCopyTtlIn> {
        @Override
        public OFActionIdCopyTtlIn readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 12
            short type = bb.readShort();
            if(type != (short) 0xc)
                throw new OFParseError("Wrong type: Expected=OFActionType.COPY_TTL_IN(12), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdCopyTtlInVer13Funnel FUNNEL = new OFActionIdCopyTtlInVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdCopyTtlOutVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFActionIdCopyTtlOutVer14.java66
        throw new UnsupportedOperationException("OFActionIdCopyTtlOutVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdCopyTtlOut> {
        @Override
        public OFActionIdCopyTtlOut readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 11
            short type = bb.readShort();
            if(type != (short) 0xb)
                throw new OFParseError("Wrong type: Expected=OFActionType.COPY_TTL_OUT(11), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdCopyTtlOutVer13Funnel FUNNEL = new OFActionIdCopyTtlOutVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdDecMplsTtlVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFActionIdDecMplsTtlVer14.java66
        throw new UnsupportedOperationException("OFActionIdDecMplsTtlVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdDecMplsTtl> {
        @Override
        public OFActionIdDecMplsTtl readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 16
            short type = bb.readShort();
            if(type != (short) 0x10)
                throw new OFParseError("Wrong type: Expected=OFActionType.DEC_MPLS_TTL(16), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdDecMplsTtlVer13Funnel FUNNEL = new OFActionIdDecMplsTtlVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdDecNwTtlVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFActionIdDecNwTtlVer14.java66
        throw new UnsupportedOperationException("OFActionIdDecNwTtlVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdDecNwTtl> {
        @Override
        public OFActionIdDecNwTtl readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 24
            short type = bb.readShort();
            if(type != (short) 0x18)
                throw new OFParseError("Wrong type: Expected=OFActionType.DEC_NW_TTL(24), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdDecNwTtlVer13Funnel FUNNEL = new OFActionIdDecNwTtlVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdGroupVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFActionIdGroupVer14.java66
        throw new UnsupportedOperationException("OFActionIdGroupVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdGroup> {
        @Override
        public OFActionIdGroup readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 22
            short type = bb.readShort();
            if(type != (short) 0x16)
                throw new OFParseError("Wrong type: Expected=OFActionType.GROUP(22), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdGroupVer13Funnel FUNNEL = new OFActionIdGroupVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdOutputVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFActionIdOutputVer14.java66
        throw new UnsupportedOperationException("OFActionIdOutputVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdOutput> {
        @Override
        public OFActionIdOutput readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0
            short type = bb.readShort();
            if(type != (short) 0x0)
                throw new OFParseError("Wrong type: Expected=OFActionType.OUTPUT(0), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdOutputVer13Funnel FUNNEL = new OFActionIdOutputVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdPopMplsVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFActionIdPopMplsVer14.java66
        throw new UnsupportedOperationException("OFActionIdPopMplsVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdPopMpls> {
        @Override
        public OFActionIdPopMpls readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 20
            short type = bb.readShort();
            if(type != (short) 0x14)
                throw new OFParseError("Wrong type: Expected=OFActionType.POP_MPLS(20), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdPopMplsVer13Funnel FUNNEL = new OFActionIdPopMplsVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdPopPbbVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFActionIdPopPbbVer14.java66
        throw new UnsupportedOperationException("OFActionIdPopPbbVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdPopPbb> {
        @Override
        public OFActionIdPopPbb readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 27
            short type = bb.readShort();
            if(type != (short) 0x1b)
                throw new OFParseError("Wrong type: Expected=OFActionType.POP_PBB(27), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdPopPbbVer13Funnel FUNNEL = new OFActionIdPopPbbVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdPopVlanVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFActionIdPopVlanVer14.java66
        throw new UnsupportedOperationException("OFActionIdPopVlanVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdPopVlan> {
        @Override
        public OFActionIdPopVlan readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 18
            short type = bb.readShort();
            if(type != (short) 0x12)
                throw new OFParseError("Wrong type: Expected=OFActionType.POP_VLAN(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdPopVlanVer13Funnel FUNNEL = new OFActionIdPopVlanVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdPushMplsVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFActionIdPushMplsVer14.java66
        throw new UnsupportedOperationException("OFActionIdPushMplsVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdPushMpls> {
        @Override
        public OFActionIdPushMpls readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 19
            short type = bb.readShort();
            if(type != (short) 0x13)
                throw new OFParseError("Wrong type: Expected=OFActionType.PUSH_MPLS(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdPushMplsVer13Funnel FUNNEL = new OFActionIdPushMplsVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdPushPbbVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFActionIdPushPbbVer14.java66
        throw new UnsupportedOperationException("OFActionIdPushPbbVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdPushPbb> {
        @Override
        public OFActionIdPushPbb readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 26
            short type = bb.readShort();
            if(type != (short) 0x1a)
                throw new OFParseError("Wrong type: Expected=OFActionType.PUSH_PBB(26), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdPushPbbVer13Funnel FUNNEL = new OFActionIdPushPbbVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdPushVlanVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFActionIdPushVlanVer14.java66
        throw new UnsupportedOperationException("OFActionIdPushVlanVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdPushVlan> {
        @Override
        public OFActionIdPushVlan readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 17
            short type = bb.readShort();
            if(type != (short) 0x11)
                throw new OFParseError("Wrong type: Expected=OFActionType.PUSH_VLAN(17), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdPushVlanVer13Funnel FUNNEL = new OFActionIdPushVlanVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdSetFieldVer13.java67
org/projectfloodlight/openflow/protocol/ver14/OFActionIdSetFieldVer14.java67
        throw new UnsupportedOperationException("OFActionIdSetFieldVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdSetField> {
        @Override
        public OFActionIdSetField readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 25
            short type = bb.readShort();
            if(type != (short) 0x19)
                throw new OFParseError("Wrong type: Expected=OFActionType.SET_FIELD(25), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdSetFieldVer13Funnel FUNNEL = new OFActionIdSetFieldVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdSetMplsTtlVer13.java67
org/projectfloodlight/openflow/protocol/ver14/OFActionIdSetMplsTtlVer14.java67
        throw new UnsupportedOperationException("OFActionIdSetMplsTtlVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdSetMplsTtl> {
        @Override
        public OFActionIdSetMplsTtl readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 15
            short type = bb.readShort();
            if(type != (short) 0xf)
                throw new OFParseError("Wrong type: Expected=OFActionType.SET_MPLS_TTL(15), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdSetMplsTtlVer13Funnel FUNNEL = new OFActionIdSetMplsTtlVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdSetNwTtlVer13.java67
org/projectfloodlight/openflow/protocol/ver14/OFActionIdSetNwTtlVer14.java67
        throw new UnsupportedOperationException("OFActionIdSetNwTtlVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdSetNwTtl> {
        @Override
        public OFActionIdSetNwTtl readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 23
            short type = bb.readShort();
            if(type != (short) 0x17)
                throw new OFParseError("Wrong type: Expected=OFActionType.SET_NW_TTL(23), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdSetNwTtlVer13Funnel FUNNEL = new OFActionIdSetNwTtlVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdSetQueueVer13.java67
org/projectfloodlight/openflow/protocol/ver14/OFActionIdSetQueueVer14.java67
        throw new UnsupportedOperationException("OFActionIdSetQueueVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionIdSetQueue> {
        @Override
        public OFActionIdSetQueue readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 21
            short type = bb.readShort();
            if(type != (short) 0x15)
                throw new OFParseError("Wrong type: Expected=OFActionType.SET_QUEUE(21), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdSetQueueVer13Funnel FUNNEL = new OFActionIdSetQueueVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvIdleNotificationVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvIdleNotificationVer14.java66
        throw new UnsupportedOperationException("OFBsnTlvIdleNotificationVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvIdleNotification> {
        @Override
        public OFBsnTlvIdleNotification readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x7
            short type = bb.readShort();
            if(type != (short) 0x7)
                throw new OFParseError("Wrong type: Expected=0x7(0x7), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFBsnTlvIdleNotificationVer13Funnel FUNNEL = new OFBsnTlvIdleNotificationVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvSetLoopbackModeVer13.java67
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvSetLoopbackModeVer14.java67
        throw new UnsupportedOperationException("OFBsnTlvSetLoopbackModeVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvSetLoopbackMode> {
        @Override
        public OFBsnTlvSetLoopbackMode readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x4a
            short type = bb.readShort();
            if(type != (short) 0x4a)
                throw new OFParseError("Wrong type: Expected=0x4a(0x4a), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFBsnTlvSetLoopbackModeVer13Funnel FUNNEL = new OFBsnTlvSetLoopbackModeVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvStripMplsL2OnIngressVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvStripMplsL2OnIngressVer14.java66
        throw new UnsupportedOperationException("OFBsnTlvStripMplsL2OnIngressVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvStripMplsL2OnIngress> {
        @Override
        public OFBsnTlvStripMplsL2OnIngress readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x4b
            short type = bb.readShort();
            if(type != (short) 0x4b)
                throw new OFParseError("Wrong type: Expected=0x4b(0x4b), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFBsnTlvStripMplsL2OnIngressVer13Funnel FUNNEL = new OFBsnTlvStripMplsL2OnIngressVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvStripMplsL3OnIngressVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvStripMplsL3OnIngressVer14.java66
        throw new UnsupportedOperationException("OFBsnTlvStripMplsL3OnIngressVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvStripMplsL3OnIngress> {
        @Override
        public OFBsnTlvStripMplsL3OnIngress readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x4c
            short type = bb.readShort();
            if(type != (short) 0x4c)
                throw new OFParseError("Wrong type: Expected=0x4c(0x4c), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFBsnTlvStripMplsL3OnIngressVer13Funnel FUNNEL = new OFBsnTlvStripMplsL3OnIngressVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvStripVlanOnEgressVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvStripVlanOnEgressVer14.java66
        throw new UnsupportedOperationException("OFBsnTlvStripVlanOnEgressVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvStripVlanOnEgress> {
        @Override
        public OFBsnTlvStripVlanOnEgress readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x49
            short type = bb.readShort();
            if(type != (short) 0x49)
                throw new OFParseError("Wrong type: Expected=0x49(0x49), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFBsnTlvStripVlanOnEgressVer13Funnel FUNNEL = new OFBsnTlvStripVlanOnEgressVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdApplyActionsVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdApplyActionsVer14.java66
        throw new UnsupportedOperationException("OFInstructionIdApplyActionsVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionIdApplyActions> {
        @Override
        public OFInstructionIdApplyActions readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 4
            short type = bb.readShort();
            if(type != (short) 0x4)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.APPLY_ACTIONS(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionIdApplyActionsVer13Funnel FUNNEL = new OFInstructionIdApplyActionsVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdClearActionsVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdClearActionsVer14.java66
        throw new UnsupportedOperationException("OFInstructionIdClearActionsVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionIdClearActions> {
        @Override
        public OFInstructionIdClearActions readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 5
            short type = bb.readShort();
            if(type != (short) 0x5)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.CLEAR_ACTIONS(5), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionIdClearActionsVer13Funnel FUNNEL = new OFInstructionIdClearActionsVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdGotoTableVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdGotoTableVer14.java66
        throw new UnsupportedOperationException("OFInstructionIdGotoTableVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionIdGotoTable> {
        @Override
        public OFInstructionIdGotoTable readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 1
            short type = bb.readShort();
            if(type != (short) 0x1)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.GOTO_TABLE(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionIdGotoTableVer13Funnel FUNNEL = new OFInstructionIdGotoTableVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdMeterVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdMeterVer14.java66
        throw new UnsupportedOperationException("OFInstructionIdMeterVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionIdMeter> {
        @Override
        public OFInstructionIdMeter readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 6
            short type = bb.readShort();
            if(type != (short) 0x6)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.METER(6), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionIdMeterVer13Funnel FUNNEL = new OFInstructionIdMeterVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdWriteActionsVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdWriteActionsVer14.java66
        throw new UnsupportedOperationException("OFInstructionIdWriteActionsVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionIdWriteActions> {
        @Override
        public OFInstructionIdWriteActions readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 3
            short type = bb.readShort();
            if(type != (short) 0x3)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.WRITE_ACTIONS(3), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionIdWriteActionsVer13Funnel FUNNEL = new OFInstructionIdWriteActionsVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdWriteMetadataVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdWriteMetadataVer14.java66
        throw new UnsupportedOperationException("OFInstructionIdWriteMetadataVer13 has no mutable properties -- builder unneeded");
    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionIdWriteMetadata> {
        @Override
        public OFInstructionIdWriteMetadata readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 2
            short type = bb.readShort();
            if(type != (short) 0x2)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.WRITE_METADATA(2), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFInstructionIdWriteMetadataVer13Funnel FUNNEL = new OFInstructionIdWriteMetadataVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnInterfaceVer10.java124
org/projectfloodlight/openflow/protocol/ver10/OFBsnInterfaceVer10.java212
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFBsnInterface.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnInterface.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Addr() {
        return ipv4Addr;
    }

    @Override
    public OFBsnInterface.Builder setIpv4Addr(IPv4Address ipv4Addr) {
        this.ipv4Addr = ipv4Addr;
        this.ipv4AddrSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Netmask() {
        return ipv4Netmask;
    }

    @Override
    public OFBsnInterface.Builder setIpv4Netmask(IPv4Address ipv4Netmask) {
        this.ipv4Netmask = ipv4Netmask;
        this.ipv4NetmaskSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }



        @Override
        public OFBsnInterface build() {
                MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : parentMessage.hwAddr;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportQInQVer10.java471
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportQInQVer11.java471
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportQInQVer12.java471
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportQInQVer13.java471
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportQInQVer14.java471
        OFBsnVportQInQVer10 other = (OFBsnVportQInQVer10) obj;

        if( portNo != other.portNo)
            return false;
        if( ingressTpid != other.ingressTpid)
            return false;
        if( ingressVlanId != other.ingressVlanId)
            return false;
        if( egressTpid != other.egressTpid)
            return false;
        if( egressVlanId != other.egressVlanId)
            return false;
        if (ifName == null) {
            if (other.ifName != null)
                return false;
        } else if (!ifName.equals(other.ifName))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (portNo ^ (portNo >>> 32));
        result = prime * result + ingressTpid;
        result = prime * result + ingressVlanId;
        result = prime * result + egressTpid;
        result = prime * result + egressVlanId;
        result = prime * result + ((ifName == null) ? 0 : ifName.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnInterfaceVer11.java124
org/projectfloodlight/openflow/protocol/ver11/OFBsnInterfaceVer11.java212
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFBsnInterface.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnInterface.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Addr() {
        return ipv4Addr;
    }

    @Override
    public OFBsnInterface.Builder setIpv4Addr(IPv4Address ipv4Addr) {
        this.ipv4Addr = ipv4Addr;
        this.ipv4AddrSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Netmask() {
        return ipv4Netmask;
    }

    @Override
    public OFBsnInterface.Builder setIpv4Netmask(IPv4Address ipv4Netmask) {
        this.ipv4Netmask = ipv4Netmask;
        this.ipv4NetmaskSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }



        @Override
        public OFBsnInterface build() {
                MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : parentMessage.hwAddr;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnInterfaceVer12.java124
org/projectfloodlight/openflow/protocol/ver12/OFBsnInterfaceVer12.java212
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFBsnInterface.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnInterface.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Addr() {
        return ipv4Addr;
    }

    @Override
    public OFBsnInterface.Builder setIpv4Addr(IPv4Address ipv4Addr) {
        this.ipv4Addr = ipv4Addr;
        this.ipv4AddrSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Netmask() {
        return ipv4Netmask;
    }

    @Override
    public OFBsnInterface.Builder setIpv4Netmask(IPv4Address ipv4Netmask) {
        this.ipv4Netmask = ipv4Netmask;
        this.ipv4NetmaskSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFBsnInterface build() {
                MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : parentMessage.hwAddr;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPacketQueueVer12.java229
org/projectfloodlight/openflow/protocol/ver13/OFPacketQueueVer13.java229
org/projectfloodlight/openflow/protocol/ver14/OFPacketQueueVer14.java229
            return new OFPacketQueueVer12(
                    queueId,
                    port,
                    properties
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFPacketQueue> {
        @Override
        public OFPacketQueue readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            long queueId = U32.f(bb.readInt());
            OFPort port = OFPort.read4Bytes(bb);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 6 bytes
            bb.skipBytes(6);
            List<OFQueueProp> properties = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFQueuePropVer12.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsRequestVer13.java191
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsRequestVer14.java191
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xdL;
    }

//
        @Override
        public OFBsnDebugCounterDescStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");


            return new OFBsnDebugCounterDescStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsRequestVer13.java191
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsRequestVer14.java191
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xcL;
    }

//
        @Override
        public OFBsnDebugCounterStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");


            return new OFBsnDebugCounterStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsRequestVer13.java191
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsRequestVer14.java191
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

//
        @Override
        public OFBsnGentableDescStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");


            return new OFBsnGentableDescStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsRequestVer13.java191
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsRequestVer14.java191
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x7L;
    }

//
        @Override
        public OFBsnGentableStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");


            return new OFBsnGentableStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsRequestVer13.java191
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsRequestVer14.java191
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnImageDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnImageDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xeL;
    }

//
        @Override
        public OFBsnImageDescStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");


            return new OFBsnImageDescStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnInterfaceVer13.java124
org/projectfloodlight/openflow/protocol/ver13/OFBsnInterfaceVer13.java212
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFBsnInterface.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnInterface.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Addr() {
        return ipv4Addr;
    }

    @Override
    public OFBsnInterface.Builder setIpv4Addr(IPv4Address ipv4Addr) {
        this.ipv4Addr = ipv4Addr;
        this.ipv4AddrSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Netmask() {
        return ipv4Netmask;
    }

    @Override
    public OFBsnInterface.Builder setIpv4Netmask(IPv4Address ipv4Netmask) {
        this.ipv4Netmask = ipv4Netmask;
        this.ipv4NetmaskSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFBsnInterface build() {
                MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : parentMessage.hwAddr;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsRequestVer13.java191
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsRequestVer14.java191
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLacpStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnLacpStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }

//
        @Override
        public OFBsnLacpStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");


            return new OFBsnLacpStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsRequestVer13.java191
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsRequestVer14.java191
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSwitchPipelineStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnSwitchPipelineStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x6L;
    }

//
        @Override
        public OFBsnSwitchPipelineStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");


            return new OFBsnSwitchPipelineStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsRequestVer13.java191
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsRequestVer14.java191
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTableChecksumStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnTableChecksumStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }

//
        @Override
        public OFBsnTableChecksumStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");


            return new OFBsnTableChecksumStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOchSignalIdVer13.java112
org/projectfloodlight/openflow/protocol/ver13/OFOchSignalIdVer13.java192
    @Override
    public short getGrid() {
        return grid;
    }

    @Override
    public OFOchSignalId.Builder setGrid(short grid) {
        this.grid = grid;
        this.gridSet = true;
        return this;
    }
    @Override
    public short getCs() {
        return cs;
    }

    @Override
    public OFOchSignalId.Builder setCs(short cs) {
        this.cs = cs;
        this.csSet = true;
        return this;
    }
    @Override
    public int getN() {
        return n;
    }

    @Override
    public OFOchSignalId.Builder setN(int n) {
        this.n = n;
        this.nSet = true;
        return this;
    }
    @Override
    public int getM() {
        return m;
    }

    @Override
    public OFOchSignalId.Builder setM(int m) {
        this.m = m;
        this.mSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOchSignalId build() {
                short grid = this.gridSet ? this.grid : parentMessage.grid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortDescPropOpticalTransportVer13.java112
org/projectfloodlight/openflow/protocol/ver13/OFPortDescPropOpticalTransportVer13.java192
    @Override
    public int getType() {
        return type;
    }

    @Override
    public OFPortDescPropOpticalTransport.Builder setType(int type) {
        this.type = type;
        this.typeSet = true;
        return this;
    }
    @Override
    public short getPortSignalType() {
        return portSignalType;
    }

    @Override
    public OFPortDescPropOpticalTransport.Builder setPortSignalType(short portSignalType) {
        this.portSignalType = portSignalType;
        this.portSignalTypeSet = true;
        return this;
    }
    @Override
    public short getReserved() {
        return reserved;
    }

    @Override
    public OFPortDescPropOpticalTransport.Builder setReserved(short reserved) {
        this.reserved = reserved;
        this.reservedSet = true;
        return this;
    }
    @Override
    public short getPortType() {
        return portType;
    }

    @Override
    public OFPortDescPropOpticalTransport.Builder setPortType(short portType) {
        this.portType = portType;
        this.portTypeSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFPortDescPropOpticalTransport build() {
                int type = this.typeSet ? this.type : parentMessage.type;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnInterfaceVer14.java124
org/projectfloodlight/openflow/protocol/ver14/OFBsnInterfaceVer14.java212
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFBsnInterface.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnInterface.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Addr() {
        return ipv4Addr;
    }

    @Override
    public OFBsnInterface.Builder setIpv4Addr(IPv4Address ipv4Addr) {
        this.ipv4Addr = ipv4Addr;
        this.ipv4AddrSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Netmask() {
        return ipv4Netmask;
    }

    @Override
    public OFBsnInterface.Builder setIpv4Netmask(IPv4Address ipv4Netmask) {
        this.ipv4Netmask = ipv4Netmask;
        this.ipv4NetmaskSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFBsnInterface build() {
                MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : parentMessage.hwAddr;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnMirrorVer10.java120
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnMirrorVer10.java202
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }

    @Override
    public OFPort getDestPort() {
        return destPort;
    }

    @Override
    public OFActionBsnMirror.Builder setDestPort(OFPort destPort) {
        this.destPort = destPort;
        this.destPortSet = true;
        return this;
    }
    @Override
    public long getVlanTag() {
        return vlanTag;
    }

    @Override
    public OFActionBsnMirror.Builder setVlanTag(long vlanTag) {
        this.vlanTag = vlanTag;
        this.vlanTagSet = true;
        return this;
    }
    @Override
    public short getCopyStage() {
        return copyStage;
    }

    @Override
    public OFActionBsnMirror.Builder setCopyStage(short copyStage) {
        this.copyStage = copyStage;
        this.copyStageSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }



        @Override
        public OFActionBsnMirror build() {
                OFPort destPort = this.destPortSet ? this.destPort : parentMessage.destPort;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableSetReplyVer10.java117
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableSetReplyVer10.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x17L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableSetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetIpMaskReplyVer10.java117
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetIpMaskReplyVer10.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetIpMaskReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public short getIndex() {
        return index;
    }

    @Override
    public OFBsnGetIpMaskReply.Builder setIndex(short index) {
        this.index = index;
        this.indexSet = true;
        return this;
    }
    @Override
    public long getMask() {
        return mask;
    }

    @Override
    public OFBsnGetIpMaskReply.Builder setMask(long mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }


        @Override
        public OFBsnGetIpMaskReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetL2TableReplyVer10.java117
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetL2TableReplyVer10.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetL2TableReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xeL;
    }

    @Override
    public short getL2TableEnable() {
        return l2TableEnable;
    }

    @Override
    public OFBsnGetL2TableReply.Builder setL2TableEnable(short l2TableEnable) {
        this.l2TableEnable = l2TableEnable;
        this.l2TableEnableSet = true;
        return this;
    }
    @Override
    public int getL2TablePriority() {
        return l2TablePriority;
    }

    @Override
    public OFBsnGetL2TableReply.Builder setL2TablePriority(int l2TablePriority) {
        this.l2TablePriority = l2TablePriority;
        this.l2TablePrioritySet = true;
        return this;
    }


        @Override
        public OFBsnGetL2TableReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnHybridGetReplyVer10.java117
org/projectfloodlight/openflow/protocol/ver10/OFBsnHybridGetReplyVer10.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnHybridGetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1cL;
    }

    @Override
    public short getHybridEnable() {
        return hybridEnable;
    }

    @Override
    public OFBsnHybridGetReply.Builder setHybridEnable(short hybridEnable) {
        this.hybridEnable = hybridEnable;
        this.hybridEnableSet = true;
        return this;
    }
    @Override
    public int getHybridVersion() {
        return hybridVersion;
    }

    @Override
    public OFBsnHybridGetReply.Builder setHybridVersion(int hybridVersion) {
        this.hybridVersion = hybridVersion;
        this.hybridVersionSet = true;
        return this;
    }


        @Override
        public OFBsnHybridGetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxTimeoutVer10.java120
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxTimeoutVer10.java202
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x23L;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxTimeout build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetIpMaskVer10.java117
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetIpMaskVer10.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetIpMask.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x0L;
    }

    @Override
    public short getIndex() {
        return index;
    }

    @Override
    public OFBsnSetIpMask.Builder setIndex(short index) {
        this.index = index;
        this.indexSet = true;
        return this;
    }
    @Override
    public long getMask() {
        return mask;
    }

    @Override
    public OFBsnSetIpMask.Builder setMask(long mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }


        @Override
        public OFBsnSetIpMask build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetL2TableRequestVer10.java117
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetL2TableRequestVer10.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetL2TableRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xcL;
    }

    @Override
    public boolean isL2TableEnable() {
        return l2TableEnable;
    }

    @Override
    public OFBsnSetL2TableRequest.Builder setL2TableEnable(boolean l2TableEnable) {
        this.l2TableEnable = l2TableEnable;
        this.l2TableEnableSet = true;
        return this;
    }
    @Override
    public int getL2TablePriority() {
        return l2TablePriority;
    }

    @Override
    public OFBsnSetL2TableRequest.Builder setL2TablePriority(int l2TablePriority) {
        this.l2TablePriority = l2TablePriority;
        this.l2TablePrioritySet = true;
        return this;
    }


        @Override
        public OFBsnSetL2TableRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortCreateReplyVer10.java117
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortCreateReplyVer10.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public long getVportNo() {
        return vportNo;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setVportNo(long vportNo) {
        this.vportNo = vportNo;
        this.vportNoSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortCreateReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFCapabilitiesSerializerVer10.java45
org/projectfloodlight/openflow/protocol/ver11/OFCapabilitiesSerializerVer11.java44
org/projectfloodlight/openflow/protocol/ver12/OFCapabilitiesSerializerVer12.java44
org/projectfloodlight/openflow/protocol/ver13/OFCapabilitiesSerializerVer13.java44
org/projectfloodlight/openflow/protocol/ver14/OFCapabilitiesSerializerVer14.java44
    public static Set<OFCapabilities> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFCapabilities> set) {
        bb.writeInt(toWireValue(set));
    }

    public static void putTo(Set<OFCapabilities> set, PrimitiveSink sink) {
        sink.putInt(toWireValue(set));
    }


    public static Set<OFCapabilities> ofWireValue(int val) {
        EnumSet<OFCapabilities> set = EnumSet.noneOf(OFCapabilities.class);

        if((val & FLOW_STATS_VAL) != 0)
            set.add(OFCapabilities.FLOW_STATS);
        if((val & TABLE_STATS_VAL) != 0)
            set.add(OFCapabilities.TABLE_STATS);
        if((val & PORT_STATS_VAL) != 0)
            set.add(OFCapabilities.PORT_STATS);
        if((val & STP_VAL) != 0)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnMirrorVer11.java120
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnMirrorVer11.java202
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }

    @Override
    public OFPort getDestPort() {
        return destPort;
    }

    @Override
    public OFActionBsnMirror.Builder setDestPort(OFPort destPort) {
        this.destPort = destPort;
        this.destPortSet = true;
        return this;
    }
    @Override
    public long getVlanTag() {
        return vlanTag;
    }

    @Override
    public OFActionBsnMirror.Builder setVlanTag(long vlanTag) {
        this.vlanTag = vlanTag;
        this.vlanTagSet = true;
        return this;
    }
    @Override
    public short getCopyStage() {
        return copyStage;
    }

    @Override
    public OFActionBsnMirror.Builder setCopyStage(short copyStage) {
        this.copyStage = copyStage;
        this.copyStageSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }



        @Override
        public OFActionBsnMirror build() {
                OFPort destPort = this.destPortSet ? this.destPort : parentMessage.destPort;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableSetReplyVer11.java117
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableSetReplyVer11.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x17L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableSetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxTimeoutVer11.java120
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxTimeoutVer11.java202
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x23L;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxTimeout build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortCreateReplyVer11.java117
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortCreateReplyVer11.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public long getVportNo() {
        return vportNo;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setVportNo(long vportNo) {
        this.vportNo = vportNo;
        this.vportNoSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortCreateReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFInstructionApplyActionsVer11.java163
org/projectfloodlight/openflow/protocol/ver12/OFInstructionApplyActionsVer12.java163
org/projectfloodlight/openflow/protocol/ver13/OFInstructionApplyActionsVer13.java163
org/projectfloodlight/openflow/protocol/ver14/OFInstructionApplyActionsVer14.java163
            return new OFInstructionApplyActionsVer11(
                    actions
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionApplyActions> {
        @Override
        public OFInstructionApplyActions readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 4
            short type = bb.readShort();
            if(type != (short) 0x4)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.APPLY_ACTIONS(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);
            List<OFAction> actions = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFActionVer11.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFInstructionWriteActionsVer11.java163
org/projectfloodlight/openflow/protocol/ver12/OFInstructionWriteActionsVer12.java163
org/projectfloodlight/openflow/protocol/ver13/OFInstructionWriteActionsVer13.java163
org/projectfloodlight/openflow/protocol/ver14/OFInstructionWriteActionsVer14.java163
            return new OFInstructionWriteActionsVer11(
                    actions
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionWriteActions> {
        @Override
        public OFInstructionWriteActions readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 3
            short type = bb.readShort();
            if(type != (short) 0x3)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.WRITE_ACTIONS(3), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);
            List<OFAction> actions = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFActionVer11.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFInstructionWriteMetadataVer11.java205
org/projectfloodlight/openflow/protocol/ver12/OFInstructionWriteMetadataVer12.java205
org/projectfloodlight/openflow/protocol/ver13/OFInstructionWriteMetadataVer13.java205
org/projectfloodlight/openflow/protocol/ver14/OFInstructionWriteMetadataVer14.java205
            return new OFInstructionWriteMetadataVer11(
                    metadata,
                    metadataMask
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionWriteMetadata> {
        @Override
        public OFInstructionWriteMetadata readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 2
            short type = bb.readShort();
            if(type != (short) 0x2)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.WRITE_METADATA(2), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);
            U64 metadata = U64.ofRaw(bb.readLong());
            U64 metadataMask = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnMirrorVer12.java120
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnMirrorVer12.java202
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }

    @Override
    public OFPort getDestPort() {
        return destPort;
    }

    @Override
    public OFActionBsnMirror.Builder setDestPort(OFPort destPort) {
        this.destPort = destPort;
        this.destPortSet = true;
        return this;
    }
    @Override
    public long getVlanTag() {
        return vlanTag;
    }

    @Override
    public OFActionBsnMirror.Builder setVlanTag(long vlanTag) {
        this.vlanTag = vlanTag;
        this.vlanTagSet = true;
        return this;
    }
    @Override
    public short getCopyStage() {
        return copyStage;
    }

    @Override
    public OFActionBsnMirror.Builder setCopyStage(short copyStage) {
        this.copyStage = copyStage;
        this.copyStageSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFActionBsnMirror build() {
                OFPort destPort = this.destPortSet ? this.destPort : parentMessage.destPort;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableSetReplyVer12.java117
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableSetReplyVer12.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x17L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableSetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxTimeoutVer12.java120
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxTimeoutVer12.java202
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x23L;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxTimeout build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortCreateReplyVer12.java117
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortCreateReplyVer12.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public long getVportNo() {
        return vportNo;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setVportNo(long vportNo) {
        this.vportNo = vportNo;
        this.vportNoSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortCreateReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnMirrorVer13.java120
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnMirrorVer13.java202
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }

    @Override
    public OFPort getDestPort() {
        return destPort;
    }

    @Override
    public OFActionBsnMirror.Builder setDestPort(OFPort destPort) {
        this.destPort = destPort;
        this.destPortSet = true;
        return this;
    }
    @Override
    public long getVlanTag() {
        return vlanTag;
    }

    @Override
    public OFActionBsnMirror.Builder setVlanTag(long vlanTag) {
        this.vlanTag = vlanTag;
        this.vlanTagSet = true;
        return this;
    }
    @Override
    public short getCopyStage() {
        return copyStage;
    }

    @Override
    public OFActionBsnMirror.Builder setCopyStage(short copyStage) {
        this.copyStage = copyStage;
        this.copyStageSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFActionBsnMirror build() {
                OFPort destPort = this.destPortSet ? this.destPort : parentMessage.destPort;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnArpIdleVer13.java120
org/projectfloodlight/openflow/protocol/ver13/OFBsnArpIdleVer13.java202
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnArpIdle.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3cL;
    }

    @Override
    public int getVlanVid() {
        return vlanVid;
    }

    @Override
    public OFBsnArpIdle.Builder setVlanVid(int vlanVid) {
        this.vlanVid = vlanVid;
        this.vlanVidSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Addr() {
        return ipv4Addr;
    }

    @Override
    public OFBsnArpIdle.Builder setIpv4Addr(IPv4Address ipv4Addr) {
        this.ipv4Addr = ipv4Addr;
        this.ipv4AddrSet = true;
        return this;
    }


        @Override
        public OFBsnArpIdle build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableSetReplyVer13.java117
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableSetReplyVer13.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x17L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableSetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableSetReplyVer13.java117
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableSetReplyVer13.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdleEnableSetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x25L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnFlowIdleEnableSetReply.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnFlowIdleEnableSetReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnFlowIdleEnableSetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableSetBucketsSizeVer13.java115
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableSetBucketsSizeVer13.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableSetBucketsSize.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x32L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableSetBucketsSize.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getBucketsSize() {
        return bucketsSize;
    }

    @Override
    public OFBsnGentableSetBucketsSize.Builder setBucketsSize(long bucketsSize) {
        this.bucketsSize = bucketsSize;
        this.bucketsSizeSet = true;
        return this;
    }


        @Override
        public OFBsnGentableSetBucketsSize build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLogVer13.java118
org/projectfloodlight/openflow/protocol/ver13/OFBsnLogVer13.java202
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLog.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3fL;
    }

    @Override
    public OFBsnLoglevel getLoglevel() {
        return loglevel;
    }

    @Override
    public OFBsnLog.Builder setLoglevel(OFBsnLoglevel loglevel) {
        this.loglevel = loglevel;
        this.loglevelSet = true;
        return this;
    }
    @Override
    public String getData() {
        return data;
    }

    @Override
    public OFBsnLog.Builder setData(String data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnLog build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxTimeoutVer13.java120
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxTimeoutVer13.java202
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x23L;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxTimeout build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetAuxCxnsReplyVer13.java117
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetAuxCxnsReplyVer13.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetAuxCxnsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3bL;
    }

    @Override
    public long getNumAux() {
        return numAux;
    }

    @Override
    public OFBsnSetAuxCxnsReply.Builder setNumAux(long numAux) {
        this.numAux = numAux;
        this.numAuxSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetAuxCxnsReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnSetAuxCxnsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpReplyVer13.java120
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpReplyVer13.java202
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetLacpReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2aL;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetLacpReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnSetLacpReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }


        @Override
        public OFBsnSetLacpReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableSetBucketsSizeVer13.java120
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableSetBucketsSizeVer13.java202
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTableSetBucketsSize.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3dL;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnTableSetBucketsSize.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getBucketsSize() {
        return bucketsSize;
    }

    @Override
    public OFBsnTableSetBucketsSize.Builder setBucketsSize(long bucketsSize) {
        this.bucketsSize = bucketsSize;
        this.bucketsSizeSet = true;
        return this;
    }


        @Override
        public OFBsnTableSetBucketsSize build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortCreateReplyVer13.java117
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortCreateReplyVer13.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public long getVportNo() {
        return vportNo;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setVportNo(long vportNo) {
        this.vportNo = vportNo;
        this.vportNoSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortCreateReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandDropVer13.java191
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandDropVer14.java191
            return new OFMeterBandDropVer13(
                    rate,
                    burstSize
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFMeterBandDrop> {
        @Override
        public OFMeterBandDrop readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x1
            short type = bb.readShort();
            if(type != (short) 0x1)
                throw new OFParseError("Wrong type: Expected=0x1(0x1), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long rate = U32.f(bb.readInt());
            long burstSize = U32.f(bb.readInt());
            // pad: 4 bytes
            bb.skipBytes(4);
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnMirrorVer14.java120
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnMirrorVer14.java202
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }

    @Override
    public OFPort getDestPort() {
        return destPort;
    }

    @Override
    public OFActionBsnMirror.Builder setDestPort(OFPort destPort) {
        this.destPort = destPort;
        this.destPortSet = true;
        return this;
    }
    @Override
    public long getVlanTag() {
        return vlanTag;
    }

    @Override
    public OFActionBsnMirror.Builder setVlanTag(long vlanTag) {
        this.vlanTag = vlanTag;
        this.vlanTagSet = true;
        return this;
    }
    @Override
    public short getCopyStage() {
        return copyStage;
    }

    @Override
    public OFActionBsnMirror.Builder setCopyStage(short copyStage) {
        this.copyStage = copyStage;
        this.copyStageSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFActionBsnMirror build() {
                OFPort destPort = this.destPortSet ? this.destPort : parentMessage.destPort;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnArpIdleVer14.java120
org/projectfloodlight/openflow/protocol/ver14/OFBsnArpIdleVer14.java202
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnArpIdle.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3cL;
    }

    @Override
    public int getVlanVid() {
        return vlanVid;
    }

    @Override
    public OFBsnArpIdle.Builder setVlanVid(int vlanVid) {
        this.vlanVid = vlanVid;
        this.vlanVidSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Addr() {
        return ipv4Addr;
    }

    @Override
    public OFBsnArpIdle.Builder setIpv4Addr(IPv4Address ipv4Addr) {
        this.ipv4Addr = ipv4Addr;
        this.ipv4AddrSet = true;
        return this;
    }


        @Override
        public OFBsnArpIdle build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableSetReplyVer14.java117
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableSetReplyVer14.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x17L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableSetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableSetReplyVer14.java117
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableSetReplyVer14.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdleEnableSetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x25L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnFlowIdleEnableSetReply.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnFlowIdleEnableSetReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnFlowIdleEnableSetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableSetBucketsSizeVer14.java115
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableSetBucketsSizeVer14.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableSetBucketsSize.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x32L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableSetBucketsSize.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getBucketsSize() {
        return bucketsSize;
    }

    @Override
    public OFBsnGentableSetBucketsSize.Builder setBucketsSize(long bucketsSize) {
        this.bucketsSize = bucketsSize;
        this.bucketsSizeSet = true;
        return this;
    }


        @Override
        public OFBsnGentableSetBucketsSize build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnLogVer14.java118
org/projectfloodlight/openflow/protocol/ver14/OFBsnLogVer14.java202
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLog.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3fL;
    }

    @Override
    public OFBsnLoglevel getLoglevel() {
        return loglevel;
    }

    @Override
    public OFBsnLog.Builder setLoglevel(OFBsnLoglevel loglevel) {
        this.loglevel = loglevel;
        this.loglevelSet = true;
        return this;
    }
    @Override
    public String getData() {
        return data;
    }

    @Override
    public OFBsnLog.Builder setData(String data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnLog build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxTimeoutVer14.java120
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxTimeoutVer14.java202
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x23L;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxTimeout build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetAuxCxnsReplyVer14.java117
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetAuxCxnsReplyVer14.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetAuxCxnsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3bL;
    }

    @Override
    public long getNumAux() {
        return numAux;
    }

    @Override
    public OFBsnSetAuxCxnsReply.Builder setNumAux(long numAux) {
        this.numAux = numAux;
        this.numAuxSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetAuxCxnsReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnSetAuxCxnsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpReplyVer14.java120
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpReplyVer14.java202
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetLacpReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2aL;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetLacpReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnSetLacpReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }


        @Override
        public OFBsnSetLacpReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableSetBucketsSizeVer14.java120
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableSetBucketsSizeVer14.java202
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTableSetBucketsSize.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3dL;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnTableSetBucketsSize.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getBucketsSize() {
        return bucketsSize;
    }

    @Override
    public OFBsnTableSetBucketsSize.Builder setBucketsSize(long bucketsSize) {
        this.bucketsSize = bucketsSize;
        this.bucketsSizeSet = true;
        return this;
    }


        @Override
        public OFBsnTableSetBucketsSize build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortCreateReplyVer14.java117
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortCreateReplyVer14.java197
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public long getVportNo() {
        return vportNo;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setVportNo(long vportNo) {
        this.vportNo = vportNo;
        this.vportNoSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortCreateReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsEntryVer13.java260
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsEntryVer14.java260
            return new OFBsnGentableDescStatsEntryVer13(
                    tableId,
                    name,
                    bucketsSize,
                    maxEntries
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnGentableDescStatsEntry> {
        @Override
        public OFBsnGentableDescStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length != 48)
                throw new OFParseError("Wrong length: Expected=48(48), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            GenTableId tableId = GenTableId.read2Bytes(bb);
            String name = ChannelUtils.readFixedLengthString(bb, 32);
            long bucketsSize = U32.f(bb.readInt());
            long maxEntries = U32.f(bb.readInt());
            // pad: 4 bytes
            bb.skipBytes(4);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFeaturesReplyVer13.java467
org/projectfloodlight/openflow/protocol/ver14/OFFeaturesReplyVer14.java467
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 6
            byte type = bb.readByte();
            if(type != (byte) 0x6)
                throw new OFParseError("Wrong type: Expected=OFType.FEATURES_REPLY(6), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 32)
                throw new OFParseError("Wrong length: Expected=32(32), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            DatapathId datapathId = DatapathId.of(bb.readLong());
            long nBuffers = U32.f(bb.readInt());
            short nTables = U8.f(bb.readByte());
            OFAuxId auxiliaryId = OFAuxId.readByte(bb);
            // pad: 2 bytes
            bb.skipBytes(2);
            Set<OFCapabilities> capabilities = OFCapabilitiesSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigVer13.java222
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigVer14.java222
            return new OFMeterConfigVer13(
                    flags,
                    meterId,
                    entries
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFMeterConfig> {
        @Override
        public OFMeterConfig readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int flags = U16.f(bb.readShort());
            long meterId = U32.f(bb.readInt());
            List<OFMeterBand> entries = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFMeterBandVer13.READER);
FileLine
net/onrc/openvirtex/messages/ver13/OVXFlowAddVer13.java83
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteStrictVer13.java72
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteVer13.java72
net/onrc/openvirtex/messages/ver13/OVXFlowModifyStrictVer13.java72
net/onrc/openvirtex/messages/ver13/OVXFlowModifyVer13.java74
	private final Logger log = LogManager.getLogger(OVXFlowAddVer13.class.getName());

    private OVXSwitch sw = null;
    private final List<OFAction> approvedActions = new LinkedList<OFAction>();

    private long ovxCookie = -1;

    @Override
    public void devirtualize(final OVXSwitch sw) {
        /* Drop LLDP-matching messages sent by some applications */
        if (((OFMatchV3)this.getMatch()).get(MatchField.ETH_TYPE) != null) {
            if (((OFMatchV3)this.getMatch()).get(MatchField.ETH_TYPE).getValue() == Ethernet.TYPE_LLDP) {
                return;
            }
        }

        this.sw = sw;
        FlowTable ft = this.sw.getFlowTable();

        int bufferId = OFBufferId.NO_BUFFER.getInt();
        if (sw.getFromBufferMap(this.bufferId.getInt()) != null) {
            bufferId = sw.getFromBufferMap(this.bufferId.getInt()).getBufferId().getInt();
        }
        short inport = -1;
        if ((this.getMatch()).get(MatchField.IN_PORT) != null) {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java643
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java643
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java798
        public OFFlowStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            TableId tableId = TableId.readByte(bb);
            // pad: 1 bytes
            bb.skipBytes(1);
            long durationSec = U32.f(bb.readInt());
            long durationNsec = U32.f(bb.readInt());
            int priority = U16.f(bb.readShort());
            int idleTimeout = U16.f(bb.readShort());
            int hardTimeout = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPacketOutVer11.java353
org/projectfloodlight/openflow/protocol/ver12/OFPacketOutVer12.java353
org/projectfloodlight/openflow/protocol/ver13/OFPacketOutVer13.java353
org/projectfloodlight/openflow/protocol/ver14/OFPacketOutVer14.java353
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 13
            byte type = bb.readByte();
            if(type != (byte) 0xd)
                throw new OFParseError("Wrong type: Expected=OFType.PACKET_OUT(13), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            OFBufferId bufferId = OFBufferId.of(bb.readInt());
            OFPort inPort = OFPort.read4Bytes(bb);
            int actionsLen = U16.f(bb.readShort());
            // pad: 6 bytes
            bb.skipBytes(6);
            List<OFAction> actions = ChannelUtils.readList(bb, actionsLen, OFActionVer11.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFHelloElemVersionbitmapVer13.java163
org/projectfloodlight/openflow/protocol/ver14/OFHelloElemVersionbitmapVer14.java163
            return new OFHelloElemVersionbitmapVer13(
                    bitmaps
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFHelloElemVersionbitmap> {
        @Override
        public OFHelloElemVersionbitmap readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x1
            short type = bb.readShort();
            if(type != (short) 0x1)
                throw new OFParseError("Wrong type: Expected=0x1(0x1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<U32> bitmaps = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), U32.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropApplySetfieldMissVer13.java163
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropApplySetfieldMissVer14.java163
            return new OFTableFeaturePropApplySetfieldMissVer13(
                    oxmIds
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFTableFeaturePropApplySetfieldMiss> {
        @Override
        public OFTableFeaturePropApplySetfieldMiss readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0xf
            short type = bb.readShort();
            if(type != (short) 0xf)
                throw new OFParseError("Wrong type: Expected=0xf(0xf), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<U32> oxmIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), U32.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropApplySetfieldVer13.java163
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropApplySetfieldVer14.java163
            return new OFTableFeaturePropApplySetfieldVer13(
                    oxmIds
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFTableFeaturePropApplySetfield> {
        @Override
        public OFTableFeaturePropApplySetfield readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0xe
            short type = bb.readShort();
            if(type != (short) 0xe)
                throw new OFParseError("Wrong type: Expected=0xe(0xe), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<U32> oxmIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), U32.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropMatchVer13.java163
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropMatchVer14.java163
            return new OFTableFeaturePropMatchVer13(
                    oxmIds
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFTableFeaturePropMatch> {
        @Override
        public OFTableFeaturePropMatch readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x8
            short type = bb.readShort();
            if(type != (short) 0x8)
                throw new OFParseError("Wrong type: Expected=0x8(0x8), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<U32> oxmIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), U32.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropNextTablesMissVer13.java163
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropNextTablesMissVer14.java163
            return new OFTableFeaturePropNextTablesMissVer13(
                    nextTableIds
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFTableFeaturePropNextTablesMiss> {
        @Override
        public OFTableFeaturePropNextTablesMiss readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x3
            short type = bb.readShort();
            if(type != (short) 0x3)
                throw new OFParseError("Wrong type: Expected=0x3(0x3), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<U8> nextTableIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), U8.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropNextTablesVer13.java163
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropNextTablesVer14.java163
            return new OFTableFeaturePropNextTablesVer13(
                    nextTableIds
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFTableFeaturePropNextTables> {
        @Override
        public OFTableFeaturePropNextTables readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x2
            short type = bb.readShort();
            if(type != (short) 0x2)
                throw new OFParseError("Wrong type: Expected=0x2(0x2), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<U8> nextTableIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), U8.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropWildcardsVer13.java163
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropWildcardsVer14.java163
            return new OFTableFeaturePropWildcardsVer13(
                    oxmIds
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFTableFeaturePropWildcards> {
        @Override
        public OFTableFeaturePropWildcards readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0xa
            short type = bb.readShort();
            if(type != (short) 0xa)
                throw new OFParseError("Wrong type: Expected=0xa(0xa), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<U32> oxmIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), U32.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropWriteSetfieldMissVer13.java163
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropWriteSetfieldMissVer14.java163
            return new OFTableFeaturePropWriteSetfieldMissVer13(
                    oxmIds
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFTableFeaturePropWriteSetfieldMiss> {
        @Override
        public OFTableFeaturePropWriteSetfieldMiss readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0xd
            short type = bb.readShort();
            if(type != (short) 0xd)
                throw new OFParseError("Wrong type: Expected=0xd(0xd), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<U32> oxmIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), U32.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropWriteSetfieldVer13.java163
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropWriteSetfieldVer14.java163
            return new OFTableFeaturePropWriteSetfieldVer13(
                    oxmIds
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFTableFeaturePropWriteSetfield> {
        @Override
        public OFTableFeaturePropWriteSetfield readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0xc
            short type = bb.readShort();
            if(type != (short) 0xc)
                throw new OFParseError("Wrong type: Expected=0xc(0xc), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<U32> oxmIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), U32.READER);
FileLine
net/onrc/openvirtex/messages/actions/ver10/OVXActionOutputVer10.java114
net/onrc/openvirtex/messages/actions/ver13/OVXActionOutputVer13.java110
            	fm=OVXFactoryInst.myOVXFactory.buildOVXFlowModifyStrict(fm.getXid(), fm.getMatch(),U64.of(match.getCookie()), fm.getIdleTimeout(), fm.getHardTimeout(), fm.getPriority(), fm.getBufferId(), fm.getOutPort(), fm.getFlags(), fm.getActions());
                        
            // TODO: Check if the FM has been retrieved

            for (final OVXPort outPort : outPortList) {
                Integer linkId = 0;
                Integer flowId = 0;

                /*
                 * OVXSwitch is BigSwitch and inPort & outPort belongs to
                 * different physical switches
                 */
                if (sw instanceof OVXBigSwitch
                        && inPort.getPhysicalPort().getParentSwitch() != outPort
                        .getPhysicalPort().getParentSwitch()) {
                    // Retrieve the route between the two OVXPorts
                    final OVXBigSwitch bigSwitch = (OVXBigSwitch) outPort
                            .getParentSwitch();
                    final SwitchRoute route = bigSwitch.getRoute(inPort,
                            outPort);
                    if (route == null) {
                        this.log.error(
                                "Cannot retrieve the bigswitch internal route between ports {} {}, dropping message",
                                inPort, outPort);
                        throw new DroppedMessageException(
                                "No such internal route");
                    }

                    // If the inPort belongs to an OVXLink, add rewrite actions
                    // to unset the packet link fields
                    if (inPort.isLink()) {
                        final OVXPort dstPort = vnet.getNeighborPort(inPort);
                        final OVXLink link = inPort.getLink().getOutLink();
                        if (link != null
                                && (!match.isFullyWildcarded(MatchField.ETH_DST) || !match.isFullyWildcarded(MatchField.ETH_SRC))) {
                            try {
                                flowId = vnet.getFlowManager().getFlowId(
                                        match.getEthSrc().getBytes(),
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFConfigFlagsSerializerVer10.java41
org/projectfloodlight/openflow/protocol/ver11/OFConfigFlagsSerializerVer11.java42
org/projectfloodlight/openflow/protocol/ver12/OFConfigFlagsSerializerVer12.java42
org/projectfloodlight/openflow/protocol/ver13/OFConfigFlagsSerializerVer13.java41
org/projectfloodlight/openflow/protocol/ver14/OFConfigFlagsSerializerVer14.java41
    public static Set<OFConfigFlags> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFConfigFlags> set) {
        bb.writeShort(toWireValue(set));
    }

    public static void putTo(Set<OFConfigFlags> set, PrimitiveSink sink) {
        sink.putShort(toWireValue(set));
    }


    public static Set<OFConfigFlags> ofWireValue(short val) {
        EnumSet<OFConfigFlags> set = EnumSet.noneOf(OFConfigFlags.class);

        if((val & FRAG_MASK_VAL) == FRAG_NORMAL_VAL)
            set.add(OFConfigFlags.FRAG_NORMAL);
        else if((val & FRAG_MASK_VAL) == FRAG_DROP_VAL)
            set.add(OFConfigFlags.FRAG_DROP);
        else if((val & FRAG_MASK_VAL) == FRAG_REASM_VAL)
            set.add(OFConfigFlags.FRAG_REASM);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsRequestVer10.java119
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsRequestVer10.java198
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }


        @Override
        public OFPortStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFErrorTypeSerializerVer11.java44
org/projectfloodlight/openflow/protocol/ver12/OFErrorTypeSerializerVer12.java46
org/projectfloodlight/openflow/protocol/ver13/OFErrorTypeSerializerVer13.java48
org/projectfloodlight/openflow/protocol/ver14/OFErrorTypeSerializerVer14.java52
    public static OFErrorType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFErrorType e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFErrorType e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFErrorType ofWireValue(short val) {
        switch(val) {
            case HELLO_FAILED_VAL:
                return OFErrorType.HELLO_FAILED;
            case BAD_REQUEST_VAL:
                return OFErrorType.BAD_REQUEST;
            case BAD_ACTION_VAL:
                return OFErrorType.BAD_ACTION;
            case BAD_INSTRUCTION_VAL:
                return OFErrorType.BAD_INSTRUCTION;
            case BAD_MATCH_VAL:
                return OFErrorType.BAD_MATCH;
            case FLOW_MOD_FAILED_VAL:
                return OFErrorType.FLOW_MOD_FAILED;
            case GROUP_MOD_FAILED_VAL:
                return OFErrorType.GROUP_MOD_FAILED;
            case PORT_MOD_FAILED_VAL:
                return OFErrorType.PORT_MOD_FAILED;
            case TABLE_MOD_FAILED_VAL:
                return OFErrorType.TABLE_MOD_FAILED;
            case QUEUE_OP_FAILED_VAL:
                return OFErrorType.QUEUE_OP_FAILED;
            case SWITCH_CONFIG_FAILED_VAL:
                return OFErrorType.SWITCH_CONFIG_FAILED;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsRequestVer11.java119
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsRequestVer11.java198
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsRequest.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }


        @Override
        public OFGroupStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsRequestVer11.java119
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsRequestVer11.java198
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }


        @Override
        public OFPortStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsRequestVer12.java119
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsRequestVer12.java198
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsRequest.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }


        @Override
        public OFGroupStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsRequestVer12.java119
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsRequestVer12.java198
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }


        @Override
        public OFPortStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsEntryVer13.java166
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsEntryVer14.java166
                return new OFBsnGentableEntryDescStatsEntryVer13(
                    checksum,
                    key,
                    value
                );
        }

    }

    static class Builder implements OFBsnGentableEntryDescStatsEntry.Builder {
        // OF message fields
        private boolean checksumSet;
        private U128 checksum;
        private boolean keySet;
        private List<OFBsnTlv> key;
        private boolean valueSet;
        private List<OFBsnTlv> value;

    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryDescStatsEntry.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryDescStatsEntry.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getValue() {
        return value;
    }

    @Override
    public OFBsnGentableEntryDescStatsEntry.Builder setValue(List<OFBsnTlv> value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java661
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java661
        public void write(ChannelBuffer bb, OFBsnLacpStatsEntryVer13 message) {
            message.portNo.write4Bytes(bb);
            bb.writeShort(U16.t(message.actorSysPriority));
            message.actorSysMac.write6Bytes(bb);
            bb.writeShort(U16.t(message.actorPortPriority));
            bb.writeShort(U16.t(message.actorPortNum));
            bb.writeShort(U16.t(message.actorKey));
            bb.writeByte(U8.t(message.convergenceStatus));
            // pad: 1 bytes
            bb.writeZero(1);
            bb.writeShort(U16.t(message.partnerSysPriority));
            message.partnerSysMac.write6Bytes(bb);
            bb.writeShort(U16.t(message.partnerPortPriority));
            bb.writeShort(U16.t(message.partnerPortNum));
            bb.writeShort(U16.t(message.partnerKey));
            // pad: 2 bytes
            bb.writeZero(2);


        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFBsnLacpStatsEntryVer13(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsRequestVer13.java198
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsRequest.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }


        @Override
        public OFGroupStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsRequestVer13.java116
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsRequestVer13.java193
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterConfigStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_CONFIG;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterConfigStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterConfigStatsRequest.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }


        @Override
        public OFMeterConfigStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesStatsReplyVer13.java114
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesStatsReplyVer13.java193
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterFeaturesStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_FEATURES;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterFeaturesStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFMeterFeatures getFeatures() {
        return features;
    }

    @Override
    public OFMeterFeaturesStatsReply.Builder setFeatures(OFMeterFeatures features) {
        this.features = features;
        this.featuresSet = true;
        return this;
    }


        @Override
        public OFMeterFeaturesStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsRequestVer13.java116
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsRequestVer13.java193
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterStatsRequest.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }


        @Override
        public OFMeterStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsRequestVer13.java198
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }


        @Override
        public OFPortStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesVer13.java239
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesVer14.java239
    }



        @Override
        public OFTableFeatures build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                String name = this.nameSet ? this.name : parentMessage.name;
                if(name == null)
                    throw new NullPointerException("Property name must not be null");
                U64 metadataMatch = this.metadataMatchSet ? this.metadataMatch : parentMessage.metadataMatch;
                if(metadataMatch == null)
                    throw new NullPointerException("Property metadataMatch must not be null");
                U64 metadataWrite = this.metadataWriteSet ? this.metadataWrite : parentMessage.metadataWrite;
                if(metadataWrite == null)
                    throw new NullPointerException("Property metadataWrite must not be null");
                long config = this.configSet ? this.config : parentMessage.config;
                long maxEntries = this.maxEntriesSet ? this.maxEntries : parentMessage.maxEntries;
                List<OFTableFeatureProp> properties = this.propertiesSet ? this.properties : parentMessage.properties;
                if(properties == null)
                    throw new NullPointerException("Property properties must not be null");

                //
                return new OFTableFeaturesVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsRequestVer14.java119
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsRequestVer14.java198
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsRequest.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }


        @Override
        public OFGroupStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsRequestVer14.java116
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsRequestVer14.java193
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterConfigStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_CONFIG;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterConfigStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterConfigStatsRequest.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }


        @Override
        public OFMeterConfigStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesStatsReplyVer14.java114
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesStatsReplyVer14.java193
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterFeaturesStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_FEATURES;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterFeaturesStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFMeterFeatures getFeatures() {
        return features;
    }

    @Override
    public OFMeterFeaturesStatsReply.Builder setFeatures(OFMeterFeatures features) {
        this.features = features;
        this.featuresSet = true;
        return this;
    }


        @Override
        public OFMeterFeaturesStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsRequestVer14.java116
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsRequestVer14.java193
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterStatsRequest.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }


        @Override
        public OFMeterStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsRequestVer14.java119
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsRequestVer14.java198
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }


        @Override
        public OFPortStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
net/onrc/openvirtex/messages/ver10/OVXPortModVer10.java41
net/onrc/openvirtex/messages/ver13/OVXPortModVer13.java37
    protected OVXPortModVer10(long xid, OFPort portNo, MacAddress hwAddr,
			long config, long mask, long advertise) {
		super(xid, portNo, hwAddr, config, mask, advertise);
		// TODO Auto-generated constructor stub
	}

	@Override
    public void devirtualize(final OVXSwitch sw) {
        // TODO Auto-generated method stub
        // assume port numbers are virtual
        final OVXPort p = sw.getPort(this.getPortNo().getShortPortNumber());
        if (p == null) {
        	 ChannelBuffer buf = ChannelBuffers.dynamicBuffer();
         	this.writeTo(buf);
         	byte[] byte_msg=buf.array();
         	OFErrorCauseData offendingMsg=OFErrorCauseData.of(byte_msg, OFVersion.OF_10);
         	
             final OVXErrorMsg err =(OVXErrorMsg) OVXFactoryInst.myOVXFactory.buildOVXBadRequestErrorMsg(this.getXid(),OFBadRequestCode.EPERM,offendingMsg);
        	
            sw.sendMsg(err, sw);
            return;
        }
        // set physical port number - anything else to do?
        final PhysicalPort phyPort = p.getPhysicalPort();
        this.portNo=phyPort.getPortNo();

        OVXMessageUtil.translateXid(this, p);
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBadActionErrorMsgVer10.java266
org/projectfloodlight/openflow/protocol/ver10/OFBadRequestErrorMsgVer10.java266
org/projectfloodlight/openflow/protocol/ver10/OFFlowModFailedErrorMsgVer10.java266
org/projectfloodlight/openflow/protocol/ver10/OFHelloFailedErrorMsgVer10.java266
org/projectfloodlight/openflow/protocol/ver10/OFPortModFailedErrorMsgVer10.java266
org/projectfloodlight/openflow/protocol/ver10/OFQueueOpFailedErrorMsgVer10.java266
        public OFBadActionErrorMsg readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 1
            byte version = bb.readByte();
            if(version != (byte) 0x1)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 2
            short errType = bb.readShort();
            if(errType != (short) 0x2)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwClearDataReplyVer10.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwClearDataReplyVer11.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwClearDataReplyVer12.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwClearDataReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwClearDataReplyVer14.java238
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x16L
            int subtype = bb.readInt();
            if(subtype != 0x16)
                throw new OFParseError("Wrong subtype: Expected=0x16L(0x16L), got="+subtype);
            long status = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableGetReplyVer10.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableGetReplyVer11.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableGetReplyVer12.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableGetReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableGetReplyVer14.java238
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x14L
            int subtype = bb.readInt();
            if(subtype != 0x14)
                throw new OFParseError("Wrong subtype: Expected=0x14L(0x14L), got="+subtype);
            long enabled = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableSetRequestVer10.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableSetRequestVer11.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableSetRequestVer12.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableSetRequestVer13.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableSetRequestVer14.java238
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x12L
            int subtype = bb.readInt();
            if(subtype != 0x12)
                throw new OFParseError("Wrong subtype: Expected=0x12L(0x12L), got="+subtype);
            long enable = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionReplyVer10.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionReplyVer11.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionReplyVer12.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionReplyVer14.java238
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x19L
            int subtype = bb.readInt();
            if(subtype != 0x19)
                throw new OFParseError("Wrong subtype: Expected=0x19L(0x19L), got="+subtype);
            long status = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortRemoveReplyVer10.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortRemoveReplyVer11.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortRemoveReplyVer12.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortRemoveReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortRemoveReplyVer14.java238
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x1aL
            int subtype = bb.readInt();
            if(subtype != 0x1a)
                throw new OFParseError("Wrong subtype: Expected=0x1aL(0x1aL), got="+subtype);
            long status = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortRemoveRequestVer10.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortRemoveRequestVer11.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortRemoveRequestVer12.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortRemoveRequestVer13.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortRemoveRequestVer14.java238
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x11L
            int subtype = bb.readInt();
            if(subtype != 0x11)
                throw new OFParseError("Wrong subtype: Expected=0x11L(0x11L), got="+subtype);
            long vportNo = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsReplyVer10.java273
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsReplyVer10.java273
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsReplyVer10.java273
        public OFFlowStatsReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 1
            byte version = bb.readByte();
            if(version != (byte) 0x1)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 17
            byte type = bb.readByte();
            if(type != (byte) 0x11)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(17), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 1
            short statsType = bb.readShort();
            if(statsType != (short) 0x1)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFActionOutputVer11.java198
org/projectfloodlight/openflow/protocol/ver12/OFActionOutputVer12.java198
org/projectfloodlight/openflow/protocol/ver13/OFActionOutputVer13.java198
org/projectfloodlight/openflow/protocol/ver14/OFActionOutputVer14.java198
            return new OFActionOutputVer11(
                    port,
                    maxLen
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionOutput> {
        @Override
        public OFActionOutput readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0
            short type = bb.readShort();
            if(type != (short) 0x0)
                throw new OFParseError("Wrong type: Expected=OFActionType.OUTPUT(0), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            OFPort port = OFPort.read4Bytes(bb);
            int maxLen = U16.f(bb.readShort());
            // pad: 6 bytes
            bb.skipBytes(6);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBadActionErrorMsgVer11.java266
org/projectfloodlight/openflow/protocol/ver11/OFBadInstructionErrorMsgVer11.java266
org/projectfloodlight/openflow/protocol/ver11/OFBadMatchErrorMsgVer11.java266
org/projectfloodlight/openflow/protocol/ver11/OFBadRequestErrorMsgVer11.java266
org/projectfloodlight/openflow/protocol/ver11/OFFlowModFailedErrorMsgVer11.java266
org/projectfloodlight/openflow/protocol/ver11/OFGroupModFailedErrorMsgVer11.java266
org/projectfloodlight/openflow/protocol/ver11/OFHelloFailedErrorMsgVer11.java266
org/projectfloodlight/openflow/protocol/ver11/OFPortModFailedErrorMsgVer11.java266
org/projectfloodlight/openflow/protocol/ver11/OFQueueOpFailedErrorMsgVer11.java266
org/projectfloodlight/openflow/protocol/ver11/OFSwitchConfigFailedErrorMsgVer11.java266
org/projectfloodlight/openflow/protocol/ver11/OFTableModFailedErrorMsgVer11.java266
        public OFBadActionErrorMsg readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 2
            byte version = bb.readByte();
            if(version != (byte) 0x2)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 2
            short errType = bb.readShort();
            if(errType != (short) 0x2)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreVer11.java38
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreVer12.java38
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreVer13.java38
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreVer14.java38
    final static int LENGTH = 64;

        private final static Set<OFBsnVportL2GreFlags> DEFAULT_FLAGS = ImmutableSet.<OFBsnVportL2GreFlags>of();
        private final static OFPort DEFAULT_PORT_NO = OFPort.ANY;
        private final static OFPort DEFAULT_LOOPBACK_PORT_NO = OFPort.ANY;
        private final static MacAddress DEFAULT_LOCAL_MAC = MacAddress.NONE;
        private final static MacAddress DEFAULT_NH_MAC = MacAddress.NONE;
        private final static IPv4Address DEFAULT_SRC_IP = IPv4Address.NONE;
        private final static IPv4Address DEFAULT_DST_IP = IPv4Address.NONE;
        private final static short DEFAULT_DSCP = (short) 0x0;
        private final static short DEFAULT_TTL = (short) 0x0;
        private final static long DEFAULT_VPN = 0x0L;
        private final static long DEFAULT_RATE_LIMIT = 0x0L;
        private final static String DEFAULT_IF_NAME = "";

    // OF message fields
    private final Set<OFBsnVportL2GreFlags> flags;
    private final OFPort portNo;
    private final OFPort loopbackPortNo;
    private final MacAddress localMac;
    private final MacAddress nhMac;
    private final IPv4Address srcIp;
    private final IPv4Address dstIp;
    private final short dscp;
    private final short ttl;
    private final long vpn;
    private final long rateLimit;
    private final String ifName;
//
    // Immutable default instance
    final static OFBsnVportL2GreVer11 DEFAULT = new OFBsnVportL2GreVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsReplyVer11.java273
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsReplyVer11.java273
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsReplyVer11.java273
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsReplyVer11.java273
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsReplyVer11.java273
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsReplyVer11.java273
        public OFFlowStatsReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 2
            byte version = bb.readByte();
            if(version != (byte) 0x2)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 1
            short statsType = bb.readShort();
            if(statsType != (short) 0x1)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupAddVer11.java313
org/projectfloodlight/openflow/protocol/ver11/OFGroupDeleteVer11.java313
org/projectfloodlight/openflow/protocol/ver11/OFGroupModifyVer11.java313
        public OFGroupAdd readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 2
            byte version = bb.readByte();
            if(version != (byte) 0x2)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 15
            byte type = bb.readByte();
            if(type != (byte) 0xf)
                throw new OFParseError("Wrong type: Expected=OFType.GROUP_MOD(15), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property command == 0
            short command = bb.readShort();
            if(command != (short) 0x0)
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java496
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java496
        public OFAggregateStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 3
            byte version = bb.readByte();
            if(version != (byte) 0x3)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 2
            short statsType = bb.readShort();
            if(statsType != (short) 0x2)
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBadActionErrorMsgVer12.java266
org/projectfloodlight/openflow/protocol/ver12/OFBadInstructionErrorMsgVer12.java266
org/projectfloodlight/openflow/protocol/ver12/OFBadMatchErrorMsgVer12.java266
org/projectfloodlight/openflow/protocol/ver12/OFBadRequestErrorMsgVer12.java266
org/projectfloodlight/openflow/protocol/ver12/OFExperimenterErrorMsgVer12.java301
org/projectfloodlight/openflow/protocol/ver12/OFFlowModFailedErrorMsgVer12.java266
org/projectfloodlight/openflow/protocol/ver12/OFGroupModFailedErrorMsgVer12.java266
org/projectfloodlight/openflow/protocol/ver12/OFHelloFailedErrorMsgVer12.java266
org/projectfloodlight/openflow/protocol/ver12/OFPortModFailedErrorMsgVer12.java266
org/projectfloodlight/openflow/protocol/ver12/OFQueueOpFailedErrorMsgVer12.java266
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestFailedErrorMsgVer12.java266
org/projectfloodlight/openflow/protocol/ver12/OFSwitchConfigFailedErrorMsgVer12.java266
org/projectfloodlight/openflow/protocol/ver12/OFTableModFailedErrorMsgVer12.java266
        public OFBadActionErrorMsg readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 3
            byte version = bb.readByte();
            if(version != (byte) 0x3)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 2
            short errType = bb.readShort();
            if(errType != (short) 0x2)
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsReplyVer12.java273
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsReplyVer12.java273
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsReplyVer12.java273
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsReplyVer12.java273
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsReplyVer12.java273
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsReplyVer12.java273
        public OFFlowStatsReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 3
            byte version = bb.readByte();
            if(version != (byte) 0x3)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 1
            short statsType = bb.readShort();
            if(statsType != (short) 0x1)
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupAddVer12.java313
org/projectfloodlight/openflow/protocol/ver12/OFGroupDeleteVer12.java313
org/projectfloodlight/openflow/protocol/ver12/OFGroupModifyVer12.java313
        public OFGroupAdd readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 3
            byte version = bb.readByte();
            if(version != (byte) 0x3)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 15
            byte type = bb.readByte();
            if(type != (byte) 0xf)
                throw new OFParseError("Wrong type: Expected=OFType.GROUP_MOD(15), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property command == 0
            short command = bb.readShort();
            if(command != (short) 0x0)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java496
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsRequestVer13.java348
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsRequestVer13.java512
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java496
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsRequestVer13.java273
        public OFAggregateStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 2
            short statsType = bb.readShort();
            if(statsType != (short) 0x2)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBadActionErrorMsgVer13.java266
org/projectfloodlight/openflow/protocol/ver13/OFBadInstructionErrorMsgVer13.java266
org/projectfloodlight/openflow/protocol/ver13/OFBadMatchErrorMsgVer13.java266
org/projectfloodlight/openflow/protocol/ver13/OFBadRequestErrorMsgVer13.java266
org/projectfloodlight/openflow/protocol/ver13/OFExperimenterErrorMsgVer13.java301
org/projectfloodlight/openflow/protocol/ver13/OFFlowModFailedErrorMsgVer13.java266
org/projectfloodlight/openflow/protocol/ver13/OFGroupModFailedErrorMsgVer13.java266
org/projectfloodlight/openflow/protocol/ver13/OFHelloFailedErrorMsgVer13.java266
org/projectfloodlight/openflow/protocol/ver13/OFMeterModFailedErrorMsgVer13.java266
org/projectfloodlight/openflow/protocol/ver13/OFPortModFailedErrorMsgVer13.java266
org/projectfloodlight/openflow/protocol/ver13/OFQueueOpFailedErrorMsgVer13.java266
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestFailedErrorMsgVer13.java266
org/projectfloodlight/openflow/protocol/ver13/OFSwitchConfigFailedErrorMsgVer13.java266
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesFailedErrorMsgVer13.java266
org/projectfloodlight/openflow/protocol/ver13/OFTableModFailedErrorMsgVer13.java266
        public OFBadActionErrorMsg readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 2
            short errType = bb.readShort();
            if(errType != (short) 0x2)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsReplyVer13.java341
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsReplyVer13.java341
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortsReplyVer13.java303
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsReplyVer13.java273
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsReplyVer13.java273
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsReplyVer13.java273
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsReplyVer13.java273
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsReplyVer13.java273
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsReplyVer13.java273
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsReplyVer13.java273
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsReplyVer13.java273
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsReplyVer13.java273
        public OFBsnDebugCounterDescStatsReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableGetReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableGetReplyVer14.java238
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x27L
            int subtype = bb.readInt();
            if(subtype != 0x27)
                throw new OFParseError("Wrong subtype: Expected=0x27L(0x27L), got="+subtype);
            long enabled = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableSetRequestVer13.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableSetRequestVer14.java238
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x24L
            int subtype = bb.readInt();
            if(subtype != 0x24)
                throw new OFParseError("Wrong subtype: Expected=0x24L(0x24L), got="+subtype);
            long enable = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetAuxCxnsRequestVer13.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetAuxCxnsRequestVer14.java238
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x3aL
            int subtype = bb.readInt();
            if(subtype != 0x3a)
                throw new OFParseError("Wrong subtype: Expected=0x3aL(0x3aL), got="+subtype);
            long numAux = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetSwitchPipelineReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetSwitchPipelineReplyVer14.java238
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x36L
            int subtype = bb.readInt();
            if(subtype != 0x36)
                throw new OFParseError("Wrong subtype: Expected=0x36L(0x36L), got="+subtype);
            long status = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnStatsRequestVer13.java38
org/projectfloodlight/openflow/protocol/ver13/OFCalientStatsRequestVer13.java38
        public OFBsnStatsRequest<?> readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            OFStatsRequestFlagsSerializerVer13.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTimeReplyVer13.java245
org/projectfloodlight/openflow/protocol/ver14/OFBsnTimeReplyVer14.java245
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x2dL
            int subtype = bb.readInt();
            if(subtype != 0x2d)
                throw new OFParseError("Wrong subtype: Expected=0x2dL(0x2dL), got="+subtype);
            U64 timeMs = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFeaturesReplyVer13.java414
org/projectfloodlight/openflow/protocol/ver14/OFFeaturesReplyVer14.java414
            throw new UnsupportedOperationException("Property actions not supported in version 1.3");
    }
    @Override
    public OFAuxId getAuxiliaryId() {
        return auxiliaryId;
    }

    @Override
    public OFFeaturesReply.Builder setAuxiliaryId(OFAuxId auxiliaryId) {
        this.auxiliaryId = auxiliaryId;
        this.auxiliaryIdSet = true;
        return this;
    }
//
        @Override
        public OFFeaturesReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            DatapathId datapathId = this.datapathIdSet ? this.datapathId : DEFAULT_DATAPATH_ID;
            if(datapathId == null)
                throw new NullPointerException("Property datapathId must not be null");
            long nBuffers = this.nBuffersSet ? this.nBuffers : DEFAULT_N_BUFFERS;
            short nTables = this.nTablesSet ? this.nTables : DEFAULT_N_TABLES;
            OFAuxId auxiliaryId = this.auxiliaryIdSet ? this.auxiliaryId : DEFAULT_AUXILIARY_ID;
            if(auxiliaryId == null)
                throw new NullPointerException("Property auxiliaryId must not be null");
            Set<OFCapabilities> capabilities = this.capabilitiesSet ? this.capabilities : DEFAULT_CAPABILITIES;
            if(capabilities == null)
                throw new NullPointerException("Property capabilities must not be null");
            long reserved = this.reservedSet ? this.reserved : DEFAULT_RESERVED;


            return new OFFeaturesReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupAddVer13.java313
org/projectfloodlight/openflow/protocol/ver13/OFGroupDeleteVer13.java313
org/projectfloodlight/openflow/protocol/ver13/OFGroupModifyVer13.java313
        public OFGroupAdd readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 15
            byte type = bb.readByte();
            if(type != (byte) 0xf)
                throw new OFParseError("Wrong type: Expected=OFType.GROUP_MOD(15), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property command == 0
            short command = bb.readShort();
            if(command != (short) 0x0)
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java496
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsRequestVer14.java348
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java496
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsRequestVer14.java273
        public OFAggregateStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 2
            short statsType = bb.readShort();
            if(statsType != (short) 0x2)
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFAsyncConfigFailedErrorMsgVer14.java266
org/projectfloodlight/openflow/protocol/ver14/OFBadActionErrorMsgVer14.java266
org/projectfloodlight/openflow/protocol/ver14/OFBadInstructionErrorMsgVer14.java266
org/projectfloodlight/openflow/protocol/ver14/OFBadMatchErrorMsgVer14.java266
org/projectfloodlight/openflow/protocol/ver14/OFBadPropertyErrorMsgVer14.java266
org/projectfloodlight/openflow/protocol/ver14/OFBadRequestErrorMsgVer14.java266
org/projectfloodlight/openflow/protocol/ver14/OFBundleFailedErrorMsgVer14.java266
org/projectfloodlight/openflow/protocol/ver14/OFExperimenterErrorMsgVer14.java301
org/projectfloodlight/openflow/protocol/ver14/OFFlowModFailedErrorMsgVer14.java266
org/projectfloodlight/openflow/protocol/ver14/OFFlowMonitorFailedErrorMsgVer14.java266
org/projectfloodlight/openflow/protocol/ver14/OFGroupModFailedErrorMsgVer14.java266
org/projectfloodlight/openflow/protocol/ver14/OFHelloFailedErrorMsgVer14.java266
org/projectfloodlight/openflow/protocol/ver14/OFMeterModFailedErrorMsgVer14.java266
org/projectfloodlight/openflow/protocol/ver14/OFPortModFailedErrorMsgVer14.java266
org/projectfloodlight/openflow/protocol/ver14/OFQueueOpFailedErrorMsgVer14.java266
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestFailedErrorMsgVer14.java266
org/projectfloodlight/openflow/protocol/ver14/OFSwitchConfigFailedErrorMsgVer14.java266
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesFailedErrorMsgVer14.java266
org/projectfloodlight/openflow/protocol/ver14/OFTableModFailedErrorMsgVer14.java266
        public OFAsyncConfigFailedErrorMsg readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 15
            short errType = bb.readShort();
            if(errType != (short) 0xf)
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsReplyVer14.java303
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsReplyVer14.java273
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsReplyVer14.java273
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsReplyVer14.java273
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsReplyVer14.java273
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsReplyVer14.java273
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsReplyVer14.java273
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsReplyVer14.java273
org/projectfloodlight/openflow/protocol/ver14/OFQueueDescStatsReplyVer14.java273
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsReplyVer14.java273
org/projectfloodlight/openflow/protocol/ver14/OFTableDescStatsReplyVer14.java273
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsReplyVer14.java273
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsReplyVer14.java273
        public OFBsnDebugCounterDescStatsReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFGroupAddVer14.java313
org/projectfloodlight/openflow/protocol/ver14/OFGroupDeleteVer14.java313
org/projectfloodlight/openflow/protocol/ver14/OFGroupModifyVer14.java313
        public OFGroupAdd readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 15
            byte type = bb.readByte();
            if(type != (byte) 0xf)
                throw new OFParseError("Wrong type: Expected=OFType.GROUP_MOD(15), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property command == 0
            short command = bb.readShort();
            if(command != (short) 0x0)
FileLine
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteStrictVer10.java208
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteVer10.java208
net/onrc/openvirtex/messages/ver10/OVXFlowModifyStrictVer10.java208
net/onrc/openvirtex/messages/ver10/OVXFlowModifyVer10.java208
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteStrictVer13.java184
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteVer13.java188
net/onrc/openvirtex/messages/ver13/OVXFlowModifyStrictVer13.java186
net/onrc/openvirtex/messages/ver13/OVXFlowModifyVer13.java190
        this.match=((OFMatchV1)this.getMatch()).createBuilder().setInPort(OFPort.ofShort(inPort.getPhysicalPortNumber())).build();
        OVXMessageUtil.translateXid(this, inPort);
        try {
            if (inPort.isEdge()) {
                this.prependRewriteActions();
            } else {
                IPMapper.rewriteMatch(sw.getTenantId(), this.match);
                // TODO: Verify why we have two send points... and if this is
                // the right place for the match rewriting
                if (inPort != null
                        && inPort.isLink()
                        && (!this.getMatch().isFullyWildcarded(MatchField.ETH_DST) || !this.getMatch().isFullyWildcarded(MatchField.ETH_SRC))) {
                    // rewrite the OFMatch with the values of the link
                    OVXPort dstPort = sw.getMap()
                            .getVirtualNetwork(sw.getTenantId())
                            .getNeighborPort(inPort);
                    OVXLink link = sw.getMap()
                            .getVirtualNetwork(sw.getTenantId())
                            .getLink(dstPort, inPort);
                    if (inPort != null && link != null) {
                        try {
                            Integer flowId = sw
                                    .getMap()
                                    .getVirtualNetwork(sw.getTenantId())
                                    .getFlowManager()
                                    .getFlowId(((OFMatchV1)this.match).getEthSrc().getBytes(),
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBucketVer11.java119
org/projectfloodlight/openflow/protocol/ver12/OFBucketVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFBucketVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFBucketVer14.java119
        BuilderWithParent(OFBucketVer11 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public int getWeight() {
        return weight;
    }

    @Override
    public OFBucket.Builder setWeight(int weight) {
        this.weight = weight;
        this.weightSet = true;
        return this;
    }
    @Override
    public OFPort getWatchPort() {
        return watchPort;
    }

    @Override
    public OFBucket.Builder setWatchPort(OFPort watchPort) {
        this.watchPort = watchPort;
        this.watchPortSet = true;
        return this;
    }
    @Override
    public OFGroup getWatchGroup() {
        return watchGroup;
    }

    @Override
    public OFBucket.Builder setWatchGroup(OFGroup watchGroup) {
        this.watchGroup = watchGroup;
        this.watchGroupSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFBucket.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedReasonSerializerVer11.java30
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedReasonSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedReasonSerializerVer13.java30
public class OFFlowRemovedReasonSerializerVer11 {

    public final static byte IDLE_TIMEOUT_VAL = (byte) 0x0;
    public final static byte HARD_TIMEOUT_VAL = (byte) 0x1;
    public final static byte DELETE_VAL = (byte) 0x2;
    public final static byte GROUP_DELETE_VAL = (byte) 0x3;

    public static OFFlowRemovedReason readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFFlowRemovedReason e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFFlowRemovedReason e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFFlowRemovedReason ofWireValue(byte val) {
        switch(val) {
            case IDLE_TIMEOUT_VAL:
                return OFFlowRemovedReason.IDLE_TIMEOUT;
            case HARD_TIMEOUT_VAL:
                return OFFlowRemovedReason.HARD_TIMEOUT;
            case DELETE_VAL:
                return OFFlowRemovedReason.DELETE;
            case GROUP_DELETE_VAL:
                return OFFlowRemovedReason.GROUP_DELETE;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFFlowRemovedReason in version 1.1: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupTypeSerializerVer11.java30
org/projectfloodlight/openflow/protocol/ver12/OFGroupTypeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFGroupTypeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFGroupTypeSerializerVer14.java30
public class OFGroupTypeSerializerVer11 {

    public final static byte ALL_VAL = (byte) 0x0;
    public final static byte SELECT_VAL = (byte) 0x1;
    public final static byte INDIRECT_VAL = (byte) 0x2;
    public final static byte FF_VAL = (byte) 0x3;

    public static OFGroupType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFGroupType e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFGroupType e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFGroupType ofWireValue(byte val) {
        switch(val) {
            case ALL_VAL:
                return OFGroupType.ALL;
            case SELECT_VAL:
                return OFGroupType.SELECT;
            case INDIRECT_VAL:
                return OFGroupType.INDIRECT;
            case FF_VAL:
                return OFGroupType.FF;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFGroupType in version 1.1: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowModFlagsSerializerVer12.java40
org/projectfloodlight/openflow/protocol/ver13/OFFlowModFlagsSerializerVer13.java43
org/projectfloodlight/openflow/protocol/ver14/OFFlowModFlagsSerializerVer14.java43
    public static Set<OFFlowModFlags> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFFlowModFlags> set) {
        bb.writeShort(toWireValue(set));
    }

    public static void putTo(Set<OFFlowModFlags> set, PrimitiveSink sink) {
        sink.putShort(toWireValue(set));
    }


    public static Set<OFFlowModFlags> ofWireValue(short val) {
        EnumSet<OFFlowModFlags> set = EnumSet.noneOf(OFFlowModFlags.class);

        if((val & SEND_FLOW_REM_VAL) != 0)
            set.add(OFFlowModFlags.SEND_FLOW_REM);
        if((val & CHECK_OVERLAP_VAL) != 0)
            set.add(OFFlowModFlags.CHECK_OVERLAP);
        if((val & RESET_COUNTS_VAL) != 0)
            set.add(OFFlowModFlags.RESET_COUNTS);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java106
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_REMOVED;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public short getReason() {
        return reason;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public Match getMatch() {
        return match;
    }



    public OFFlowRemoved.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFFlowRemoved.Builder {
        final OFFlowRemovedVer12 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmClassSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFOxmClassSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFOxmClassSerializerVer14.java30
public class OFOxmClassSerializerVer12 {

    public final static short NXM_0_VAL = (short) 0x0;
    public final static short NXM_1_VAL = (short) 0x1;
    public final static short OPENFLOW_BASIC_VAL = (short) 0x8000;
    public final static short EXPERIMENTER_VAL = (short) 0xffff;

    public static OFOxmClass readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFOxmClass e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFOxmClass e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFOxmClass ofWireValue(short val) {
        switch(val) {
            case NXM_0_VAL:
                return OFOxmClass.NXM_0;
            case NXM_1_VAL:
                return OFOxmClass.NXM_1;
            case OPENFLOW_BASIC_VAL:
                return OFOxmClass.OPENFLOW_BASIC;
            case EXPERIMENTER_VAL:
                return OFOxmClass.EXPERIMENTER;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFOxmClass in version 1.2: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterSerializerVer14.java30
public class OFBsnVlanCounterSerializerVer13 {

    public final static byte BSN_VLAN_COUNTER_RX_BYTES_VAL = (byte) 0x0;
    public final static byte BSN_VLAN_COUNTER_RX_PACKETS_VAL = (byte) 0x1;
    public final static byte BSN_VLAN_COUNTER_TX_BYTES_VAL = (byte) 0x2;
    public final static byte BSN_VLAN_COUNTER_TX_PACKETS_VAL = (byte) 0x3;

    public static OFBsnVlanCounter readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBsnVlanCounter e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFBsnVlanCounter e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFBsnVlanCounter ofWireValue(byte val) {
        switch(val) {
            case BSN_VLAN_COUNTER_RX_BYTES_VAL:
                return OFBsnVlanCounter.BSN_VLAN_COUNTER_RX_BYTES;
            case BSN_VLAN_COUNTER_RX_PACKETS_VAL:
                return OFBsnVlanCounter.BSN_VLAN_COUNTER_RX_PACKETS;
            case BSN_VLAN_COUNTER_TX_BYTES_VAL:
                return OFBsnVlanCounter.BSN_VLAN_COUNTER_TX_BYTES;
            case BSN_VLAN_COUNTER_TX_PACKETS_VAL:
                return OFBsnVlanCounter.BSN_VLAN_COUNTER_TX_PACKETS;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFBsnVlanCounter in version 1.3: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFMeterSerializerVer14.java30
public class OFMeterSerializerVer13 {

    public final static int MAX_VAL = (int) 0xffff0000;
    public final static int SLOWPATH_VAL = (int) 0xfffffffd;
    public final static int CONTROLLER_VAL = (int) 0xfffffffe;
    public final static int ALL_VAL = (int) 0xffffffff;

    public static OFMeter readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFMeter e) {
        bb.writeInt(toWireValue(e));
    }

    public static void putTo(OFMeter e, PrimitiveSink sink) {
        sink.putInt(toWireValue(e));
    }

    public static OFMeter ofWireValue(int val) {
        switch(val) {
            case MAX_VAL:
                return OFMeter.MAX;
            case SLOWPATH_VAL:
                return OFMeter.SLOWPATH;
            case CONTROLLER_VAL:
                return OFMeter.CONTROLLER;
            case ALL_VAL:
                return OFMeter.ALL;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFMeter in version 1.3: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFeaturesReplyVer10.java475
org/projectfloodlight/openflow/protocol/ver11/OFFeaturesReplyVer11.java468
org/projectfloodlight/openflow/protocol/ver12/OFFeaturesReplyVer12.java468
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 6
            byte type = bb.readByte();
            if(type != (byte) 0x6)
                throw new OFParseError("Wrong type: Expected=OFType.FEATURES_REPLY(6), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            DatapathId datapathId = DatapathId.of(bb.readLong());
            long nBuffers = U32.f(bb.readInt());
            short nTables = U8.f(bb.readByte());
            // pad: 3 bytes
            bb.skipBytes(3);
            Set<OFCapabilities> capabilities = OFCapabilitiesSerializerVer10.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java702
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java754
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java754
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java754
org/projectfloodlight/openflow/protocol/ver13/OFPortOpticalVer13.java501
org/projectfloodlight/openflow/protocol/ver14/OFPortDescVer14.java649
        OFPortDescVer10 other = (OFPortDescVer10) obj;

        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if (hwAddr == null) {
            if (other.hwAddr != null)
                return false;
        } else if (!hwAddr.equals(other.hwAddr))
            return false;
        if (name == null) {
            if (other.name != null)
                return false;
        } else if (!name.equals(other.name))
            return false;
        if (config == null) {
            if (other.config != null)
                return false;
        } else if (!config.equals(other.config))
            return false;
        if (state == null) {
            if (other.state != null)
                return false;
        } else if (!state.equals(other.state))
            return false;
        if (curr == null) {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreVer11.java618
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreVer12.java618
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreVer13.java618
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreVer14.java618
            return new OFBsnVportL2GreVer11(
                    flags,
                    portNo,
                    loopbackPortNo,
                    localMac,
                    nhMac,
                    srcIp,
                    dstIp,
                    dscp,
                    ttl,
                    vpn,
                    rateLimit,
                    ifName
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnVportL2Gre> {
        @Override
        public OFBsnVportL2Gre readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x1
            short type = bb.readShort();
            if(type != (short) 0x1)
                throw new OFParseError("Wrong type: Expected=0x1(0x1), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 64)
                throw new OFParseError("Wrong length: Expected=64(64), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            Set<OFBsnVportL2GreFlags> flags = OFBsnVportL2GreFlagsSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPacketInVer12.java646
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java679
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java679
        } else if (!tableId.equals(other.tableId))
            return false;
        if (match == null) {
            if (other.match != null)
                return false;
        } else if (!match.equals(other.match))
            return false;
        if (!Arrays.equals(data, other.data))
                return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((bufferId == null) ? 0 : bufferId.hashCode());
        result = prime * result + totalLen;
        result = prime * result + ((reason == null) ? 0 : reason.hashCode());
        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime * result + ((match == null) ? 0 : match.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFStatsTypeSerializerVer12.java41
org/projectfloodlight/openflow/protocol/ver13/OFStatsTypeSerializerVer13.java46
org/projectfloodlight/openflow/protocol/ver14/OFStatsTypeSerializerVer14.java49
    public final static short EXPERIMENTER_VAL = (short) 0xffff;

    public static OFStatsType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFStatsType e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFStatsType e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFStatsType ofWireValue(short val) {
        switch(val) {
            case DESC_VAL:
                return OFStatsType.DESC;
            case FLOW_VAL:
                return OFStatsType.FLOW;
            case AGGREGATE_VAL:
                return OFStatsType.AGGREGATE;
            case TABLE_VAL:
                return OFStatsType.TABLE;
            case PORT_VAL:
                return OFStatsType.PORT;
            case QUEUE_VAL:
                return OFStatsType.QUEUE;
            case GROUP_VAL:
                return OFStatsType.GROUP;
            case GROUP_DESC_VAL:
                return OFStatsType.GROUP_DESC;
            case GROUP_FEATURES_VAL:
                return OFStatsType.GROUP_FEATURES;
            case EXPERIMENTER_VAL:
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDeleteVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDeleteVer14.java207
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2fL;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryDelete.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryDelete.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }


        @Override
        public OFBsnGentableEntryDelete build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDeleteVer13.java207
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDeleteVer14.java123
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableEntryDelete.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2fL;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableEntryDelete.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryDelete.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableEntryDelete build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetSwitchPipelineReplyVer13.java245
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetSwitchPipelineReplyVer14.java245
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 272)
                throw new OFParseError("Wrong length: Expected=272(272), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x34L
            int subtype = bb.readInt();
            if(subtype != 0x34)
                throw new OFParseError("Wrong subtype: Expected=0x34L(0x34L), got="+subtype);
            String pipeline = ChannelUtils.readFixedLengthString(bb, 256);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java747
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java747
            sink.putByte((byte) 0x4);
            // fixed value property type = 4
            sink.putByte((byte) 0x4);
            // fixed value property length = 52
            sink.putShort((short) 0x34);
            sink.putLong(message.xid);
            // fixed value property experimenter = 0x5c16c7L
            sink.putInt(0x5c16c7);
            // fixed value property subtype = 0x2bL
            sink.putInt(0x2b);
            sink.putShort(message.convergenceStatus);
            // skip pad (3 bytes)
            message.portNo.putTo(sink);
            sink.putInt(message.actorSysPriority);
            message.actorSysMac.putTo(sink);
            sink.putInt(message.actorPortPriority);
            sink.putInt(message.actorPortNum);
            sink.putInt(message.actorKey);
            sink.putInt(message.partnerSysPriority);
            message.partnerSysMac.putTo(sink);
            sink.putInt(message.partnerPortPriority);
            sink.putInt(message.partnerPortNum);
            sink.putInt(message.partnerKey);
        }
    }


    public void writeTo(ChannelBuffer bb) {
        WRITER.write(bb, this);
    }

    final static Writer WRITER = new Writer();
    static class Writer implements OFMessageWriter<OFBsnLacpConvergenceNotifVer13> {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetSwitchPipelineRequestVer13.java245
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetSwitchPipelineRequestVer14.java245
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 272)
                throw new OFParseError("Wrong length: Expected=272(272), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x35L
            int subtype = bb.readInt();
            if(subtype != 0x35)
                throw new OFParseError("Wrong subtype: Expected=0x35L(0x35L), got="+subtype);
            String pipeline = ChannelUtils.readFixedLengthString(bb, 256);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvBucketVer13.java163
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvBucketVer14.java163
            return new OFBsnTlvBucketVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvBucket> {
        @Override
        public OFBsnTlvBucket readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x40
            short type = bb.readShort();
            if(type != (short) 0x40)
                throw new OFParseError("Wrong type: Expected=0x40(0x40), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<OFBsnTlv> value = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFBsnTlvVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsEntryVer13.java185
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsEntryVer14.java185
            return new OFBsnVlanCounterStatsEntryVer13(
                    vlanVid,
                    values
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnVlanCounterStatsEntry> {
        @Override
        public OFBsnVlanCounterStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int vlanVid = U16.f(bb.readShort());
            // pad: 4 bytes
            bb.skipBytes(4);
            List<U64> values = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), U64.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsEntryVer13.java185
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsEntryVer14.java185
            return new OFBsnVrfCounterStatsEntryVer13(
                    vrf,
                    values
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnVrfCounterStatsEntry> {
        @Override
        public OFBsnVrfCounterStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 2 bytes
            bb.skipBytes(2);
            long vrf = U32.f(bb.readInt());
            List<U64> values = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), U64.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropApplyActionsMissVer13.java163
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropApplyActionsMissVer14.java163
            return new OFTableFeaturePropApplyActionsMissVer13(
                    actionIds
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFTableFeaturePropApplyActionsMiss> {
        @Override
        public OFTableFeaturePropApplyActionsMiss readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x7
            short type = bb.readShort();
            if(type != (short) 0x7)
                throw new OFParseError("Wrong type: Expected=0x7(0x7), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<OFActionId> actionIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFActionIdVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropApplyActionsVer13.java163
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropApplyActionsVer14.java163
            return new OFTableFeaturePropApplyActionsVer13(
                    actionIds
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFTableFeaturePropApplyActions> {
        @Override
        public OFTableFeaturePropApplyActions readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x6
            short type = bb.readShort();
            if(type != (short) 0x6)
                throw new OFParseError("Wrong type: Expected=0x6(0x6), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<OFActionId> actionIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFActionIdVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropInstructionsMissVer13.java163
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropInstructionsMissVer14.java163
            return new OFTableFeaturePropInstructionsMissVer13(
                    instructionIds
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFTableFeaturePropInstructionsMiss> {
        @Override
        public OFTableFeaturePropInstructionsMiss readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x1
            short type = bb.readShort();
            if(type != (short) 0x1)
                throw new OFParseError("Wrong type: Expected=0x1(0x1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<OFInstructionId> instructionIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFInstructionIdVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropInstructionsVer13.java163
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropInstructionsVer14.java163
            return new OFTableFeaturePropInstructionsVer13(
                    instructionIds
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFTableFeaturePropInstructions> {
        @Override
        public OFTableFeaturePropInstructions readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x0
            short type = bb.readShort();
            if(type != (short) 0x0)
                throw new OFParseError("Wrong type: Expected=0x0(0x0), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<OFInstructionId> instructionIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFInstructionIdVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropWriteActionsMissVer13.java163
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropWriteActionsMissVer14.java163
            return new OFTableFeaturePropWriteActionsMissVer13(
                    actionIds
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFTableFeaturePropWriteActionsMiss> {
        @Override
        public OFTableFeaturePropWriteActionsMiss readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x5
            short type = bb.readShort();
            if(type != (short) 0x5)
                throw new OFParseError("Wrong type: Expected=0x5(0x5), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<OFActionId> actionIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFActionIdVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropWriteActionsVer13.java163
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropWriteActionsVer14.java163
            return new OFTableFeaturePropWriteActionsVer13(
                    actionIds
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFTableFeaturePropWriteActions> {
        @Override
        public OFTableFeaturePropWriteActions readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x4
            short type = bb.readShort();
            if(type != (short) 0x4)
                throw new OFParseError("Wrong type: Expected=0x4(0x4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<OFActionId> actionIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFActionIdVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java753
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java753
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java753
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java753
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java753
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java793
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java792
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java793
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java791
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java768
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java768
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java768
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java768
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 14
            byte type = bb.readByte();
            if(type != (byte) 0xe)
                throw new OFParseError("Wrong type: Expected=OFType.FLOW_MOD(14), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            U64 cookie = U64.ofRaw(bb.readLong());
            U64 cookieMask = U64.ofRaw(bb.readLong());
            TableId tableId = TableId.readByte(bb);
            // fixed value property command == 0
            short command = bb.readByte();
            if(command != (short) 0x0)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java753
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java753
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java753
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java753
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java753
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java797
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java768
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 14
            byte type = bb.readByte();
            if(type != (byte) 0xe)
                throw new OFParseError("Wrong type: Expected=OFType.FLOW_MOD(14), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            U64 cookie = U64.ofRaw(bb.readLong());
            U64 cookieMask = U64.ofRaw(bb.readLong());
            TableId tableId = TableId.readByte(bb);
            // fixed value property command == 4
            short command = bb.readByte();
            if(command != (short) 0x4)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaUploadVer13.java337
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaUploadVer14.java337
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x40L
            int subtype = bb.readInt();
            if(subtype != 0x40)
                throw new OFParseError("Wrong subtype: Expected=0x40L(0x40L), got="+subtype);
            Set<OFBsnLuaUploadFlags> flags = OFBsnLuaUploadFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnStatsReplyVer13.java38
org/projectfloodlight/openflow/protocol/ver13/OFCalientStatsReplyVer13.java38
        public OFBsnStatsReply readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            OFStatsReplyFlagsSerializerVer13.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvCircuitIdVer13.java162
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvCircuitIdVer14.java162
            return new OFBsnTlvCircuitIdVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvCircuitId> {
        @Override
        public OFBsnTlvCircuitId readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0xe
            short type = bb.readShort();
            if(type != (short) 0xe)
                throw new OFParseError("Wrong type: Expected=0xe(0xe), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            byte[] value = ChannelUtils.readBytes(bb, length - (bb.readerIndex() - start));
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvDataVer13.java162
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvDataVer14.java162
            return new OFBsnTlvDataVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvData> {
        @Override
        public OFBsnTlvData readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x37
            short type = bb.readShort();
            if(type != (short) 0x37)
                throw new OFParseError("Wrong type: Expected=0x37(0x37), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            byte[] value = ChannelUtils.readBytes(bb, length - (bb.readerIndex() - start));
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvNameVer13.java162
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvNameVer14.java162
            return new OFBsnTlvNameVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvName> {
        @Override
        public OFBsnTlvName readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x34
            short type = bb.readShort();
            if(type != (short) 0x34)
                throw new OFParseError("Wrong type: Expected=0x34(0x34), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            byte[] value = ChannelUtils.readBytes(bb, length - (bb.readerIndex() - start));
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterModVer13.java140
org/projectfloodlight/openflow/protocol/ver13/OFMeterModVer13.java251
org/projectfloodlight/openflow/protocol/ver14/OFMeterModVer14.java140
org/projectfloodlight/openflow/protocol/ver14/OFMeterModVer14.java251
    }

    @Override
    public OFType getType() {
        return OFType.METER_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterMod.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public int getCommand() {
        return command;
    }

    @Override
    public OFMeterMod.Builder setCommand(int command) {
        this.command = command;
        this.commandSet = true;
        return this;
    }
    @Override
    public int getFlags() {
        return flags;
    }

    @Override
    public OFMeterMod.Builder setFlags(int flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterMod.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }
    @Override
    public List<OFMeterBand> getMeters() {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFAggregateStatsRequestVer10.java430
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsRequestVer10.java430
        public OFAggregateStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 1
            byte version = bb.readByte();
            if(version != (byte) 0x1)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 16
            byte type = bb.readByte();
            if(type != (byte) 0x10)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(16), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 56)
                throw new OFParseError("Wrong length: Expected=56(56), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 2
            short statsType = bb.readShort();
            if(statsType != (short) 0x2)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetInterfacesReplyVer10.java115
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetInterfacesReplyVer11.java115
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetInterfacesReplyVer12.java115
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetInterfacesReplyVer13.java115
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetInterfacesReplyVer14.java115
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetInterfacesReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public List<OFBsnInterface> getInterfaces() {
        return interfaces;
    }

    @Override
    public OFBsnGetInterfacesReply.Builder setInterfaces(List<OFBsnInterface> interfaces) {
        this.interfaces = interfaces;
        this.interfacesSet = true;
        return this;
    }


        @Override
        public OFBsnGetInterfacesReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                List<OFBsnInterface> interfaces = this.interfacesSet ? this.interfaces : parentMessage.interfaces;
                if(interfaces == null)
                    throw new NullPointerException("Property interfaces must not be null");

                //
                return new OFBsnGetInterfacesReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFDescStatsReplyVer10.java556
org/projectfloodlight/openflow/protocol/ver11/OFDescStatsReplyVer11.java561
org/projectfloodlight/openflow/protocol/ver12/OFDescStatsReplyVer12.java561
org/projectfloodlight/openflow/protocol/ver13/OFDescStatsReplyVer13.java561
org/projectfloodlight/openflow/protocol/ver14/OFDescStatsReplyVer14.java561
        StringBuilder b = new StringBuilder("OFDescStatsReplyVer10(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("flags=").append(flags);
        b.append(", ");
        b.append("mfrDesc=").append(mfrDesc);
        b.append(", ");
        b.append("hwDesc=").append(hwDesc);
        b.append(", ");
        b.append("swDesc=").append(swDesc);
        b.append(", ");
        b.append("serialNum=").append(serialNum);
        b.append(", ");
        b.append("dpDesc=").append(dpDesc);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFDescStatsRequestVer10.java226
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsRequestVer10.java226
        public OFDescStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 1
            byte version = bb.readByte();
            if(version != (byte) 0x1)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 16
            byte type = bb.readByte();
            if(type != (byte) 0x10)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(16), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 0
            short statsType = bb.readShort();
            if(statsType != (short) 0x0)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsRequestVer10.java270
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsRequestVer10.java309
        public OFPortStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 1
            byte version = bb.readByte();
            if(version != (byte) 0x1)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 16
            byte type = bb.readByte();
            if(type != (byte) 0x10)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(16), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 4
            short statsType = bb.readShort();
            if(statsType != (short) 0x4)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsRequestVer11.java496
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsRequestVer11.java496
        public OFAggregateStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 2
            byte version = bb.readByte();
            if(version != (byte) 0x2)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 136)
                throw new OFParseError("Wrong length: Expected=136(136), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 2
            short statsType = bb.readShort();
            if(statsType != (short) 0x2)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnStatsRequestVer11.java38
org/projectfloodlight/openflow/protocol/ver11/OFExperimenterStatsRequestVer11.java38
        public OFBsnStatsRequest<?> readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 2
            byte version = bb.readByte();
            if(version != (byte) 0x2)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            OFStatsRequestFlagsSerializerVer11.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFDescStatsRequestVer11.java226
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsRequestVer11.java226
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsRequestVer11.java226
        public OFDescStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 2
            byte version = bb.readByte();
            if(version != (byte) 0x2)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 0
            short statsType = bb.readShort();
            if(statsType != (short) 0x0)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFeaturesReplyVer11.java570
org/projectfloodlight/openflow/protocol/ver12/OFFeaturesReplyVer12.java570
        StringBuilder b = new StringBuilder("OFFeaturesReplyVer11(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("datapathId=").append(datapathId);
        b.append(", ");
        b.append("nBuffers=").append(nBuffers);
        b.append(", ");
        b.append("nTables=").append(nTables);
        b.append(", ");
        b.append("capabilities=").append(capabilities);
        b.append(", ");
        b.append("reserved=").append(reserved);
        b.append(", ");
        b.append("ports=").append(ports);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java97
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java97
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java104
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java107
        this.cookie = cookie;
        this.packetCount = packetCount;
        this.byteCount = byteCount;
        this.match = match;
        this.instructions = instructions;
    }

    // Accessors for OF message fields
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsRequestVer11.java271
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsRequestVer11.java271
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsRequestVer11.java309
        public OFGroupStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 2
            byte version = bb.readByte();
            if(version != (byte) 0x2)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 6
            short statsType = bb.readShort();
            if(statsType != (short) 0x6)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsEntryVer11.java841
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsEntryVer12.java973
        if( applyActions != other.applyActions)
            return false;
        if( config != other.config)
            return false;
        if( maxEntries != other.maxEntries)
            return false;
        if( activeCount != other.activeCount)
            return false;
        if (lookupCount == null) {
            if (other.lookupCount != null)
                return false;
        } else if (!lookupCount.equals(other.lookupCount))
            return false;
        if (matchedCount == null) {
            if (other.matchedCount != null)
                return false;
        } else if (!matchedCount.equals(other.matchedCount))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime * result + ((name == null) ? 0 : name.hashCode());
        result = prime * result + wildcards;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnStatsRequestVer12.java38
org/projectfloodlight/openflow/protocol/ver12/OFExperimenterStatsRequestVer12.java38
        public OFBsnStatsRequest<?> readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 3
            byte version = bb.readByte();
            if(version != (byte) 0x3)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            OFStatsRequestFlagsSerializerVer12.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFDescStatsRequestVer12.java226
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsRequestVer12.java226
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsRequestVer12.java226
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsRequestVer12.java226
        public OFDescStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 3
            byte version = bb.readByte();
            if(version != (byte) 0x3)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 0
            short statsType = bb.readShort();
            if(statsType != (short) 0x0)
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsRequestVer12.java271
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsRequestVer12.java271
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsRequestVer12.java309
        public OFGroupStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 3
            byte version = bb.readByte();
            if(version != (byte) 0x3)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 6
            short statsType = bb.readShort();
            if(statsType != (short) 0x6)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFAsyncGetReplyVer13.java426
org/projectfloodlight/openflow/protocol/ver13/OFAsyncGetRequestVer13.java426
org/projectfloodlight/openflow/protocol/ver13/OFAsyncSetVer13.java426
                throw new OFParseError("Wrong type: Expected=OFType.GET_ASYNC_REPLY(27), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 32)
                throw new OFParseError("Wrong length: Expected=32(32), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            long packetInMaskEqualMaster = U32.f(bb.readInt());
            long packetInMaskSlave = U32.f(bb.readInt());
            long portStatusMaskEqualMaster = U32.f(bb.readInt());
            long portStatusMaskSlave = U32.f(bb.readInt());
            long flowRemovedMaskEqualMaster = U32.f(bb.readInt());
            long flowRemovedMaskSlave = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFAsyncGetReplyVer13.java514
org/projectfloodlight/openflow/protocol/ver13/OFAsyncGetRequestVer13.java514
org/projectfloodlight/openflow/protocol/ver13/OFAsyncSetVer13.java514
        StringBuilder b = new StringBuilder("OFAsyncGetReplyVer13(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("packetInMaskEqualMaster=").append(packetInMaskEqualMaster);
        b.append(", ");
        b.append("packetInMaskSlave=").append(packetInMaskSlave);
        b.append(", ");
        b.append("portStatusMaskEqualMaster=").append(portStatusMaskEqualMaster);
        b.append(", ");
        b.append("portStatusMaskSlave=").append(portStatusMaskSlave);
        b.append(", ");
        b.append("flowRemovedMaskEqualMaster=").append(flowRemovedMaskEqualMaster);
        b.append(", ");
        b.append("flowRemovedMaskSlave=").append(flowRemovedMaskSlave);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionsReplyVer13.java115
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionsReplyVer14.java115
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnControllerConnectionsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x39L;
    }

    @Override
    public List<OFBsnControllerConnection> getConnections() {
        return connections;
    }

    @Override
    public OFBsnControllerConnectionsReply.Builder setConnections(List<OFBsnControllerConnection> connections) {
        this.connections = connections;
        this.connectionsSet = true;
        return this;
    }


        @Override
        public OFBsnControllerConnectionsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                List<OFBsnControllerConnection> connections = this.connectionsSet ? this.connections : parentMessage.connections;
                if(connections == null)
                    throw new NullPointerException("Property connections must not be null");

                //
                return new OFBsnControllerConnectionsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortsRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsRequestVer13.java271
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsRequestVer13.java264
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsRequestVer13.java264
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsRequestVer13.java271
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsRequestVer13.java309
        public OFBsnDebugCounterDescStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnStatsRequestVer13.java38
org/projectfloodlight/openflow/protocol/ver13/OFCalientStatsRequestVer13.java38
org/projectfloodlight/openflow/protocol/ver13/OFExperimenterStatsRequestVer13.java38
        public OFBsnStatsRequest<?> readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            OFStatsRequestFlagsSerializerVer13.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFDescStatsRequestVer13.java226
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsRequestVer13.java226
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsRequestVer13.java226
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesStatsRequestVer13.java226
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsRequestVer13.java226
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsRequestVer13.java226
        public OFDescStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 0
            short statsType = bb.readShort();
            if(statsType != (short) 0x0)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFeaturesReplyVer13.java564
org/projectfloodlight/openflow/protocol/ver14/OFFeaturesReplyVer14.java564
        StringBuilder b = new StringBuilder("OFFeaturesReplyVer13(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("datapathId=").append(datapathId);
        b.append(", ");
        b.append("nBuffers=").append(nBuffers);
        b.append(", ");
        b.append("nTables=").append(nTables);
        b.append(", ");
        b.append("auxiliaryId=").append(auxiliaryId);
        b.append(", ");
        b.append("capabilities=").append(capabilities);
        b.append(", ");
        b.append("reserved=").append(reserved);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java504
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java504
        StringBuilder b = new StringBuilder("OFGroupStatsEntryVer13(");
        b.append("group=").append(group);
        b.append(", ");
        b.append("refCount=").append(refCount);
        b.append(", ");
        b.append("packetCount=").append(packetCount);
        b.append(", ");
        b.append("byteCount=").append(byteCount);
        b.append(", ");
        b.append("durationSec=").append(durationSec);
        b.append(", ");
        b.append("durationNsec=").append(durationNsec);
        b.append(", ");
        b.append("bucketStats=").append(bucketStats);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsVer13.java492
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsVer14.java492
        StringBuilder b = new StringBuilder("OFMeterStatsVer13(");
        b.append("meterId=").append(meterId);
        b.append(", ");
        b.append("flowCount=").append(flowCount);
        b.append(", ");
        b.append("packetInCount=").append(packetInCount);
        b.append(", ");
        b.append("byteInCount=").append(byteInCount);
        b.append(", ");
        b.append("durationSec=").append(durationSec);
        b.append(", ");
        b.append("durationNsec=").append(durationNsec);
        b.append(", ");
        b.append("bandStats=").append(bandStats);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesVer13.java506
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesVer14.java506
        StringBuilder b = new StringBuilder("OFTableFeaturesVer13(");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("name=").append(name);
        b.append(", ");
        b.append("metadataMatch=").append(metadataMatch);
        b.append(", ");
        b.append("metadataWrite=").append(metadataWrite);
        b.append(", ");
        b.append("config=").append(config);
        b.append(", ");
        b.append("maxEntries=").append(maxEntries);
        b.append(", ");
        b.append("properties=").append(properties);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsRequestVer14.java256
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsRequestVer14.java256
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsRequestVer14.java256
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsRequestVer14.java256
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsRequestVer14.java256
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsRequestVer14.java256
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsRequestVer14.java256
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsRequestVer14.java256
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsRequestVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsRequestVer14.java264
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsRequestVer14.java264
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsRequestVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsRequestVer14.java309
        public OFBsnDebugCounterDescStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnStatsRequestVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFExperimenterStatsRequestVer14.java38
        public OFBsnStatsRequest<?> readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            OFStatsRequestFlagsSerializerVer14.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFDescStatsRequestVer14.java226
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsRequestVer14.java226
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsRequestVer14.java226
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesStatsRequestVer14.java226
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsRequestVer14.java226
org/projectfloodlight/openflow/protocol/ver14/OFQueueDescStatsRequestVer14.java226
org/projectfloodlight/openflow/protocol/ver14/OFTableDescStatsRequestVer14.java226
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsRequestVer14.java226
        public OFDescStatsRequest readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 0
            short statsType = bb.readShort();
            if(statsType != (short) 0x0)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBadActionErrorMsgVer10.java113
org/projectfloodlight/openflow/protocol/ver10/OFBadActionErrorMsgVer10.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadActionErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_ACTION;
    }

    @Override
    public OFBadActionCode getCode() {
        return code;
    }

    @Override
    public OFBadActionErrorMsg.Builder setCode(OFBadActionCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadActionErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadActionErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBadRequestErrorMsgVer10.java113
org/projectfloodlight/openflow/protocol/ver10/OFBadRequestErrorMsgVer10.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_REQUEST;
    }

    @Override
    public OFBadRequestCode getCode() {
        return code;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setCode(OFBadRequestCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadRequestErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowModFailedErrorMsgVer10.java113
org/projectfloodlight/openflow/protocol/ver10/OFFlowModFailedErrorMsgVer10.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.FLOW_MOD_FAILED;
    }

    @Override
    public OFFlowModFailedCode getCode() {
        return code;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setCode(OFFlowModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFFlowModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsReplyVer10.java124
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsReplyVer11.java203
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsReplyVer12.java203
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsReplyVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsReplyVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.FLOW;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFFlowStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFFlowStatsReply.Builder setEntries(List<OFFlowStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFFlowStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsReplyVer10.java203
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsReplyVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsReplyVer12.java124
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.FLOW;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFFlowStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFFlowStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFFlowStatsReply.Builder setEntries(List<OFFlowStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFFlowStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFHelloFailedErrorMsgVer10.java113
org/projectfloodlight/openflow/protocol/ver10/OFHelloFailedErrorMsgVer10.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.HELLO_FAILED;
    }

    @Override
    public OFHelloFailedCode getCode() {
        return code;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setCode(OFHelloFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFHelloFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortModFailedErrorMsgVer10.java113
org/projectfloodlight/openflow/protocol/ver10/OFPortModFailedErrorMsgVer10.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.PORT_MOD_FAILED;
    }

    @Override
    public OFPortModFailedCode getCode() {
        return code;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setCode(OFPortModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFPortModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsReplyVer10.java125
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsReplyVer11.java203
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsReplyVer12.java203
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsReplyVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsReplyVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFPortStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFPortStatsReply.Builder setEntries(List<OFPortStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFPortStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsReplyVer10.java205
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsReplyVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsReplyVer12.java124
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFPortStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFPortStatsReply.Builder setEntries(List<OFPortStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFPortStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueOpFailedErrorMsgVer10.java113
org/projectfloodlight/openflow/protocol/ver10/OFQueueOpFailedErrorMsgVer10.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.QUEUE_OP_FAILED;
    }

    @Override
    public OFQueueOpFailedCode getCode() {
        return code;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setCode(OFQueueOpFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFQueueOpFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueuePropMinRateVer10.java154
org/projectfloodlight/openflow/protocol/ver11/OFQueuePropMinRateVer11.java154
org/projectfloodlight/openflow/protocol/ver12/OFQueuePropMinRateVer12.java154
org/projectfloodlight/openflow/protocol/ver13/OFQueuePropMinRateVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFQueuePropMinRateVer14.java154
            return new OFQueuePropMinRateVer10(
                    rate
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFQueuePropMinRate> {
        @Override
        public OFQueuePropMinRate readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x1
            short type = bb.readShort();
            if(type != (short) 0x1)
                throw new OFParseError("Wrong type: Expected=0x1(0x1), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);
            int rate = U16.f(bb.readShort());
            // pad: 6 bytes
            bb.skipBytes(6);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsReplyVer10.java124
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsReplyVer11.java203
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsReplyVer12.java203
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsReplyVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsReplyVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.QUEUE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFQueueStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFQueueStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFQueueStatsReply.Builder setEntries(List<OFQueueStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFQueueStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsReplyVer10.java203
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsReplyVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsReplyVer12.java124
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.QUEUE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFQueueStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFQueueStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFQueueStatsReply.Builder setEntries(List<OFQueueStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFQueueStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsReplyVer10.java124
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsReplyVer11.java203
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsReplyVer12.java203
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsReplyVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsReplyVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFTableStatsReply.Builder setEntries(List<OFTableStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFTableStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsReplyVer10.java203
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsReplyVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsReplyVer12.java124
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFTableStatsReply.Builder setEntries(List<OFTableStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFTableStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBadActionErrorMsgVer11.java113
org/projectfloodlight/openflow/protocol/ver11/OFBadActionErrorMsgVer11.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadActionErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_ACTION;
    }

    @Override
    public OFBadActionCode getCode() {
        return code;
    }

    @Override
    public OFBadActionErrorMsg.Builder setCode(OFBadActionCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadActionErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadActionErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBadInstructionErrorMsgVer11.java113
org/projectfloodlight/openflow/protocol/ver11/OFBadInstructionErrorMsgVer11.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_INSTRUCTION;
    }

    @Override
    public OFBadInstructionCode getCode() {
        return code;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setCode(OFBadInstructionCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadInstructionErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBadMatchErrorMsgVer11.java113
org/projectfloodlight/openflow/protocol/ver11/OFBadMatchErrorMsgVer11.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_MATCH;
    }

    @Override
    public OFBadMatchCode getCode() {
        return code;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setCode(OFBadMatchCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadMatchErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBadRequestErrorMsgVer11.java113
org/projectfloodlight/openflow/protocol/ver11/OFBadRequestErrorMsgVer11.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_REQUEST;
    }

    @Override
    public OFBadRequestCode getCode() {
        return code;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setCode(OFBadRequestCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadRequestErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModFailedErrorMsgVer11.java113
org/projectfloodlight/openflow/protocol/ver11/OFFlowModFailedErrorMsgVer11.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.FLOW_MOD_FAILED;
    }

    @Override
    public OFFlowModFailedCode getCode() {
        return code;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setCode(OFFlowModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFFlowModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsReplyVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsReplyVer12.java203
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsReplyVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsReplyVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFGroupDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFGroupDescStatsReply.Builder setEntries(List<OFGroupDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFGroupDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsReplyVer11.java203
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsReplyVer12.java124
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFGroupDescStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFGroupDescStatsReply.Builder setEntries(List<OFGroupDescStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFGroupDescStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupModFailedErrorMsgVer11.java113
org/projectfloodlight/openflow/protocol/ver11/OFGroupModFailedErrorMsgVer11.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.GROUP_MOD_FAILED;
    }

    @Override
    public OFGroupModFailedCode getCode() {
        return code;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setCode(OFGroupModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFGroupModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsReplyVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsReplyVer12.java203
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsReplyVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsReplyVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFGroupStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFGroupStatsReply.Builder setEntries(List<OFGroupStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFGroupStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsReplyVer11.java203
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsReplyVer12.java124
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFGroupStatsEntry> getEntries() {
        return entries;
    }

    @Override
    public OFGroupStatsReply.Builder setEntries(List<OFGroupStatsEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFGroupStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFHelloFailedErrorMsgVer11.java113
org/projectfloodlight/openflow/protocol/ver11/OFHelloFailedErrorMsgVer11.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.HELLO_FAILED;
    }

    @Override
    public OFHelloFailedCode getCode() {
        return code;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setCode(OFHelloFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFHelloFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortModFailedErrorMsgVer11.java113
org/projectfloodlight/openflow/protocol/ver11/OFPortModFailedErrorMsgVer11.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.PORT_MOD_FAILED;
    }

    @Override
    public OFPortModFailedCode getCode() {
        return code;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setCode(OFPortModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFPortModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFQueueOpFailedErrorMsgVer11.java113
org/projectfloodlight/openflow/protocol/ver11/OFQueueOpFailedErrorMsgVer11.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.QUEUE_OP_FAILED;
    }

    @Override
    public OFQueueOpFailedCode getCode() {
        return code;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setCode(OFQueueOpFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFQueueOpFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFSwitchConfigFailedErrorMsgVer11.java113
org/projectfloodlight/openflow/protocol/ver11/OFSwitchConfigFailedErrorMsgVer11.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.SWITCH_CONFIG_FAILED;
    }

    @Override
    public OFSwitchConfigFailedCode getCode() {
        return code;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setCode(OFSwitchConfigFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFSwitchConfigFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableModFailedErrorMsgVer11.java113
org/projectfloodlight/openflow/protocol/ver11/OFTableModFailedErrorMsgVer11.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.TABLE_MOD_FAILED;
    }

    @Override
    public OFTableModFailedCode getCode() {
        return code;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setCode(OFTableModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFTableModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBadActionErrorMsgVer12.java113
org/projectfloodlight/openflow/protocol/ver12/OFBadActionErrorMsgVer12.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadActionErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_ACTION;
    }

    @Override
    public OFBadActionCode getCode() {
        return code;
    }

    @Override
    public OFBadActionErrorMsg.Builder setCode(OFBadActionCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadActionErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadActionErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBadInstructionErrorMsgVer12.java113
org/projectfloodlight/openflow/protocol/ver12/OFBadInstructionErrorMsgVer12.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_INSTRUCTION;
    }

    @Override
    public OFBadInstructionCode getCode() {
        return code;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setCode(OFBadInstructionCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadInstructionErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBadMatchErrorMsgVer12.java113
org/projectfloodlight/openflow/protocol/ver12/OFBadMatchErrorMsgVer12.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_MATCH;
    }

    @Override
    public OFBadMatchCode getCode() {
        return code;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setCode(OFBadMatchCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadMatchErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBadRequestErrorMsgVer12.java113
org/projectfloodlight/openflow/protocol/ver12/OFBadRequestErrorMsgVer12.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_REQUEST;
    }

    @Override
    public OFBadRequestCode getCode() {
        return code;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setCode(OFBadRequestCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadRequestErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowModFailedErrorMsgVer12.java113
org/projectfloodlight/openflow/protocol/ver12/OFFlowModFailedErrorMsgVer12.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.FLOW_MOD_FAILED;
    }

    @Override
    public OFFlowModFailedCode getCode() {
        return code;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setCode(OFFlowModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFFlowModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupModFailedErrorMsgVer12.java113
org/projectfloodlight/openflow/protocol/ver12/OFGroupModFailedErrorMsgVer12.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.GROUP_MOD_FAILED;
    }

    @Override
    public OFGroupModFailedCode getCode() {
        return code;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setCode(OFGroupModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFGroupModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFHelloFailedErrorMsgVer12.java113
org/projectfloodlight/openflow/protocol/ver12/OFHelloFailedErrorMsgVer12.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.HELLO_FAILED;
    }

    @Override
    public OFHelloFailedCode getCode() {
        return code;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setCode(OFHelloFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFHelloFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPortModFailedErrorMsgVer12.java113
org/projectfloodlight/openflow/protocol/ver12/OFPortModFailedErrorMsgVer12.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.PORT_MOD_FAILED;
    }

    @Override
    public OFPortModFailedCode getCode() {
        return code;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setCode(OFPortModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFPortModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFQueueOpFailedErrorMsgVer12.java113
org/projectfloodlight/openflow/protocol/ver12/OFQueueOpFailedErrorMsgVer12.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.QUEUE_OP_FAILED;
    }

    @Override
    public OFQueueOpFailedCode getCode() {
        return code;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setCode(OFQueueOpFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFQueueOpFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFQueuePropMaxRateVer12.java154
org/projectfloodlight/openflow/protocol/ver13/OFQueuePropMaxRateVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFQueuePropMaxRateVer14.java154
            return new OFQueuePropMaxRateVer12(
                    rate
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFQueuePropMaxRate> {
        @Override
        public OFQueuePropMaxRate readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x2
            short type = bb.readShort();
            if(type != (short) 0x2)
                throw new OFParseError("Wrong type: Expected=0x2(0x2), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);
            int rate = U16.f(bb.readShort());
            // pad: 6 bytes
            bb.skipBytes(6);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestFailedErrorMsgVer12.java113
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestFailedErrorMsgVer12.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.ROLE_REQUEST_FAILED;
    }

    @Override
    public OFRoleRequestFailedCode getCode() {
        return code;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setCode(OFRoleRequestFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFRoleRequestFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFSwitchConfigFailedErrorMsgVer12.java113
org/projectfloodlight/openflow/protocol/ver12/OFSwitchConfigFailedErrorMsgVer12.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.SWITCH_CONFIG_FAILED;
    }

    @Override
    public OFSwitchConfigFailedCode getCode() {
        return code;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setCode(OFSwitchConfigFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFSwitchConfigFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFTableModFailedErrorMsgVer12.java113
org/projectfloodlight/openflow/protocol/ver12/OFTableModFailedErrorMsgVer12.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.TABLE_MOD_FAILED;
    }

    @Override
    public OFTableModFailedCode getCode() {
        return code;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setCode(OFTableModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFTableModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBadActionErrorMsgVer13.java113
org/projectfloodlight/openflow/protocol/ver13/OFBadActionErrorMsgVer13.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadActionErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_ACTION;
    }

    @Override
    public OFBadActionCode getCode() {
        return code;
    }

    @Override
    public OFBadActionErrorMsg.Builder setCode(OFBadActionCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadActionErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadActionErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBadInstructionErrorMsgVer13.java113
org/projectfloodlight/openflow/protocol/ver13/OFBadInstructionErrorMsgVer13.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_INSTRUCTION;
    }

    @Override
    public OFBadInstructionCode getCode() {
        return code;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setCode(OFBadInstructionCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadInstructionErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBadMatchErrorMsgVer13.java113
org/projectfloodlight/openflow/protocol/ver13/OFBadMatchErrorMsgVer13.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_MATCH;
    }

    @Override
    public OFBadMatchCode getCode() {
        return code;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setCode(OFBadMatchCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadMatchErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBadRequestErrorMsgVer13.java113
org/projectfloodlight/openflow/protocol/ver13/OFBadRequestErrorMsgVer13.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_REQUEST;
    }

    @Override
    public OFBadRequestCode getCode() {
        return code;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setCode(OFBadRequestCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadRequestErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowModFailedErrorMsgVer13.java113
org/projectfloodlight/openflow/protocol/ver13/OFFlowModFailedErrorMsgVer13.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.FLOW_MOD_FAILED;
    }

    @Override
    public OFFlowModFailedCode getCode() {
        return code;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setCode(OFFlowModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFFlowModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupModFailedErrorMsgVer13.java113
org/projectfloodlight/openflow/protocol/ver13/OFGroupModFailedErrorMsgVer13.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.GROUP_MOD_FAILED;
    }

    @Override
    public OFGroupModFailedCode getCode() {
        return code;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setCode(OFGroupModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFGroupModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFHelloFailedErrorMsgVer13.java113
org/projectfloodlight/openflow/protocol/ver13/OFHelloFailedErrorMsgVer13.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.HELLO_FAILED;
    }

    @Override
    public OFHelloFailedCode getCode() {
        return code;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setCode(OFHelloFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFHelloFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsReplyVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterConfigStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_CONFIG;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterConfigStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFMeterBand> getEntries() {
        return entries;
    }

    @Override
    public OFMeterConfigStatsReply.Builder setEntries(List<OFMeterBand> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFMeterConfigStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsReplyVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterConfigStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_CONFIG;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterConfigStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFMeterBand> getEntries() {
        return entries;
    }

    @Override
    public OFMeterConfigStatsReply.Builder setEntries(List<OFMeterBand> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFMeterConfigStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterModFailedErrorMsgVer13.java113
org/projectfloodlight/openflow/protocol/ver13/OFMeterModFailedErrorMsgVer13.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.METER_MOD_FAILED;
    }

    @Override
    public OFMeterModFailedCode getCode() {
        return code;
    }

    @Override
    public OFMeterModFailedErrorMsg.Builder setCode(OFMeterModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFMeterModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFMeterModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsReplyVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFMeterStats> getEntries() {
        return entries;
    }

    @Override
    public OFMeterStatsReply.Builder setEntries(List<OFMeterStats> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFMeterStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsReplyVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFMeterStats> getEntries() {
        return entries;
    }

    @Override
    public OFMeterStatsReply.Builder setEntries(List<OFMeterStats> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFMeterStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsReplyVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT_DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFPortDesc> getEntries() {
        return entries;
    }

    @Override
    public OFPortDescStatsReply.Builder setEntries(List<OFPortDesc> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFPortDescStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsReplyVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortDescStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT_DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortDescStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFPortDesc> getEntries() {
        return entries;
    }

    @Override
    public OFPortDescStatsReply.Builder setEntries(List<OFPortDesc> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFPortDescStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortModFailedErrorMsgVer13.java113
org/projectfloodlight/openflow/protocol/ver13/OFPortModFailedErrorMsgVer13.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.PORT_MOD_FAILED;
    }

    @Override
    public OFPortModFailedCode getCode() {
        return code;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setCode(OFPortModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFPortModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFQueueOpFailedErrorMsgVer13.java113
org/projectfloodlight/openflow/protocol/ver13/OFQueueOpFailedErrorMsgVer13.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.QUEUE_OP_FAILED;
    }

    @Override
    public OFQueueOpFailedCode getCode() {
        return code;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setCode(OFQueueOpFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFQueueOpFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestFailedErrorMsgVer13.java113
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestFailedErrorMsgVer13.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.ROLE_REQUEST_FAILED;
    }

    @Override
    public OFRoleRequestFailedCode getCode() {
        return code;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setCode(OFRoleRequestFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFRoleRequestFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFSwitchConfigFailedErrorMsgVer13.java113
org/projectfloodlight/openflow/protocol/ver13/OFSwitchConfigFailedErrorMsgVer13.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.SWITCH_CONFIG_FAILED;
    }

    @Override
    public OFSwitchConfigFailedCode getCode() {
        return code;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setCode(OFSwitchConfigFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFSwitchConfigFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesFailedErrorMsgVer13.java113
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesFailedErrorMsgVer13.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableFeaturesFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.TABLE_FEATURES_FAILED;
    }

    @Override
    public OFTableFeaturesFailedCode getCode() {
        return code;
    }

    @Override
    public OFTableFeaturesFailedErrorMsg.Builder setCode(OFTableFeaturesFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFTableFeaturesFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFTableFeaturesFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsReplyVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsReplyVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableFeaturesStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE_FEATURES;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableFeaturesStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableFeatures> getEntries() {
        return entries;
    }

    @Override
    public OFTableFeaturesStatsReply.Builder setEntries(List<OFTableFeatures> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFTableFeaturesStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsReplyVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsReplyVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableFeaturesStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE_FEATURES;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableFeaturesStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableFeatures> getEntries() {
        return entries;
    }

    @Override
    public OFTableFeaturesStatsReply.Builder setEntries(List<OFTableFeatures> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFTableFeaturesStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsRequestVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsRequestVer14.java203
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableFeaturesStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE_FEATURES;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableFeaturesStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableFeatures> getEntries() {
        return entries;
    }

    @Override
    public OFTableFeaturesStatsRequest.Builder setEntries(List<OFTableFeatures> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }


        @Override
        public OFTableFeaturesStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsRequestVer13.java203
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsRequestVer14.java124
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableFeaturesStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE_FEATURES;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableFeaturesStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public List<OFTableFeatures> getEntries() {
        return entries;
    }

    @Override
    public OFTableFeaturesStatsRequest.Builder setEntries(List<OFTableFeatures> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
//
        @Override
        public OFTableFeaturesStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableModFailedErrorMsgVer13.java113
org/projectfloodlight/openflow/protocol/ver13/OFTableModFailedErrorMsgVer13.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.TABLE_MOD_FAILED;
    }

    @Override
    public OFTableModFailedCode getCode() {
        return code;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setCode(OFTableModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFTableModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFAsyncConfigFailedErrorMsgVer14.java113
org/projectfloodlight/openflow/protocol/ver14/OFAsyncConfigFailedErrorMsgVer14.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFAsyncConfigFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.ASYNC_CONFIG_FAILED;
    }

    @Override
    public OFAsyncConfigFailedCode getCode() {
        return code;
    }

    @Override
    public OFAsyncConfigFailedErrorMsg.Builder setCode(OFAsyncConfigFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFAsyncConfigFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFAsyncConfigFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBadActionErrorMsgVer14.java113
org/projectfloodlight/openflow/protocol/ver14/OFBadActionErrorMsgVer14.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadActionErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_ACTION;
    }

    @Override
    public OFBadActionCode getCode() {
        return code;
    }

    @Override
    public OFBadActionErrorMsg.Builder setCode(OFBadActionCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadActionErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadActionErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBadInstructionErrorMsgVer14.java113
org/projectfloodlight/openflow/protocol/ver14/OFBadInstructionErrorMsgVer14.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_INSTRUCTION;
    }

    @Override
    public OFBadInstructionCode getCode() {
        return code;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setCode(OFBadInstructionCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadInstructionErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBadMatchErrorMsgVer14.java113
org/projectfloodlight/openflow/protocol/ver14/OFBadMatchErrorMsgVer14.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_MATCH;
    }

    @Override
    public OFBadMatchCode getCode() {
        return code;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setCode(OFBadMatchCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadMatchErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBadPropertyErrorMsgVer14.java113
org/projectfloodlight/openflow/protocol/ver14/OFBadPropertyErrorMsgVer14.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadPropertyErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_PROPERTY;
    }

    @Override
    public OFBadPropertyCode getCode() {
        return code;
    }

    @Override
    public OFBadPropertyErrorMsg.Builder setCode(OFBadPropertyCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadPropertyErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadPropertyErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBadRequestErrorMsgVer14.java113
org/projectfloodlight/openflow/protocol/ver14/OFBadRequestErrorMsgVer14.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_REQUEST;
    }

    @Override
    public OFBadRequestCode getCode() {
        return code;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setCode(OFBadRequestCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadRequestErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBundleFailedErrorMsgVer14.java113
org/projectfloodlight/openflow/protocol/ver14/OFBundleFailedErrorMsgVer14.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBundleFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BUNDLE_FAILED;
    }

    @Override
    public OFBundleFailedCode getCode() {
        return code;
    }

    @Override
    public OFBundleFailedErrorMsg.Builder setCode(OFBundleFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBundleFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBundleFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowModFailedErrorMsgVer14.java113
org/projectfloodlight/openflow/protocol/ver14/OFFlowModFailedErrorMsgVer14.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.FLOW_MOD_FAILED;
    }

    @Override
    public OFFlowModFailedCode getCode() {
        return code;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setCode(OFFlowModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFFlowModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowMonitorFailedErrorMsgVer14.java113
org/projectfloodlight/openflow/protocol/ver14/OFFlowMonitorFailedErrorMsgVer14.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowMonitorFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.FLOW_MONITOR_FAILED;
    }

    @Override
    public OFFlowMonitorFailedCode getCode() {
        return code;
    }

    @Override
    public OFFlowMonitorFailedErrorMsg.Builder setCode(OFFlowMonitorFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFFlowMonitorFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFFlowMonitorFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFGroupModFailedErrorMsgVer14.java113
org/projectfloodlight/openflow/protocol/ver14/OFGroupModFailedErrorMsgVer14.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.GROUP_MOD_FAILED;
    }

    @Override
    public OFGroupModFailedCode getCode() {
        return code;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setCode(OFGroupModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFGroupModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFHelloFailedErrorMsgVer14.java113
org/projectfloodlight/openflow/protocol/ver14/OFHelloFailedErrorMsgVer14.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.HELLO_FAILED;
    }

    @Override
    public OFHelloFailedCode getCode() {
        return code;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setCode(OFHelloFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFHelloFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFMeterModFailedErrorMsgVer14.java113
org/projectfloodlight/openflow/protocol/ver14/OFMeterModFailedErrorMsgVer14.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.METER_MOD_FAILED;
    }

    @Override
    public OFMeterModFailedCode getCode() {
        return code;
    }

    @Override
    public OFMeterModFailedErrorMsg.Builder setCode(OFMeterModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFMeterModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFMeterModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFPortModFailedErrorMsgVer14.java113
org/projectfloodlight/openflow/protocol/ver14/OFPortModFailedErrorMsgVer14.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.PORT_MOD_FAILED;
    }

    @Override
    public OFPortModFailedCode getCode() {
        return code;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setCode(OFPortModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFPortModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFQueueOpFailedErrorMsgVer14.java113
org/projectfloodlight/openflow/protocol/ver14/OFQueueOpFailedErrorMsgVer14.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.QUEUE_OP_FAILED;
    }

    @Override
    public OFQueueOpFailedCode getCode() {
        return code;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setCode(OFQueueOpFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFQueueOpFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestFailedErrorMsgVer14.java113
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestFailedErrorMsgVer14.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.ROLE_REQUEST_FAILED;
    }

    @Override
    public OFRoleRequestFailedCode getCode() {
        return code;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setCode(OFRoleRequestFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFRoleRequestFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFSwitchConfigFailedErrorMsgVer14.java113
org/projectfloodlight/openflow/protocol/ver14/OFSwitchConfigFailedErrorMsgVer14.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.SWITCH_CONFIG_FAILED;
    }

    @Override
    public OFSwitchConfigFailedCode getCode() {
        return code;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setCode(OFSwitchConfigFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFSwitchConfigFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesFailedErrorMsgVer14.java113
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesFailedErrorMsgVer14.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableFeaturesFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.TABLE_FEATURES_FAILED;
    }

    @Override
    public OFTableFeaturesFailedCode getCode() {
        return code;
    }

    @Override
    public OFTableFeaturesFailedErrorMsg.Builder setCode(OFTableFeaturesFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFTableFeaturesFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFTableFeaturesFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFTableModFailedErrorMsgVer14.java113
org/projectfloodlight/openflow/protocol/ver14/OFTableModFailedErrorMsgVer14.java192
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.TABLE_MOD_FAILED;
    }

    @Override
    public OFTableModFailedCode getCode() {
        return code;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setCode(OFTableModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFTableModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
net/onrc/openvirtex/api/service/handlers/tenant/RemoveOVXPort.java39
net/onrc/openvirtex/api/service/handlers/tenant/StartOVXPort.java41
net/onrc/openvirtex/api/service/handlers/tenant/StopOVXPort.java41
    Logger log = LogManager.getLogger(RemoveOVXPort.class.getName());

    @Override
    public JSONRPC2Response process(final Map<String, Object> params) {
        JSONRPC2Response resp = null;

        try {
            final Number tenantId = HandlerUtils.<Number>fetchField(
                    TenantHandler.TENANT, params, true, null);
            final Number dpid = HandlerUtils.<Number>fetchField(
                    TenantHandler.VDPID, params, true, null);
            final Number port = HandlerUtils.<Number>fetchField(
                    TenantHandler.VPORT, params, true, null);

            HandlerUtils.isValidTenantId(tenantId.intValue());
            HandlerUtils
                    .isValidOVXSwitch(tenantId.intValue(), dpid.longValue());
            HandlerUtils.isValidOVXPort(tenantId.intValue(), dpid.longValue(),
                    port.shortValue());

            final OVXMap map = OVXMap.getInstance();
            final OVXNetwork virtualNetwork = map.getVirtualNetwork(tenantId
                    .intValue());

            virtualNetwork.removePort(dpid.longValue(), port.shortValue());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortCreateRequestVer10.java241
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortCreateRequestVer11.java241
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortCreateRequestVer12.java241
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortCreateRequestVer13.java241
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortCreateRequestVer14.java241
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xfL
            int subtype = bb.readInt();
            if(subtype != 0xf)
                throw new OFParseError("Wrong subtype: Expected=0xfL(0xfL), got="+subtype);
            OFBsnVport vport = OFBsnVportVer10.READER.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportL2GreVer10.java40
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreVer11.java40
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreVer12.java40
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreVer13.java40
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreVer14.java40
        private final static Set<OFBsnVportL2GreFlags> DEFAULT_FLAGS = ImmutableSet.<OFBsnVportL2GreFlags>of();
        private final static OFPort DEFAULT_PORT_NO = OFPort.ANY;
        private final static OFPort DEFAULT_LOOPBACK_PORT_NO = OFPort.ANY;
        private final static MacAddress DEFAULT_LOCAL_MAC = MacAddress.NONE;
        private final static MacAddress DEFAULT_NH_MAC = MacAddress.NONE;
        private final static IPv4Address DEFAULT_SRC_IP = IPv4Address.NONE;
        private final static IPv4Address DEFAULT_DST_IP = IPv4Address.NONE;
        private final static short DEFAULT_DSCP = (short) 0x0;
        private final static short DEFAULT_TTL = (short) 0x0;
        private final static long DEFAULT_VPN = 0x0L;
        private final static long DEFAULT_RATE_LIMIT = 0x0L;
        private final static String DEFAULT_IF_NAME = "";

    // OF message fields
    private final Set<OFBsnVportL2GreFlags> flags;
    private final OFPort portNo;
    private final OFPort loopbackPortNo;
    private final MacAddress localMac;
    private final MacAddress nhMac;
    private final IPv4Address srcIp;
    private final IPv4Address dstIp;
    private final short dscp;
    private final short ttl;
    private final long vpn;
    private final long rateLimit;
    private final String ifName;
//
    // Immutable default instance
    final static OFBsnVportL2GreVer10 DEFAULT = new OFBsnVportL2GreVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowRemovedVer10.java202
org/projectfloodlight/openflow/protocol/ver10/OFFlowRemovedVer10.java403
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java210
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java419
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java215
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java430
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java215
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java430
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java215
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java430
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_REMOVED;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowRemoved.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public OFFlowRemoved.Builder setCookie(U64 cookie) {
        this.cookie = cookie;
        this.cookieSet = true;
        return this;
    }
    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFFlowRemoved.Builder setPriority(int priority) {
        this.priority = priority;
        this.prioritySet = true;
        return this;
    }
    @Override
    public short getReason() {
        return reason;
    }

    @Override
    public OFFlowRemoved.Builder setReason(short reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public TableId getTableId()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPacketInVer10.java168
org/projectfloodlight/openflow/protocol/ver10/OFPacketInVer10.java327
org/projectfloodlight/openflow/protocol/ver11/OFPacketInVer11.java184
org/projectfloodlight/openflow/protocol/ver11/OFPacketInVer11.java359
org/projectfloodlight/openflow/protocol/ver12/OFPacketInVer12.java176
org/projectfloodlight/openflow/protocol/ver12/OFPacketInVer12.java343
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java184
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java359
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java184
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java359
    }

    @Override
    public OFType getType() {
        return OFType.PACKET_IN;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPacketIn.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPacketIn.Builder setBufferId(OFBufferId bufferId) {
        this.bufferId = bufferId;
        this.bufferIdSet = true;
        return this;
    }
    @Override
    public int getTotalLen() {
        return totalLen;
    }

    @Override
    public OFPacketIn.Builder setTotalLen(int totalLen) {
        this.totalLen = totalLen;
        this.totalLenSet = true;
        return this;
    }
    @Override
    public OFPacketInReason getReason() {
        return reason;
    }

    @Override
    public OFPacketIn.Builder setReason(OFPacketInReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public TableId getTableId()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPacketQueueVer10.java208
org/projectfloodlight/openflow/protocol/ver11/OFPacketQueueVer11.java208
            return new OFPacketQueueVer10(
                    queueId,
                    properties
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFPacketQueue> {
        @Override
        public OFPacketQueue readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            long queueId = U32.f(bb.readInt());
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 2 bytes
            bb.skipBytes(2);
            List<OFQueueProp> properties = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFQueuePropVer10.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionVer13.java118
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionVer13.java206
    @Override
    public OFBsnControllerConnectionState getState() {
        return state;
    }

    @Override
    public OFBsnControllerConnection.Builder setState(OFBsnControllerConnectionState state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public OFAuxId getAuxiliaryId() {
        return auxiliaryId;
    }

    @Override
    public OFBsnControllerConnection.Builder setAuxiliaryId(OFAuxId auxiliaryId) {
        this.auxiliaryId = auxiliaryId;
        this.auxiliaryIdSet = true;
        return this;
    }
    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFBsnControllerConnection.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public String getUri() {
        return uri;
    }

    @Override
    public OFBsnControllerConnection.Builder setUri(String uri) {
        this.uri = uri;
        this.uriSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFBsnControllerConnection build() {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsEntryVer13.java113
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsEntryVer13.java197
    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public long getBucketsSize() {
        return bucketsSize;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setBucketsSize(long bucketsSize) {
        this.bucketsSize = bucketsSize;
        this.bucketsSizeSet = true;
        return this;
    }
    @Override
    public long getMaxEntries() {
        return maxEntries;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setMaxEntries(long maxEntries) {
        this.maxEntries = maxEntries;
        this.maxEntriesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFBsnGentableDescStatsEntry build() {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLogVer13.java286
org/projectfloodlight/openflow/protocol/ver14/OFBsnLogVer14.java286
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x3fL
            int subtype = bb.readInt();
            if(subtype != 0x3f)
                throw new OFParseError("Wrong subtype: Expected=0x3fL(0x3fL), got="+subtype);
            OFBsnLoglevel loglevel = OFBsnLoglevelSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterSerializerVer13.java136
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterSerializerVer14.java136
                throw new IllegalArgumentException("Illegal wire value for type OFBsnPortCounter in version 1.3: " + val);
        }
    }


    public static byte toWireValue(OFBsnPortCounter e) {
        switch(e) {
            case BSN_PORT_COUNTER_RX_BYTES:
                return BSN_PORT_COUNTER_RX_BYTES_VAL;
            case BSN_PORT_COUNTER_RX_PACKETS_UNICAST:
                return BSN_PORT_COUNTER_RX_PACKETS_UNICAST_VAL;
            case BSN_PORT_COUNTER_RX_PACKETS_BROADCAST:
                return BSN_PORT_COUNTER_RX_PACKETS_BROADCAST_VAL;
            case BSN_PORT_COUNTER_RX_PACKETS_MULTICAST:
                return BSN_PORT_COUNTER_RX_PACKETS_MULTICAST_VAL;
            case BSN_PORT_COUNTER_RX_DROPPED:
                return BSN_PORT_COUNTER_RX_DROPPED_VAL;
            case BSN_PORT_COUNTER_RX_ERRORS:
                return BSN_PORT_COUNTER_RX_ERRORS_VAL;
            case BSN_PORT_COUNTER_TX_BYTES:
                return BSN_PORT_COUNTER_TX_BYTES_VAL;
            case BSN_PORT_COUNTER_TX_PACKETS_UNICAST:
                return BSN_PORT_COUNTER_TX_PACKETS_UNICAST_VAL;
            case BSN_PORT_COUNTER_TX_PACKETS_BROADCAST:
                return BSN_PORT_COUNTER_TX_PACKETS_BROADCAST_VAL;
            case BSN_PORT_COUNTER_TX_PACKETS_MULTICAST:
                return BSN_PORT_COUNTER_TX_PACKETS_MULTICAST_VAL;
            case BSN_PORT_COUNTER_TX_DROPPED:
                return BSN_PORT_COUNTER_TX_DROPPED_VAL;
            case BSN_PORT_COUNTER_TX_ERRORS:
                return BSN_PORT_COUNTER_TX_ERRORS_VAL;
            case BSN_PORT_COUNTER_RX_RUNTS:
                return BSN_PORT_COUNTER_RX_RUNTS_VAL;
            case BSN_PORT_COUNTER_RX_GIANTS:
                return BSN_PORT_COUNTER_RX_GIANTS_VAL;
            case BSN_PORT_COUNTER_RX_CRC_ERRORS:
                return BSN_PORT_COUNTER_RX_CRC_ERRORS_VAL;
            case BSN_PORT_COUNTER_RX_ALIGNMENT_ERRORS:
                return BSN_PORT_COUNTER_RX_ALIGNMENT_ERRORS_VAL;
            case BSN_PORT_COUNTER_RX_SYMBOL_ERRORS:
                return BSN_PORT_COUNTER_RX_SYMBOL_ERRORS_VAL;
            case BSN_PORT_COUNTER_RX_PAUSE_INPUT:
                return BSN_PORT_COUNTER_RX_PAUSE_INPUT_VAL;
            case BSN_PORT_COUNTER_TX_COLLISIONS:
                return BSN_PORT_COUNTER_TX_COLLISIONS_VAL;
            case BSN_PORT_COUNTER_TX_LATE_COLLISIONS:
                return BSN_PORT_COUNTER_TX_LATE_COLLISIONS_VAL;
            case BSN_PORT_COUNTER_TX_DEFERRED:
                return BSN_PORT_COUNTER_TX_DEFERRED_VAL;
            case BSN_PORT_COUNTER_TX_PAUSE_OUTPUT:
                return BSN_PORT_COUNTER_TX_PAUSE_OUTPUT_VAL;
            case BSN_PORT_COUNTER_RX_PACKETS:
                return BSN_PORT_COUNTER_RX_PACKETS_VAL;
            case BSN_PORT_COUNTER_TX_PACKETS:
                return BSN_PORT_COUNTER_TX_PACKETS_VAL;
            case BSN_PORT_COUNTER_RX_LENGTH_ERRORS:
                return BSN_PORT_COUNTER_RX_LENGTH_ERRORS_VAL;
            case BSN_PORT_COUNTER_RX_OVERFLOW_ERRORS:
                return BSN_PORT_COUNTER_RX_OVERFLOW_ERRORS_VAL;
            case BSN_PORT_COUNTER_TX_CARRIER_ERRORS:
                return BSN_PORT_COUNTER_TX_CARRIER_ERRORS_VAL;
            case BSN_PORT_COUNTER_RX_PACKETS_BAD_VLAN:
                return BSN_PORT_COUNTER_RX_PACKETS_BAD_VLAN_VAL;
            default:
                throw new IllegalArgumentException("Illegal enum value for type OFBsnPortCounter in version 1.3: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsEntryVer13.java192
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsEntryVer14.java192
            return new OFBsnPortCounterStatsEntryVer13(
                    portNo,
                    values
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnPortCounterStatsEntry> {
        @Override
        public OFBsnPortCounterStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 2 bytes
            bb.skipBytes(2);
            OFPort portNo = OFPort.read4Bytes(bb);
            List<U64> values = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), U64.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandDscpRemarkVer13.java159
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandDscpRemarkVer14.java159
                return new OFMeterBandDscpRemarkVer13(
                    rate,
                    burstSize,
                    precLevel
                );
        }

    }

    static class Builder implements OFMeterBandDscpRemark.Builder {
        // OF message fields
        private boolean rateSet;
        private long rate;
        private boolean burstSizeSet;
        private long burstSize;
        private boolean precLevelSet;
        private short precLevel;

    @Override
    public int getType() {
        return 0x2;
    }

    @Override
    public long getRate() {
        return rate;
    }

    @Override
    public OFMeterBandDscpRemark.Builder setRate(long rate) {
        this.rate = rate;
        this.rateSet = true;
        return this;
    }
    @Override
    public long getBurstSize() {
        return burstSize;
    }

    @Override
    public OFMeterBandDscpRemark.Builder setBurstSize(long burstSize) {
        this.burstSize = burstSize;
        this.burstSizeSet = true;
        return this;
    }
    @Override
    public short getPrecLevel() {
        return precLevel;
    }

    @Override
    public OFMeterBandDscpRemark.Builder setPrecLevel(short precLevel) {
        this.precLevel = precLevel;
        this.precLevelSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandExperimenterVer13.java159
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandExperimenterVer14.java159
                return new OFMeterBandExperimenterVer13(
                    rate,
                    burstSize,
                    experimenter
                );
        }

    }

    static class Builder implements OFMeterBandExperimenter.Builder {
        // OF message fields
        private boolean rateSet;
        private long rate;
        private boolean burstSizeSet;
        private long burstSize;
        private boolean experimenterSet;
        private long experimenter;

    @Override
    public int getType() {
        return 0xffff;
    }

    @Override
    public long getRate() {
        return rate;
    }

    @Override
    public OFMeterBandExperimenter.Builder setRate(long rate) {
        this.rate = rate;
        this.rateSet = true;
        return this;
    }
    @Override
    public long getBurstSize() {
        return burstSize;
    }

    @Override
    public OFMeterBandExperimenter.Builder setBurstSize(long burstSize) {
        this.burstSize = burstSize;
        this.burstSizeSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return experimenter;
    }

    @Override
    public OFMeterBandExperimenter.Builder setExperimenter(long experimenter) {
        this.experimenter = experimenter;
        this.experimenterSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionVer14.java118
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionVer14.java206
    @Override
    public OFBsnControllerConnectionState getState() {
        return state;
    }

    @Override
    public OFBsnControllerConnection.Builder setState(OFBsnControllerConnectionState state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public OFAuxId getAuxiliaryId() {
        return auxiliaryId;
    }

    @Override
    public OFBsnControllerConnection.Builder setAuxiliaryId(OFAuxId auxiliaryId) {
        this.auxiliaryId = auxiliaryId;
        this.auxiliaryIdSet = true;
        return this;
    }
    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFBsnControllerConnection.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public String getUri() {
        return uri;
    }

    @Override
    public OFBsnControllerConnection.Builder setUri(String uri) {
        this.uri = uri;
        this.uriSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFBsnControllerConnection build() {
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsEntryVer14.java113
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsEntryVer14.java197
    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public long getBucketsSize() {
        return bucketsSize;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setBucketsSize(long bucketsSize) {
        this.bucketsSize = bucketsSize;
        this.bucketsSizeSet = true;
        return this;
    }
    @Override
    public long getMaxEntries() {
        return maxEntries;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setMaxEntries(long maxEntries) {
        this.maxEntries = maxEntries;
        this.maxEntriesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFBsnGentableDescStatsEntry build() {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwClearDataReplyVer10.java233
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableGetReplyVer10.java233
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableSetRequestVer10.java233
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetMirroringReplyVer10.java233
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetMirroringRequestVer10.java233
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetMirroringVer10.java233
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionReplyVer10.java233
org/projectfloodlight/openflow/protocol/ver10/OFBsnShellStatusVer10.java233
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortRemoveReplyVer10.java233
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortRemoveRequestVer10.java233
org/projectfloodlight/openflow/protocol/ver10/OFNiciraControllerRoleReplyVer10.java236
org/projectfloodlight/openflow/protocol/ver10/OFNiciraControllerRoleRequestVer10.java236
        public OFBsnBwClearDataReply readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property version == 1
            byte version = bb.readByte();
            if(version != (byte) 0x1)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnInterfaceVer10.java120
org/projectfloodlight/openflow/protocol/ver11/OFBsnInterfaceVer11.java120
org/projectfloodlight/openflow/protocol/ver12/OFBsnInterfaceVer12.java120
org/projectfloodlight/openflow/protocol/ver13/OFBsnInterfaceVer13.java120
org/projectfloodlight/openflow/protocol/ver14/OFBsnInterfaceVer14.java120
        BuilderWithParent(OFBsnInterfaceVer10 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFBsnInterface.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnInterface.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Addr() {
        return ipv4Addr;
    }

    @Override
    public OFBsnInterface.Builder setIpv4Addr(IPv4Address ipv4Addr) {
        this.ipv4Addr = ipv4Addr;
        this.ipv4AddrSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Netmask() {
        return ipv4Netmask;
    }

    @Override
    public OFBsnInterface.Builder setIpv4Netmask(IPv4Address ipv4Netmask) {
        this.ipv4Netmask = ipv4Netmask;
        this.ipv4NetmaskSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnStatsReplyVer11.java38
org/projectfloodlight/openflow/protocol/ver11/OFExperimenterStatsReplyVer11.java38
        public OFBsnStatsReply readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 2
            byte version = bb.readByte();
            if(version != (byte) 0x2)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            OFStatsReplyFlagsSerializerVer11.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnStatsReplyVer12.java38
org/projectfloodlight/openflow/protocol/ver12/OFExperimenterStatsReplyVer12.java38
        public OFBsnStatsReply readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 3
            byte version = bb.readByte();
            if(version != (byte) 0x3)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            OFStatsReplyFlagsSerializerVer12.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionVer13.java114
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionVer14.java114
        BuilderWithParent(OFBsnControllerConnectionVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public OFBsnControllerConnectionState getState() {
        return state;
    }

    @Override
    public OFBsnControllerConnection.Builder setState(OFBsnControllerConnectionState state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public OFAuxId getAuxiliaryId() {
        return auxiliaryId;
    }

    @Override
    public OFBsnControllerConnection.Builder setAuxiliaryId(OFAuxId auxiliaryId) {
        this.auxiliaryId = auxiliaryId;
        this.auxiliaryIdSet = true;
        return this;
    }
    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFBsnControllerConnection.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public String getUri() {
        return uri;
    }

    @Override
    public OFBsnControllerConnection.Builder setUri(String uri) {
        this.uri = uri;
        this.uriSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearReplyVer13.java438
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearReplyVer14.java438
        OFBsnGentableClearReplyVer13 other = (OFBsnGentableClearReplyVer13) obj;

        if( xid != other.xid)
            return false;
        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if( deletedCount != other.deletedCount)
            return false;
        if( errorCount != other.errorCount)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime *  (int) (deletedCount ^ (deletedCount >>> 32));
        result = prime *  (int) (errorCount ^ (errorCount >>> 32));
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsEntryVer13.java109
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsEntryVer14.java109
        BuilderWithParent(OFBsnGentableDescStatsEntryVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public long getBucketsSize() {
        return bucketsSize;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setBucketsSize(long bucketsSize) {
        this.bucketsSize = bucketsSize;
        this.bucketsSizeSet = true;
        return this;
    }
    @Override
    public long getMaxEntries() {
        return maxEntries;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setMaxEntries(long maxEntries) {
        this.maxEntries = maxEntries;
        this.maxEntriesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryAddVer13.java459
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryAddVer14.java459
            bb.writeByte((byte) 0x4);
            // fixed value property type = 4
            bb.writeByte((byte) 0x4);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            bb.writeInt(U32.t(message.xid));
            // fixed value property experimenter = 0x5c16c7L
            bb.writeInt(0x5c16c7);
            // fixed value property subtype = 0x2eL
            bb.writeInt(0x2e);
            message.tableId.write2Bytes(bb);
            // keyLength is length indicator for key, will be
            // udpated when key has been written
            int keyLengthIndex = bb.writerIndex();
            bb.writeShort(0);
            message.checksum.write16Bytes(bb);
            int keyStartIndex = bb.writerIndex();
            ChannelUtils.writeList(bb, message.key);
            // update field length member keyLength
            int keyLength = bb.writerIndex() - keyStartIndex;
            bb.setShort(keyLengthIndex, keyLength);
            ChannelUtils.writeList(bb, message.value);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFBsnGentableEntryAddVer13(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaCommandReplyVer13.java114
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaCommandReplyVer14.java114
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaCommandReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x42L;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaCommandReply.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnLuaCommandReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                byte[] data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFBsnLuaCommandReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaCommandRequestVer13.java114
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaCommandRequestVer14.java114
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaCommandRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x41L;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaCommandRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnLuaCommandRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                byte[] data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFBsnLuaCommandRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaNotificationVer13.java114
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaNotificationVer14.java114
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaNotification.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x43L;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaNotification.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnLuaNotification build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                byte[] data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFBsnLuaNotificationVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnStatsReplyVer13.java38
org/projectfloodlight/openflow/protocol/ver13/OFCalientStatsReplyVer13.java38
org/projectfloodlight/openflow/protocol/ver13/OFExperimenterStatsReplyVer13.java38
        public OFBsnStatsReply readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            OFStatsReplyFlagsSerializerVer13.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsEntryVer13.java522
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsEntryVer14.java576
        OFQueueStatsEntryVer13 other = (OFQueueStatsEntryVer13) obj;

        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if( queueId != other.queueId)
            return false;
        if (txBytes == null) {
            if (other.txBytes != null)
                return false;
        } else if (!txBytes.equals(other.txBytes))
            return false;
        if (txPackets == null) {
            if (other.txPackets != null)
                return false;
        } else if (!txPackets.equals(other.txPackets))
            return false;
        if (txErrors == null) {
            if (other.txErrors != null)
                return false;
        } else if (!txErrors.equals(other.txErrors))
            return false;
        if( durationSec != other.durationSec)
            return false;
        if( durationNsec != other.durationNsec)
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnStatsReplyVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFExperimenterStatsReplyVer14.java38
        public OFBsnStatsReply readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            OFStatsReplyFlagsSerializerVer14.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
FileLine
net/onrc/openvirtex/elements/link/OVXLink.java570
net/onrc/openvirtex/messages/ver13/OVXFlowAddVer13.java219
            log.warn("Timeout interrupted; might be a problem if you are running POX.");
        }
    }

    private OFMatchV3 addtoMatch(OFMatchV3 myMatch, OFPort port) {
        OFMatchV3 newMatch;
        OFOxmList myList = myMatch.getOxmList();
        OFOxmInPort oxmInPort = new OFOxmInPortVer13(port);
        Map <MatchFields, OFOxm<?>> oxmMap = new LinkedHashMap<>();
        oxmMap.put(MatchFields.IN_PORT, oxmInPort);
        for (OFOxm<?> ofOxm : myList) {
            if (ofOxm instanceof OFOxmInPort) continue;
            System.out.println(ofOxm.getMatchField().id.toString());
            oxmMap.put(ofOxm.getMatchField().id, ofOxm);
        }

        OFOxmList oxmList = new OFOxmList(oxmMap);
        System.out.println(myList.toString());

        System.out.println(oxmList.toString());
        newMatch = OVXFactoryInst.myFactory.buildMatchV3().setOxmList(oxmList).build();
        return newMatch;

    }
FileLine
net/onrc/openvirtex/messages/ver13/OVXFlowAddVer13.java220
net/onrc/openvirtex/messages/ver13/OVXPacketInVer13.java335
        }
    }


    private OFMatchV3 addtoMatch(OFMatchV3 myMatch, OFPort port) {
        OFMatchV3 newMatch;
        OFOxmList myList = myMatch.getOxmList();
        OFOxmInPort oxmInPort = new OFOxmInPortVer13(port);
        Map <MatchFields, OFOxm<?>> oxmMap = new LinkedHashMap<>();
        oxmMap.put(MatchFields.IN_PORT, oxmInPort);
        for (OFOxm<?> ofOxm : myList) {
            if (ofOxm instanceof OFOxmInPort) continue;
            System.out.println(ofOxm.getMatchField().id.toString());
            oxmMap.put(ofOxm.getMatchField().id, ofOxm);
        }

        OFOxmList oxmList = new OFOxmList(oxmMap);
        System.out.println(myList.toString());

        System.out.println(oxmList.toString());
        newMatch = OVXFactoryInst.myFactory.buildMatchV3().setOxmList(oxmList).build();
        return newMatch;

    }

    private boolean isActionViolates(List<OFAction> origActions) {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnMirrorVer10.java116
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnMirrorVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnMirrorVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnMirrorVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnMirrorVer14.java116
        BuilderWithParent(OFActionBsnMirrorVer10 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }

    @Override
    public OFPort getDestPort() {
        return destPort;
    }

    @Override
    public OFActionBsnMirror.Builder setDestPort(OFPort destPort) {
        this.destPort = destPort;
        this.destPortSet = true;
        return this;
    }
    @Override
    public long getVlanTag() {
        return vlanTag;
    }

    @Override
    public OFActionBsnMirror.Builder setVlanTag(long vlanTag) {
        this.vlanTag = vlanTag;
        this.vlanTagSet = true;
        return this;
    }
    @Override
    public short getCopyStage() {
        return copyStage;
    }

    @Override
    public OFActionBsnMirror.Builder setCopyStage(short copyStage) {
        this.copyStage = copyStage;
        this.copyStageSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableSetReplyVer10.java120
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableSetReplyVer11.java200
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableSetReplyVer12.java200
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableSetReplyVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableSetReplyVer14.java200
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x17L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableSetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableSetReplyVer10.java200
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableSetReplyVer11.java120
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableSetReplyVer12.java120
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableSetReplyVer13.java120
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableSetReplyVer14.java120
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x17L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnBwEnableSetReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
//
        @Override
        public OFBsnBwEnableSetReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetInterfacesReplyVer10.java182
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetInterfacesReplyVer11.java182
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetInterfacesReplyVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetInterfacesReplyVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetInterfacesReplyVer14.java182
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetInterfacesReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public List<OFBsnInterface> getInterfaces() {
        return interfaces;
    }

    @Override
    public OFBsnGetInterfacesReply.Builder setInterfaces(List<OFBsnInterface> interfaces) {
        this.interfaces = interfaces;
        this.interfacesSet = true;
        return this;
    }
//
        @Override
        public OFBsnGetInterfacesReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            List<OFBsnInterface> interfaces = this.interfacesSet ? this.interfaces : DEFAULT_INTERFACES;
            if(interfaces == null)
                throw new NullPointerException("Property interfaces must not be null");


            return new OFBsnGetInterfacesReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxTimeoutVer10.java123
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxTimeoutVer11.java205
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxTimeoutVer12.java205
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxTimeoutVer13.java205
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxTimeoutVer14.java205
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x23L;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }


        @Override
        public OFBsnPduRxTimeout build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxTimeoutVer10.java205
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxTimeoutVer11.java123
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxTimeoutVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxTimeoutVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxTimeoutVer14.java123
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x23L;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public OFBsnPduRxTimeout.Builder setSlotNum(short slotNum) {
        this.slotNum = slotNum;
        this.slotNumSet = true;
        return this;
    }
//
        @Override
        public OFBsnPduRxTimeout build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortCreateReplyVer10.java120
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortCreateReplyVer11.java200
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortCreateReplyVer12.java200
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortCreateReplyVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortCreateReplyVer14.java200
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public long getVportNo() {
        return vportNo;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setVportNo(long vportNo) {
        this.vportNo = vportNo;
        this.vportNoSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortCreateReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortCreateReplyVer10.java200
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortCreateReplyVer11.java120
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortCreateReplyVer12.java120
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortCreateReplyVer13.java120
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortCreateReplyVer14.java120
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public long getVportNo() {
        return vportNo;
    }

    @Override
    public OFBsnVirtualPortCreateReply.Builder setVportNo(long vportNo) {
        this.vportNo = vportNo;
        this.vportNoSet = true;
        return this;
    }
//
        @Override
        public OFBsnVirtualPortCreateReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsReplyVer10.java274
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsReplyVer10.java277
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsReplyVer10.java274
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsReplyVer10.java274
            int start = bb.readerIndex();
            // fixed value property version == 1
            byte version = bb.readByte();
            if(version != (byte) 0x1)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 17
            byte type = bb.readByte();
            if(type != (byte) 0x11)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(17), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 1
            short statsType = bb.readShort();
            if(statsType != (short) 0x1)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortConfigSerializerVer10.java41
org/projectfloodlight/openflow/protocol/ver11/OFPortConfigSerializerVer11.java38
org/projectfloodlight/openflow/protocol/ver12/OFPortConfigSerializerVer12.java38
org/projectfloodlight/openflow/protocol/ver13/OFPortConfigSerializerVer13.java38
org/projectfloodlight/openflow/protocol/ver14/OFPortConfigSerializerVer14.java38
    public final static int NO_FWD_VAL = 0x20;
    public final static int NO_PACKET_IN_VAL = 0x40;
    public final static int BSN_MIRROR_DEST_VAL = (int) 0x80000000;

    public static Set<OFPortConfig> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFPortConfig> set) {
        bb.writeInt(toWireValue(set));
    }

    public static void putTo(Set<OFPortConfig> set, PrimitiveSink sink) {
        sink.putInt(toWireValue(set));
    }


    public static Set<OFPortConfig> ofWireValue(int val) {
        EnumSet<OFPortConfig> set = EnumSet.noneOf(OFPortConfig.class);

        if((val & PORT_DOWN_VAL) != 0)
            set.add(OFPortConfig.PORT_DOWN);
        if((val & NO_STP_VAL) != 0)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsEntryVer11.java161
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsEntryVer12.java161
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsEntryVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsEntryVer14.java161
                return new OFGroupDescStatsEntryVer11(
                    groupType,
                    group,
                    buckets
                );
        }

    }

    static class Builder implements OFGroupDescStatsEntry.Builder {
        // OF message fields
        private boolean groupTypeSet;
        private OFGroupType groupType;
        private boolean groupSet;
        private OFGroup group;
        private boolean bucketsSet;
        private List<OFBucket> buckets;

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPacketQueueVer12.java161
org/projectfloodlight/openflow/protocol/ver13/OFPacketQueueVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFPacketQueueVer14.java161
                return new OFPacketQueueVer12(
                    queueId,
                    port,
                    properties
                );
        }

    }

    static class Builder implements OFPacketQueue.Builder {
        // OF message fields
        private boolean queueIdSet;
        private long queueId;
        private boolean portSet;
        private OFPort port;
        private boolean propertiesSet;
        private List<OFQueueProp> properties;

    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFPacketQueue.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFPacketQueue.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public List<OFQueueProp> getProperties() {
        return properties;
    }

    @Override
    public OFPacketQueue.Builder setProperties(List<OFQueueProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnArpIdleVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFBsnArpIdleVer14.java205
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnArpIdle.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3cL;
    }

    @Override
    public int getVlanVid() {
        return vlanVid;
    }

    @Override
    public OFBsnArpIdle.Builder setVlanVid(int vlanVid) {
        this.vlanVid = vlanVid;
        this.vlanVidSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Addr() {
        return ipv4Addr;
    }

    @Override
    public OFBsnArpIdle.Builder setIpv4Addr(IPv4Address ipv4Addr) {
        this.ipv4Addr = ipv4Addr;
        this.ipv4AddrSet = true;
        return this;
    }


        @Override
        public OFBsnArpIdle build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnArpIdleVer13.java205
org/projectfloodlight/openflow/protocol/ver14/OFBsnArpIdleVer14.java123
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnArpIdle.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3cL;
    }

    @Override
    public int getVlanVid() {
        return vlanVid;
    }

    @Override
    public OFBsnArpIdle.Builder setVlanVid(int vlanVid) {
        this.vlanVid = vlanVid;
        this.vlanVidSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Addr() {
        return ipv4Addr;
    }

    @Override
    public OFBsnArpIdle.Builder setIpv4Addr(IPv4Address ipv4Addr) {
        this.ipv4Addr = ipv4Addr;
        this.ipv4AddrSet = true;
        return this;
    }
//
        @Override
        public OFBsnArpIdle build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionsReplyVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionsReplyVer14.java182
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnControllerConnectionsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x39L;
    }

    @Override
    public List<OFBsnControllerConnection> getConnections() {
        return connections;
    }

    @Override
    public OFBsnControllerConnectionsReply.Builder setConnections(List<OFBsnControllerConnection> connections) {
        this.connections = connections;
        this.connectionsSet = true;
        return this;
    }
//
        @Override
        public OFBsnControllerConnectionsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            List<OFBsnControllerConnection> connections = this.connectionsSet ? this.connections : DEFAULT_CONNECTIONS;
            if(connections == null)
                throw new NullPointerException("Property connections must not be null");


            return new OFBsnControllerConnectionsReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableSetReplyVer13.java120
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableSetReplyVer14.java200
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdleEnableSetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x25L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnFlowIdleEnableSetReply.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnFlowIdleEnableSetReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnFlowIdleEnableSetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableSetReplyVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableSetReplyVer14.java120
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdleEnableSetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x25L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnFlowIdleEnableSetReply.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnFlowIdleEnableSetReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
//
        @Override
        public OFBsnFlowIdleEnableSetReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableSetBucketsSizeVer13.java118
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableSetBucketsSizeVer14.java200
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableSetBucketsSize.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x32L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableSetBucketsSize.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getBucketsSize() {
        return bucketsSize;
    }

    @Override
    public OFBsnGentableSetBucketsSize.Builder setBucketsSize(long bucketsSize) {
        this.bucketsSize = bucketsSize;
        this.bucketsSizeSet = true;
        return this;
    }


        @Override
        public OFBsnGentableSetBucketsSize build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableSetBucketsSizeVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableSetBucketsSizeVer14.java118
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableSetBucketsSize.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x32L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableSetBucketsSize.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getBucketsSize() {
        return bucketsSize;
    }

    @Override
    public OFBsnGentableSetBucketsSize.Builder setBucketsSize(long bucketsSize) {
        this.bucketsSize = bucketsSize;
        this.bucketsSizeSet = true;
        return this;
    }
//
        @Override
        public OFBsnGentableSetBucketsSize build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLogVer13.java121
org/projectfloodlight/openflow/protocol/ver14/OFBsnLogVer14.java205
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLog.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3fL;
    }

    @Override
    public OFBsnLoglevel getLoglevel() {
        return loglevel;
    }

    @Override
    public OFBsnLog.Builder setLoglevel(OFBsnLoglevel loglevel) {
        this.loglevel = loglevel;
        this.loglevelSet = true;
        return this;
    }
    @Override
    public String getData() {
        return data;
    }

    @Override
    public OFBsnLog.Builder setData(String data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnLog build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLogVer13.java205
org/projectfloodlight/openflow/protocol/ver14/OFBsnLogVer14.java121
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLog.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3fL;
    }

    @Override
    public OFBsnLoglevel getLoglevel() {
        return loglevel;
    }

    @Override
    public OFBsnLog.Builder setLoglevel(OFBsnLoglevel loglevel) {
        this.loglevel = loglevel;
        this.loglevelSet = true;
        return this;
    }
    @Override
    public String getData() {
        return data;
    }

    @Override
    public OFBsnLog.Builder setData(String data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBsnLog build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetAuxCxnsReplyVer13.java120
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetAuxCxnsReplyVer14.java200
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetAuxCxnsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3bL;
    }

    @Override
    public long getNumAux() {
        return numAux;
    }

    @Override
    public OFBsnSetAuxCxnsReply.Builder setNumAux(long numAux) {
        this.numAux = numAux;
        this.numAuxSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetAuxCxnsReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnSetAuxCxnsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetAuxCxnsReplyVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetAuxCxnsReplyVer14.java120
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetAuxCxnsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3bL;
    }

    @Override
    public long getNumAux() {
        return numAux;
    }

    @Override
    public OFBsnSetAuxCxnsReply.Builder setNumAux(long numAux) {
        this.numAux = numAux;
        this.numAuxSet = true;
        return this;
    }
    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetAuxCxnsReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
//
        @Override
        public OFBsnSetAuxCxnsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpReplyVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpReplyVer14.java205
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetLacpReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2aL;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetLacpReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnSetLacpReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }


        @Override
        public OFBsnSetLacpReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpReplyVer13.java205
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpReplyVer14.java123
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetLacpReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2aL;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetLacpReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnSetLacpReply.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
//
        @Override
        public OFBsnSetLacpReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableSetBucketsSizeVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableSetBucketsSizeVer14.java205
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTableSetBucketsSize.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3dL;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnTableSetBucketsSize.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getBucketsSize() {
        return bucketsSize;
    }

    @Override
    public OFBsnTableSetBucketsSize.Builder setBucketsSize(long bucketsSize) {
        this.bucketsSize = bucketsSize;
        this.bucketsSizeSet = true;
        return this;
    }


        @Override
        public OFBsnTableSetBucketsSize build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableSetBucketsSizeVer13.java205
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableSetBucketsSizeVer14.java123
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTableSetBucketsSize.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3dL;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnTableSetBucketsSize.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getBucketsSize() {
        return bucketsSize;
    }

    @Override
    public OFBsnTableSetBucketsSize.Builder setBucketsSize(long bucketsSize) {
        this.bucketsSize = bucketsSize;
        this.bucketsSizeSet = true;
        return this;
    }
//
        @Override
        public OFBsnTableSetBucketsSize build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigVer13.java156
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigVer14.java156
                return new OFMeterConfigVer13(
                    flags,
                    meterId,
                    entries
                );
        }

    }

    static class Builder implements OFMeterConfig.Builder {
        // OF message fields
        private boolean flagsSet;
        private int flags;
        private boolean meterIdSet;
        private long meterId;
        private boolean entriesSet;
        private List<OFMeterBand> entries;

    @Override
    public int getFlags() {
        return flags;
    }

    @Override
    public OFMeterConfig.Builder setFlags(int flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterConfig.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }
    @Override
    public List<OFMeterBand> getEntries() {
        return entries;
    }

    @Override
    public OFMeterConfig.Builder setEntries(List<OFMeterBand> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
net/onrc/openvirtex/elements/link/OVXLink.java571
net/onrc/openvirtex/messages/ver13/OVXPacketInVer13.java335
        }
    }

    private OFMatchV3 addtoMatch(OFMatchV3 myMatch, OFPort port) {
        OFMatchV3 newMatch;
        OFOxmList myList = myMatch.getOxmList();
        OFOxmInPort oxmInPort = new OFOxmInPortVer13(port);
        Map <MatchFields, OFOxm<?>> oxmMap = new LinkedHashMap<>();
        oxmMap.put(MatchFields.IN_PORT, oxmInPort);
        for (OFOxm<?> ofOxm : myList) {
            if (ofOxm instanceof OFOxmInPort) continue;
            System.out.println(ofOxm.getMatchField().id.toString());
            oxmMap.put(ofOxm.getMatchField().id, ofOxm);
        }

        OFOxmList oxmList = new OFOxmList(oxmMap);
        System.out.println(myList.toString());

        System.out.println(oxmList.toString());
        newMatch = OVXFactoryInst.myFactory.buildMatchV3().setOxmList(oxmList).build();
        return newMatch;

    }
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBadActionErrorMsgVer10.java378
org/projectfloodlight/openflow/protocol/ver10/OFBadRequestErrorMsgVer10.java378
org/projectfloodlight/openflow/protocol/ver10/OFFlowModFailedErrorMsgVer10.java378
org/projectfloodlight/openflow/protocol/ver10/OFHelloFailedErrorMsgVer10.java378
org/projectfloodlight/openflow/protocol/ver10/OFPortModFailedErrorMsgVer10.java378
org/projectfloodlight/openflow/protocol/ver10/OFQueueOpFailedErrorMsgVer10.java378
org/projectfloodlight/openflow/protocol/ver11/OFBadActionErrorMsgVer11.java378
org/projectfloodlight/openflow/protocol/ver11/OFBadInstructionErrorMsgVer11.java378
org/projectfloodlight/openflow/protocol/ver11/OFBadMatchErrorMsgVer11.java378
org/projectfloodlight/openflow/protocol/ver11/OFBadRequestErrorMsgVer11.java378
org/projectfloodlight/openflow/protocol/ver11/OFFlowModFailedErrorMsgVer11.java378
org/projectfloodlight/openflow/protocol/ver11/OFGroupModFailedErrorMsgVer11.java378
org/projectfloodlight/openflow/protocol/ver11/OFHelloFailedErrorMsgVer11.java378
org/projectfloodlight/openflow/protocol/ver11/OFPortModFailedErrorMsgVer11.java378
org/projectfloodlight/openflow/protocol/ver11/OFQueueOpFailedErrorMsgVer11.java378
org/projectfloodlight/openflow/protocol/ver11/OFSwitchConfigFailedErrorMsgVer11.java378
org/projectfloodlight/openflow/protocol/ver11/OFTableModFailedErrorMsgVer11.java378
org/projectfloodlight/openflow/protocol/ver12/OFBadActionErrorMsgVer12.java378
org/projectfloodlight/openflow/protocol/ver12/OFBadInstructionErrorMsgVer12.java378
org/projectfloodlight/openflow/protocol/ver12/OFBadMatchErrorMsgVer12.java378
org/projectfloodlight/openflow/protocol/ver12/OFBadRequestErrorMsgVer12.java378
org/projectfloodlight/openflow/protocol/ver12/OFFlowModFailedErrorMsgVer12.java378
org/projectfloodlight/openflow/protocol/ver12/OFGroupModFailedErrorMsgVer12.java378
org/projectfloodlight/openflow/protocol/ver12/OFHelloFailedErrorMsgVer12.java378
org/projectfloodlight/openflow/protocol/ver12/OFPortModFailedErrorMsgVer12.java378
org/projectfloodlight/openflow/protocol/ver12/OFQueueOpFailedErrorMsgVer12.java378
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestFailedErrorMsgVer12.java378
org/projectfloodlight/openflow/protocol/ver12/OFSwitchConfigFailedErrorMsgVer12.java378
org/projectfloodlight/openflow/protocol/ver12/OFTableModFailedErrorMsgVer12.java378
org/projectfloodlight/openflow/protocol/ver13/OFBadActionErrorMsgVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFBadInstructionErrorMsgVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFBadMatchErrorMsgVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFBadRequestErrorMsgVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFFlowModFailedErrorMsgVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFGroupModFailedErrorMsgVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFHelloFailedErrorMsgVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFMeterModFailedErrorMsgVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFPortModFailedErrorMsgVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFQueueOpFailedErrorMsgVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestFailedErrorMsgVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFSwitchConfigFailedErrorMsgVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesFailedErrorMsgVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFTableModFailedErrorMsgVer13.java378
org/projectfloodlight/openflow/protocol/ver14/OFAsyncConfigFailedErrorMsgVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFBadActionErrorMsgVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFBadInstructionErrorMsgVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFBadMatchErrorMsgVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFBadPropertyErrorMsgVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFBadRequestErrorMsgVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFBundleFailedErrorMsgVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFFlowModFailedErrorMsgVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFFlowMonitorFailedErrorMsgVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFGroupModFailedErrorMsgVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFHelloFailedErrorMsgVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFMeterModFailedErrorMsgVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFPortModFailedErrorMsgVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFQueueOpFailedErrorMsgVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestFailedErrorMsgVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFSwitchConfigFailedErrorMsgVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesFailedErrorMsgVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFTableModFailedErrorMsgVer14.java378
        OFBadActionErrorMsgVer10 other = (OFBadActionErrorMsgVer10) obj;

        if( xid != other.xid)
            return false;
        if (code == null) {
            if (other.code != null)
                return false;
        } else if (!code.equals(other.code))
            return false;
        if (data == null) {
            if (other.data != null)
                return false;
        } else if (!data.equals(other.data))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((code == null) ? 0 : code.hashCode());
        result = prime * result + ((data == null) ? 0 : data.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowModFlagsSerializerVer10.java38
org/projectfloodlight/openflow/protocol/ver12/OFFlowModFlagsSerializerVer12.java38
    public final static short EMERG_VAL = (short) 0x4;

    public static Set<OFFlowModFlags> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFFlowModFlags> set) {
        bb.writeShort(toWireValue(set));
    }

    public static void putTo(Set<OFFlowModFlags> set, PrimitiveSink sink) {
        sink.putShort(toWireValue(set));
    }


    public static Set<OFFlowModFlags> ofWireValue(short val) {
        EnumSet<OFFlowModFlags> set = EnumSet.noneOf(OFFlowModFlags.class);

        if((val & SEND_FLOW_REM_VAL) != 0)
            set.add(OFFlowModFlags.SEND_FLOW_REM);
        if((val & CHECK_OVERLAP_VAL) != 0)
            set.add(OFFlowModFlags.CHECK_OVERLAP);
        if((val & EMERG_VAL) != 0)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsReplyVer10.java385
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsReplyVer10.java392
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsReplyVer10.java385
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsReplyVer10.java385
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsReplyVer11.java390
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsReplyVer11.java390
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsReplyVer11.java390
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsReplyVer11.java390
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsReplyVer11.java390
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsReplyVer11.java390
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsReplyVer12.java390
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsReplyVer12.java390
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsReplyVer12.java390
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsReplyVer12.java390
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsReplyVer12.java390
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsReplyVer12.java390
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsReplyVer13.java436
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsReplyVer13.java436
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsReplyVer13.java436
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsReplyVer13.java436
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsReplyVer13.java436
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsReplyVer13.java436
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsReplyVer13.java436
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsReplyVer13.java436
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsReplyVer13.java436
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsReplyVer13.java436
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsReplyVer13.java436
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsReplyVer13.java436
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsReplyVer13.java436
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsReplyVer13.java436
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsReplyVer13.java436
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortsReplyVer13.java436
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsReplyVer13.java390
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsReplyVer13.java390
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsReplyVer13.java390
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsReplyVer13.java390
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsReplyVer13.java390
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsReplyVer13.java390
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsReplyVer13.java390
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsReplyVer13.java390
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsReplyVer13.java393
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsRequestVer13.java390
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsReplyVer13.java390
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsReplyVer14.java436
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsReplyVer14.java436
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsReplyVer14.java436
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsReplyVer14.java436
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsReplyVer14.java436
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsReplyVer14.java436
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsReplyVer14.java436
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsReplyVer14.java436
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsReplyVer14.java436
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsReplyVer14.java436
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsReplyVer14.java436
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsReplyVer14.java436
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsReplyVer14.java436
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsReplyVer14.java436
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsReplyVer14.java436
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsReplyVer14.java390
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsReplyVer14.java390
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsReplyVer14.java390
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsReplyVer14.java390
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsReplyVer14.java390
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsReplyVer14.java390
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsReplyVer14.java390
org/projectfloodlight/openflow/protocol/ver14/OFQueueDescStatsReplyVer14.java390
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsReplyVer14.java390
org/projectfloodlight/openflow/protocol/ver14/OFTableDescStatsReplyVer14.java390
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsReplyVer14.java390
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsRequestVer14.java390
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsReplyVer14.java390
        OFFlowStatsReplyVer10 other = (OFFlowStatsReplyVer10) obj;

        if( xid != other.xid)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if (entries == null) {
            if (other.entries != null)
                return false;
        } else if (!entries.equals(other.entries))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((entries == null) ? 0 : entries.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsRequestVer10.java386
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsRequestVer11.java388
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsRequestVer12.java388
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsRequestVer13.java429
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsRequestVer13.java434
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsRequestVer13.java388
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsRequestVer14.java429
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsRequestVer14.java388
        OFPortStatsRequestVer10 other = (OFPortStatsRequestVer10) obj;

        if( xid != other.xid)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatusVer10.java355
org/projectfloodlight/openflow/protocol/ver11/OFPortStatusVer11.java355
org/projectfloodlight/openflow/protocol/ver12/OFPortStatusVer12.java355
org/projectfloodlight/openflow/protocol/ver13/OFPortStatusVer13.java355
org/projectfloodlight/openflow/protocol/ver14/OFPortStatusVer14.java360
        OFPortStatusVer10 other = (OFPortStatusVer10) obj;

        if( xid != other.xid)
            return false;
        if (reason == null) {
            if (other.reason != null)
                return false;
        } else if (!reason.equals(other.reason))
            return false;
        if (desc == null) {
            if (other.desc != null)
                return false;
        } else if (!desc.equals(other.desc))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((reason == null) ? 0 : reason.hashCode());
        result = prime * result + ((desc == null) ? 0 : desc.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueGetConfigReplyVer10.java366
org/projectfloodlight/openflow/protocol/ver11/OFQueueGetConfigReplyVer11.java366
org/projectfloodlight/openflow/protocol/ver12/OFQueueGetConfigReplyVer12.java366
org/projectfloodlight/openflow/protocol/ver13/OFQueueGetConfigReplyVer13.java366
        OFQueueGetConfigReplyVer10 other = (OFQueueGetConfigReplyVer10) obj;

        if( xid != other.xid)
            return false;
        if (port == null) {
            if (other.port != null)
                return false;
        } else if (!port.equals(other.port))
            return false;
        if (queues == null) {
            if (other.queues != null)
                return false;
        } else if (!queues.equals(other.queues))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((port == null) ? 0 : port.hashCode());
        result = prime * result + ((queues == null) ? 0 : queues.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsEntryVer10.java722
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsEntryVer11.java843
        if( wildcards != other.wildcards)
            return false;
        if( maxEntries != other.maxEntries)
            return false;
        if( activeCount != other.activeCount)
            return false;
        if (lookupCount == null) {
            if (other.lookupCount != null)
                return false;
        } else if (!lookupCount.equals(other.lookupCount))
            return false;
        if (matchedCount == null) {
            if (other.matchedCount != null)
                return false;
        } else if (!matchedCount.equals(other.matchedCount))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime * result + ((name == null) ? 0 : name.hashCode());
        result = prime * result + wildcards;
        result = prime *  (int) (maxEntries ^ (maxEntries >>> 32));
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsRequestVer11.java388
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsRequestVer12.java388
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsRequestVer13.java388
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsRequestVer14.java388
        OFGroupStatsRequestVer11 other = (OFGroupStatsRequestVer11) obj;

        if( xid != other.xid)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if (group == null) {
            if (other.group != null)
                return false;
        } else if (!group.equals(other.group))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((group == null) ? 0 : group.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFStatsTypeSerializerVer11.java40
org/projectfloodlight/openflow/protocol/ver12/OFStatsTypeSerializerVer12.java41
org/projectfloodlight/openflow/protocol/ver13/OFStatsTypeSerializerVer13.java46
org/projectfloodlight/openflow/protocol/ver14/OFStatsTypeSerializerVer14.java49
    public final static short EXPERIMENTER_VAL = (short) 0xffff;

    public static OFStatsType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFStatsType e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFStatsType e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFStatsType ofWireValue(short val) {
        switch(val) {
            case DESC_VAL:
                return OFStatsType.DESC;
            case FLOW_VAL:
                return OFStatsType.FLOW;
            case AGGREGATE_VAL:
                return OFStatsType.AGGREGATE;
            case TABLE_VAL:
                return OFStatsType.TABLE;
            case PORT_VAL:
                return OFStatsType.PORT;
            case QUEUE_VAL:
                return OFStatsType.QUEUE;
            case GROUP_VAL:
                return OFStatsType.GROUP;
            case GROUP_DESC_VAL:
                return OFStatsType.GROUP_DESC;
            case EXPERIMENTER_VAL:
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpOpMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpOpMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80002b04L;
    }

    @Override
    public ArpOpcode getValue() {
        return value;
    }

    @Override
    public OFOxmArpOpMasked.Builder setValue(ArpOpcode value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ArpOpcode getMask() {
        return mask;
    }

    @Override
    public OFOxmArpOpMasked.Builder setMask(ArpOpcode mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ArpOpcode> getMatchField() {
        return MatchField.ARP_OP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ArpOpcode> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmArpOpMasked build() {
                ArpOpcode value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpShaMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpShaMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x8000310cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpShaMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmArpShaMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_SHA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmArpShaMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpSpaMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpSpaMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80002d08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpSpaMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmArpSpaMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_SPA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmArpSpaMasked build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpThaMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpThaMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x8000330cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpThaMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmArpThaMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_THA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmArpThaMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpTpaMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpTpaMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80002f08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpTpaMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmArpTpaMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_TPA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmArpTpaMasked build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnEgrPortGroupIdMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnEgrPortGroupIdMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x30f08L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnEgrPortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnEgrPortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_EGR_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnEgrPortGroupIdMasked build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnGlobalVrfAllowedMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnGlobalVrfAllowedMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x30702L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmBsnGlobalVrfAllowedMasked.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBooleanValue getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnGlobalVrfAllowedMasked.Builder setMask(OFBooleanValue mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.BSN_GLOBAL_VRF_ALLOWED;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnGlobalVrfAllowedMasked build() {
                OFBooleanValue value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts128MaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts128MaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x30120L;
    }

    @Override
    public OFBitMask128 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts128Masked.Builder setValue(OFBitMask128 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBitMask128 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInPorts128Masked.Builder setMask(OFBitMask128 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask128> getMatchField() {
        return MatchField.BSN_IN_PORTS_128;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBitMask128> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnInPorts128Masked build() {
                OFBitMask128 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts512MaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts512MaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x32780L;
    }

    @Override
    public OFBitMask512 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts512Masked.Builder setValue(OFBitMask512 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBitMask512 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInPorts512Masked.Builder setMask(OFBitMask512 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask512> getMatchField() {
        return MatchField.BSN_IN_PORTS_512;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBitMask512> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnInPorts512Masked build() {
                OFBitMask512 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnIngressPortGroupIdMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnIngressPortGroupIdMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x32908L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnIngressPortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnIngressPortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_INGRESS_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnIngressPortGroupIdMasked build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL2CacheHitMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL2CacheHitMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x32502L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL2CacheHitMasked.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBooleanValue getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL2CacheHitMasked.Builder setMask(OFBooleanValue mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.BSN_L2_CACHE_HIT;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnL2CacheHitMasked build() {
                OFBooleanValue value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3DstClassIdMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3DstClassIdMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x30d08L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3DstClassIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL3DstClassIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_DST_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnL3DstClassIdMasked build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3InterfaceClassIdMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3InterfaceClassIdMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x30908L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3InterfaceClassIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL3InterfaceClassIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_INTERFACE_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnL3InterfaceClassIdMasked build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3SrcClassIdMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3SrcClassIdMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x30b08L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3SrcClassIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL3SrcClassIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_SRC_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnL3SrcClassIdMasked build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnLagIdMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnLagIdMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x30308L;
    }

    @Override
    public LagId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnLagIdMasked.Builder setValue(LagId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public LagId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnLagIdMasked.Builder setMask(LagId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<LagId> getMatchField() {
        return MatchField.BSN_LAG_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<LagId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnLagIdMasked build() {
                LagId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnTcpFlagsMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnTcpFlagsMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x32104L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnTcpFlagsMasked.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U16 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnTcpFlagsMasked.Builder setMask(U16 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.BSN_TCP_FLAGS;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnTcpFlagsMasked build() {
                U16 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf0MaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf0MaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x31108L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf0Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf0Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF0;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnUdf0Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf1MaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf1MaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x31308L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf1Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf1Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF1;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnUdf1Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf2MaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf2MaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x31508L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf2Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf2Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF2;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnUdf2Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf3MaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf3MaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x31708L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf3Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf3Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF3;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnUdf3Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf4MaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf4MaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x31908L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf4Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf4Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF4;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnUdf4Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf5MaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf5MaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x31b08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf5Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf5Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF5;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnUdf5Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf6MaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf6MaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x31d08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf6Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf6Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF6;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnUdf6Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf7MaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf7MaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x31f08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf7Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf7Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF7;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnUdf7Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVlanXlatePortGroupIdMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVlanXlatePortGroupIdMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x32308L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVlanXlatePortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnVlanXlatePortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_VLAN_XLATE_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnVlanXlatePortGroupIdMasked build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVrfMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVrfMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x30508L;
    }

    @Override
    public VRF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVrfMasked.Builder setValue(VRF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public VRF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnVrfMasked.Builder setMask(VRF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<VRF> getMatchField() {
        return MatchField.BSN_VRF;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<VRF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnVrfMasked build() {
                VRF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthDstMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthDstMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x8000070cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthDstMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmEthDstMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmEthDstMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthSrcMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthSrcMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x8000090cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthSrcMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmEthSrcMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmEthSrcMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthTypeMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthTypeMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80000b04L;
    }

    @Override
    public EthType getValue() {
        return value;
    }

    @Override
    public OFOxmEthTypeMasked.Builder setValue(EthType value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public EthType getMask() {
        return mask;
    }

    @Override
    public OFOxmEthTypeMasked.Builder setMask(EthType mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<EthType> getMatchField() {
        return MatchField.ETH_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<EthType> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmEthTypeMasked build() {
                EthType value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4CodeMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4CodeMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80002902L;
    }

    @Override
    public ICMPv4Code getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4CodeMasked.Builder setValue(ICMPv4Code value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ICMPv4Code getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv4CodeMasked.Builder setMask(ICMPv4Code mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Code> getMatchField() {
        return MatchField.ICMPV4_CODE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ICMPv4Code> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIcmpv4CodeMasked build() {
                ICMPv4Code value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4TypeMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4TypeMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80002702L;
    }

    @Override
    public ICMPv4Type getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4TypeMasked.Builder setValue(ICMPv4Type value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ICMPv4Type getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv4TypeMasked.Builder setMask(ICMPv4Type mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Type> getMatchField() {
        return MatchField.ICMPV4_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ICMPv4Type> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIcmpv4TypeMasked build() {
                ICMPv4Type value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6CodeMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6CodeMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80003d02L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6CodeMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv6CodeMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_CODE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIcmpv6CodeMasked build() {
                U8 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6TypeMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6TypeMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80003b02L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6TypeMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv6TypeMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIcmpv6TypeMasked build() {
                U8 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPhyPortMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPhyPortMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80000308L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPhyPortMasked.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFPort getMask() {
        return mask;
    }

    @Override
    public OFOxmInPhyPortMasked.Builder setMask(OFPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PHY_PORT;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmInPhyPortMasked build() {
                OFPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPortMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPortMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80000108L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPortMasked.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFPort getMask() {
        return mask;
    }

    @Override
    public OFOxmInPortMasked.Builder setMask(OFPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PORT;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmInPortMasked build() {
                OFPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpDscpMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpDscpMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80001102L;
    }

    @Override
    public IpDscp getValue() {
        return value;
    }

    @Override
    public OFOxmIpDscpMasked.Builder setValue(IpDscp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpDscp getMask() {
        return mask;
    }

    @Override
    public OFOxmIpDscpMasked.Builder setMask(IpDscp mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpDscp> getMatchField() {
        return MatchField.IP_DSCP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpDscp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpDscpMasked build() {
                IpDscp value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpEcnMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpEcnMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80001302L;
    }

    @Override
    public IpEcn getValue() {
        return value;
    }

    @Override
    public OFOxmIpEcnMasked.Builder setValue(IpEcn value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpEcn getMask() {
        return mask;
    }

    @Override
    public OFOxmIpEcnMasked.Builder setMask(IpEcn mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpEcn> getMatchField() {
        return MatchField.IP_ECN;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpEcn> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpEcnMasked build() {
                IpEcn value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpProtoMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpProtoMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80001502L;
    }

    @Override
    public IpProtocol getValue() {
        return value;
    }

    @Override
    public OFOxmIpProtoMasked.Builder setValue(IpProtocol value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpProtocol getMask() {
        return mask;
    }

    @Override
    public OFOxmIpProtoMasked.Builder setMask(IpProtocol mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpProtocol> getMatchField() {
        return MatchField.IP_PROTO;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpProtocol> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpProtoMasked build() {
                IpProtocol value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4DstMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4DstMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80001908L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4DstMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv4DstMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpv4DstMasked build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4SrcMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4SrcMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80001708L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4SrcMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv4SrcMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpv4SrcMasked build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6DstMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6DstMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80003720L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6DstMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6DstMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpv6DstMasked build() {
                IPv6Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6FlabelMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6FlabelMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80003908L;
    }

    @Override
    public IPv6FlowLabel getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6FlabelMasked.Builder setValue(IPv6FlowLabel value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6FlowLabel getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6FlabelMasked.Builder setMask(IPv6FlowLabel mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6FlowLabel> getMatchField() {
        return MatchField.IPV6_FLABEL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6FlowLabel> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpv6FlabelMasked build() {
                IPv6FlowLabel value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdSllMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdSllMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x8000410cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdSllMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdSllMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_SLL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpv6NdSllMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTargetMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTargetMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80003f20L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTargetMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdTargetMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_ND_TARGET;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpv6NdTargetMasked build() {
                IPv6Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTllMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTllMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x8000430cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTllMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdTllMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_TLL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpv6NdTllMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6SrcMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6SrcMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80003520L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6SrcMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6SrcMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpv6SrcMasked build() {
                IPv6Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMetadataMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmMetadataMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80000510L;
    }

    @Override
    public OFMetadata getValue() {
        return value;
    }

    @Override
    public OFOxmMetadataMasked.Builder setValue(OFMetadata value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFMetadata getMask() {
        return mask;
    }

    @Override
    public OFOxmMetadataMasked.Builder setMask(OFMetadata mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFMetadata> getMatchField() {
        return MatchField.METADATA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFMetadata> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmMetadataMasked build() {
                OFMetadata value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsLabelMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsLabelMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80004508L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsLabelMasked.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U32 getMask() {
        return mask;
    }

    @Override
    public OFOxmMplsLabelMasked.Builder setMask(U32 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.MPLS_LABEL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmMplsLabelMasked build() {
                U32 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsTcMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsTcMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80004702L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsTcMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmMplsTcMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.MPLS_TC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmMplsTcMasked build() {
                U8 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpDstMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpDstMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80002504L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmSctpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmSctpDstMasked build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpSrcMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpSrcMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80002304L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmSctpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmSctpSrcMasked build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpDstMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpDstMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80001d04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmTcpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmTcpDstMasked build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpSrcMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpSrcMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80001b04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmTcpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmTcpSrcMasked build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4DstMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4DstMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x14108L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4DstMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmTunnelIpv4DstMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmTunnelIpv4DstMasked build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4SrcMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4SrcMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x13f08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4SrcMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmTunnelIpv4SrcMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmTunnelIpv4SrcMasked build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpDstMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpDstMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80002104L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmUdpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmUdpDstMasked build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpSrcMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpSrcMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80001f04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmUdpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmUdpSrcMasked build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanPcpMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanPcpMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80000f02L;
    }

    @Override
    public VlanPcp getValue() {
        return value;
    }

    @Override
    public OFOxmVlanPcpMasked.Builder setValue(VlanPcp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public VlanPcp getMask() {
        return mask;
    }

    @Override
    public OFOxmVlanPcpMasked.Builder setMask(VlanPcp mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<VlanPcp> getMatchField() {
        return MatchField.VLAN_PCP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<VlanPcp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmVlanPcpMasked build() {
                VlanPcp value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanVidMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanVidMaskedVer12.java197
    @Override
    public long getTypeLen() {
        return 0x80000d04L;
    }

    @Override
    public OFVlanVidMatch getValue() {
        return value;
    }

    @Override
    public OFOxmVlanVidMasked.Builder setValue(OFVlanVidMatch value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFVlanVidMatch getMask() {
        return mask;
    }

    @Override
    public OFOxmVlanVidMasked.Builder setMask(OFVlanVidMatch mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFVlanVidMatch> getMatchField() {
        return MatchField.VLAN_VID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFVlanVidMatch> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmVlanVidMasked build() {
                OFVlanVidMatch value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPacketQueueVer12.java335
org/projectfloodlight/openflow/protocol/ver13/OFPacketQueueVer13.java335
org/projectfloodlight/openflow/protocol/ver14/OFPacketQueueVer14.java335
        OFPacketQueueVer12 other = (OFPacketQueueVer12) obj;

        if( queueId != other.queueId)
            return false;
        if (port == null) {
            if (other.port != null)
                return false;
        } else if (!port.equals(other.port))
            return false;
        if (properties == null) {
            if (other.properties != null)
                return false;
        } else if (!properties.equals(other.properties))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (queueId ^ (queueId >>> 32));
        result = prime * result + ((port == null) ? 0 : port.hashCode());
        result = prime * result + ((properties == null) ? 0 : properties.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleReplyVer12.java355
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestVer12.java355
org/projectfloodlight/openflow/protocol/ver13/OFRoleReplyVer13.java355
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestVer13.java355
org/projectfloodlight/openflow/protocol/ver14/OFRoleReplyVer14.java355
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestVer14.java355
        OFRoleReplyVer12 other = (OFRoleReplyVer12) obj;

        if( xid != other.xid)
            return false;
        if (role == null) {
            if (other.role != null)
                return false;
        } else if (!role.equals(other.role))
            return false;
        if (generationId == null) {
            if (other.generationId != null)
                return false;
        } else if (!generationId.equals(other.generationId))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((role == null) ? 0 : role.hashCode());
        result = prime * result + ((generationId == null) ? 0 : generationId.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsRequestVer13.java429
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsRequestVer13.java425
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsRequestVer14.java429
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsRequestVer14.java425
        OFBsnFlowChecksumBucketStatsRequestVer13 other = (OFBsnFlowChecksumBucketStatsRequestVer13) obj;

        if( xid != other.xid)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDeleteVer13.java403
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDeleteVer14.java403
        OFBsnGentableEntryDeleteVer13 other = (OFBsnGentableEntryDeleteVer13) obj;

        if( xid != other.xid)
            return false;
        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if (key == null) {
            if (other.key != null)
                return false;
        } else if (!key.equals(other.key))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime * result + ((key == null) ? 0 : key.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsEntryVer13.java309
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsEntryVer14.java309
        OFBsnGentableStatsEntryVer13 other = (OFBsnGentableStatsEntryVer13) obj;

        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if( entryCount != other.entryCount)
            return false;
        if (checksum == null) {
            if (other.checksum != null)
                return false;
        } else if (!checksum.equals(other.checksum))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime *  (int) (entryCount ^ (entryCount >>> 32));
        result = prime * result + ((checksum == null) ? 0 : checksum.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLogVer13.java401
org/projectfloodlight/openflow/protocol/ver14/OFBsnLogVer14.java401
        OFBsnLogVer13 other = (OFBsnLogVer13) obj;

        if( xid != other.xid)
            return false;
        if (loglevel == null) {
            if (other.loglevel != null)
                return false;
        } else if (!loglevel.equals(other.loglevel))
            return false;
        if (data == null) {
            if (other.data != null)
                return false;
        } else if (!data.equals(other.data))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((loglevel == null) ? 0 : loglevel.hashCode());
        result = prime * result + ((data == null) ? 0 : data.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesStatsReplyVer13.java379
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesStatsReplyVer14.java379
        OFMeterFeaturesStatsReplyVer13 other = (OFMeterFeaturesStatsReplyVer13) obj;

        if( xid != other.xid)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if (features == null) {
            if (other.features != null)
                return false;
        } else if (!features.equals(other.features))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((features == null) ? 0 : features.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpOpMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpOpMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80002b04L;
    }

    @Override
    public ArpOpcode getValue() {
        return value;
    }

    @Override
    public OFOxmArpOpMasked.Builder setValue(ArpOpcode value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ArpOpcode getMask() {
        return mask;
    }

    @Override
    public OFOxmArpOpMasked.Builder setMask(ArpOpcode mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ArpOpcode> getMatchField() {
        return MatchField.ARP_OP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ArpOpcode> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmArpOpMasked build() {
                ArpOpcode value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpShaMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpShaMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x8000310cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpShaMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmArpShaMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_SHA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmArpShaMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpSpaMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpSpaMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80002d08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpSpaMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmArpSpaMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_SPA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmArpSpaMasked build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpThaMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpThaMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x8000330cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpThaMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmArpThaMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_THA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmArpThaMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpTpaMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpTpaMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80002f08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpTpaMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmArpTpaMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_TPA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmArpTpaMasked build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnEgrPortGroupIdMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnEgrPortGroupIdMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x30f08L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnEgrPortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnEgrPortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_EGR_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnEgrPortGroupIdMasked build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnGlobalVrfAllowedMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnGlobalVrfAllowedMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x30702L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmBsnGlobalVrfAllowedMasked.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBooleanValue getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnGlobalVrfAllowedMasked.Builder setMask(OFBooleanValue mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.BSN_GLOBAL_VRF_ALLOWED;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnGlobalVrfAllowedMasked build() {
                OFBooleanValue value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts128MaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts128MaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x30120L;
    }

    @Override
    public OFBitMask128 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts128Masked.Builder setValue(OFBitMask128 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBitMask128 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInPorts128Masked.Builder setMask(OFBitMask128 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask128> getMatchField() {
        return MatchField.BSN_IN_PORTS_128;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBitMask128> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnInPorts128Masked build() {
                OFBitMask128 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts512MaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts512MaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x32780L;
    }

    @Override
    public OFBitMask512 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts512Masked.Builder setValue(OFBitMask512 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBitMask512 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInPorts512Masked.Builder setMask(OFBitMask512 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask512> getMatchField() {
        return MatchField.BSN_IN_PORTS_512;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBitMask512> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnInPorts512Masked build() {
                OFBitMask512 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnIngressPortGroupIdMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnIngressPortGroupIdMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x32908L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnIngressPortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnIngressPortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_INGRESS_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnIngressPortGroupIdMasked build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthDstMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthDstMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x32d0cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInnerEthDstMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInnerEthDstMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.BSN_INNER_ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnInnerEthDstMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthSrcMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthSrcMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x32f0cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInnerEthSrcMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInnerEthSrcMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.BSN_INNER_ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnInnerEthSrcMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL2CacheHitMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL2CacheHitMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x32502L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL2CacheHitMasked.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBooleanValue getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL2CacheHitMasked.Builder setMask(OFBooleanValue mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.BSN_L2_CACHE_HIT;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnL2CacheHitMasked build() {
                OFBooleanValue value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3DstClassIdMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3DstClassIdMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x30d08L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3DstClassIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL3DstClassIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_DST_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnL3DstClassIdMasked build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3InterfaceClassIdMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3InterfaceClassIdMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x30908L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3InterfaceClassIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL3InterfaceClassIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_INTERFACE_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnL3InterfaceClassIdMasked build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3SrcClassIdMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3SrcClassIdMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x30b08L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3SrcClassIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL3SrcClassIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_SRC_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnL3SrcClassIdMasked build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnLagIdMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnLagIdMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x30308L;
    }

    @Override
    public LagId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnLagIdMasked.Builder setValue(LagId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public LagId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnLagIdMasked.Builder setMask(LagId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<LagId> getMatchField() {
        return MatchField.BSN_LAG_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<LagId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnLagIdMasked build() {
                LagId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnTcpFlagsMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnTcpFlagsMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x32104L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnTcpFlagsMasked.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U16 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnTcpFlagsMasked.Builder setMask(U16 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.BSN_TCP_FLAGS;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnTcpFlagsMasked build() {
                U16 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf0MaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf0MaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x31108L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf0Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf0Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF0;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnUdf0Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf1MaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf1MaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x31308L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf1Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf1Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF1;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnUdf1Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf2MaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf2MaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x31508L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf2Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf2Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF2;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnUdf2Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf3MaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf3MaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x31708L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf3Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf3Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF3;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnUdf3Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf4MaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf4MaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x31908L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf4Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf4Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF4;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnUdf4Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf5MaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf5MaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x31b08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf5Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf5Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF5;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnUdf5Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf6MaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf6MaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x31d08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf6Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf6Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF6;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnUdf6Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf7MaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf7MaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x31f08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf7Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf7Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF7;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnUdf7Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVlanXlatePortGroupIdMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVlanXlatePortGroupIdMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x32308L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVlanXlatePortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnVlanXlatePortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_VLAN_XLATE_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnVlanXlatePortGroupIdMasked build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVrfMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVrfMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x30508L;
    }

    @Override
    public VRF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVrfMasked.Builder setValue(VRF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public VRF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnVrfMasked.Builder setMask(VRF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<VRF> getMatchField() {
        return MatchField.BSN_VRF;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<VRF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnVrfMasked build() {
                VRF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVxlanNetworkIdMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVxlanNetworkIdMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x32b08L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVxlanNetworkIdMasked.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U32 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnVxlanNetworkIdMasked.Builder setMask(U32 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.BSN_VXLAN_NETWORK_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnVxlanNetworkIdMasked build() {
                U32 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthDstMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthDstMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x8000070cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthDstMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmEthDstMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmEthDstMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthSrcMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthSrcMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x8000090cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthSrcMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmEthSrcMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmEthSrcMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthTypeMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthTypeMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80000b04L;
    }

    @Override
    public EthType getValue() {
        return value;
    }

    @Override
    public OFOxmEthTypeMasked.Builder setValue(EthType value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public EthType getMask() {
        return mask;
    }

    @Override
    public OFOxmEthTypeMasked.Builder setMask(EthType mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<EthType> getMatchField() {
        return MatchField.ETH_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<EthType> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmEthTypeMasked build() {
                EthType value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4CodeMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4CodeMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80002902L;
    }

    @Override
    public ICMPv4Code getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4CodeMasked.Builder setValue(ICMPv4Code value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ICMPv4Code getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv4CodeMasked.Builder setMask(ICMPv4Code mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Code> getMatchField() {
        return MatchField.ICMPV4_CODE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ICMPv4Code> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIcmpv4CodeMasked build() {
                ICMPv4Code value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4TypeMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4TypeMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80002702L;
    }

    @Override
    public ICMPv4Type getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4TypeMasked.Builder setValue(ICMPv4Type value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ICMPv4Type getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv4TypeMasked.Builder setMask(ICMPv4Type mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Type> getMatchField() {
        return MatchField.ICMPV4_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ICMPv4Type> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIcmpv4TypeMasked build() {
                ICMPv4Type value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6CodeMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6CodeMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80003d02L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6CodeMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv6CodeMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_CODE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIcmpv6CodeMasked build() {
                U8 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6TypeMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6TypeMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80003b02L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6TypeMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv6TypeMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIcmpv6TypeMasked build() {
                U8 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPhyPortMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPhyPortMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80000308L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPhyPortMasked.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFPort getMask() {
        return mask;
    }

    @Override
    public OFOxmInPhyPortMasked.Builder setMask(OFPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PHY_PORT;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmInPhyPortMasked build() {
                OFPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPortMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPortMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80000108L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPortMasked.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFPort getMask() {
        return mask;
    }

    @Override
    public OFOxmInPortMasked.Builder setMask(OFPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PORT;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmInPortMasked build() {
                OFPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpDscpMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpDscpMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80001102L;
    }

    @Override
    public IpDscp getValue() {
        return value;
    }

    @Override
    public OFOxmIpDscpMasked.Builder setValue(IpDscp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpDscp getMask() {
        return mask;
    }

    @Override
    public OFOxmIpDscpMasked.Builder setMask(IpDscp mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpDscp> getMatchField() {
        return MatchField.IP_DSCP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpDscp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpDscpMasked build() {
                IpDscp value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpEcnMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpEcnMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80001302L;
    }

    @Override
    public IpEcn getValue() {
        return value;
    }

    @Override
    public OFOxmIpEcnMasked.Builder setValue(IpEcn value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpEcn getMask() {
        return mask;
    }

    @Override
    public OFOxmIpEcnMasked.Builder setMask(IpEcn mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpEcn> getMatchField() {
        return MatchField.IP_ECN;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpEcn> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpEcnMasked build() {
                IpEcn value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpProtoMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpProtoMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80001502L;
    }

    @Override
    public IpProtocol getValue() {
        return value;
    }

    @Override
    public OFOxmIpProtoMasked.Builder setValue(IpProtocol value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpProtocol getMask() {
        return mask;
    }

    @Override
    public OFOxmIpProtoMasked.Builder setMask(IpProtocol mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpProtocol> getMatchField() {
        return MatchField.IP_PROTO;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpProtocol> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpProtoMasked build() {
                IpProtocol value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4DstMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4DstMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80001908L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4DstMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv4DstMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpv4DstMasked build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4SrcMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4SrcMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80001708L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4SrcMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv4SrcMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpv4SrcMasked build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6DstMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6DstMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80003720L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6DstMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6DstMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpv6DstMasked build() {
                IPv6Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6ExthdrMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6ExthdrMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80004f04L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6ExthdrMasked.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U16 getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6ExthdrMasked.Builder setMask(U16 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.IPV6_EXTHDR;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpv6ExthdrMasked build() {
                U16 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6FlabelMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6FlabelMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80003908L;
    }

    @Override
    public IPv6FlowLabel getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6FlabelMasked.Builder setValue(IPv6FlowLabel value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6FlowLabel getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6FlabelMasked.Builder setMask(IPv6FlowLabel mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6FlowLabel> getMatchField() {
        return MatchField.IPV6_FLABEL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6FlowLabel> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpv6FlabelMasked build() {
                IPv6FlowLabel value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdSllMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdSllMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x8000410cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdSllMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdSllMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_SLL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpv6NdSllMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTargetMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTargetMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80003f20L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTargetMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdTargetMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_ND_TARGET;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpv6NdTargetMasked build() {
                IPv6Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTllMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTllMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x8000430cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTllMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdTllMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_TLL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpv6NdTllMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6SrcMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6SrcMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80003520L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6SrcMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6SrcMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpv6SrcMasked build() {
                IPv6Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmMetadataMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmMetadataMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80000510L;
    }

    @Override
    public OFMetadata getValue() {
        return value;
    }

    @Override
    public OFOxmMetadataMasked.Builder setValue(OFMetadata value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFMetadata getMask() {
        return mask;
    }

    @Override
    public OFOxmMetadataMasked.Builder setMask(OFMetadata mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFMetadata> getMatchField() {
        return MatchField.METADATA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFMetadata> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmMetadataMasked build() {
                OFMetadata value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsBosMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsBosMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80004902L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmMplsBosMasked.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBooleanValue getMask() {
        return mask;
    }

    @Override
    public OFOxmMplsBosMasked.Builder setMask(OFBooleanValue mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.MPLS_BOS;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmMplsBosMasked build() {
                OFBooleanValue value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsLabelMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsLabelMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80004508L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsLabelMasked.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U32 getMask() {
        return mask;
    }

    @Override
    public OFOxmMplsLabelMasked.Builder setMask(U32 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.MPLS_LABEL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmMplsLabelMasked build() {
                U32 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsTcMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsTcMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80004702L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsTcMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmMplsTcMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.MPLS_TC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmMplsTcMasked build() {
                U8 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpDstMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpDstMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80002504L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmSctpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmSctpDstMasked build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpSrcMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpSrcMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80002304L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmSctpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmSctpSrcMasked build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpDstMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpDstMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80001d04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmTcpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmTcpDstMasked build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpSrcMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpSrcMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80001b04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmTcpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmTcpSrcMasked build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIdMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIdMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80004d10L;
    }

    @Override
    public U64 getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIdMasked.Builder setValue(U64 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U64 getMask() {
        return mask;
    }

    @Override
    public OFOxmTunnelIdMasked.Builder setMask(U64 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U64> getMatchField() {
        return MatchField.TUNNEL_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U64> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmTunnelIdMasked build() {
                U64 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4DstMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4DstMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x14108L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4DstMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmTunnelIpv4DstMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmTunnelIpv4DstMasked build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4SrcMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4SrcMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x13f08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4SrcMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmTunnelIpv4SrcMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmTunnelIpv4SrcMasked build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpDstMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpDstMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80002104L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmUdpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmUdpDstMasked build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpSrcMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpSrcMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80001f04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmUdpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmUdpSrcMasked build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanPcpMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanPcpMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80000f02L;
    }

    @Override
    public VlanPcp getValue() {
        return value;
    }

    @Override
    public OFOxmVlanPcpMasked.Builder setValue(VlanPcp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public VlanPcp getMask() {
        return mask;
    }

    @Override
    public OFOxmVlanPcpMasked.Builder setMask(VlanPcp mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<VlanPcp> getMatchField() {
        return MatchField.VLAN_PCP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<VlanPcp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmVlanPcpMasked build() {
                VlanPcp value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanVidMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanVidMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x80000d04L;
    }

    @Override
    public OFVlanVidMatch getValue() {
        return value;
    }

    @Override
    public OFOxmVlanVidMasked.Builder setValue(OFVlanVidMatch value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFVlanVidMatch getMask() {
        return mask;
    }

    @Override
    public OFOxmVlanVidMasked.Builder setMask(OFVlanVidMatch mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFVlanVidMatch> getMatchField() {
        return MatchField.VLAN_VID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFVlanVidMatch> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmVlanVidMasked build() {
                OFVlanVidMatch value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpOpMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpOpMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80002b04L;
    }

    @Override
    public ArpOpcode getValue() {
        return value;
    }

    @Override
    public OFOxmArpOpMasked.Builder setValue(ArpOpcode value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ArpOpcode getMask() {
        return mask;
    }

    @Override
    public OFOxmArpOpMasked.Builder setMask(ArpOpcode mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ArpOpcode> getMatchField() {
        return MatchField.ARP_OP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ArpOpcode> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmArpOpMasked build() {
                ArpOpcode value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpShaMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpShaMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x8000310cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpShaMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmArpShaMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_SHA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmArpShaMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpSpaMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpSpaMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80002d08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpSpaMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmArpSpaMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_SPA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmArpSpaMasked build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpThaMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpThaMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x8000330cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpThaMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmArpThaMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_THA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmArpThaMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpTpaMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpTpaMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80002f08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpTpaMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmArpTpaMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_TPA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmArpTpaMasked build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnEgrPortGroupIdMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnEgrPortGroupIdMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x30f08L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnEgrPortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnEgrPortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_EGR_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnEgrPortGroupIdMasked build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts128MaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts128MaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x30120L;
    }

    @Override
    public OFBitMask128 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts128Masked.Builder setValue(OFBitMask128 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBitMask128 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInPorts128Masked.Builder setMask(OFBitMask128 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask128> getMatchField() {
        return MatchField.BSN_IN_PORTS_128;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBitMask128> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnInPorts128Masked build() {
                OFBitMask128 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts512MaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts512MaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x32780L;
    }

    @Override
    public OFBitMask512 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts512Masked.Builder setValue(OFBitMask512 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBitMask512 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInPorts512Masked.Builder setMask(OFBitMask512 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask512> getMatchField() {
        return MatchField.BSN_IN_PORTS_512;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBitMask512> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnInPorts512Masked build() {
                OFBitMask512 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnIngressPortGroupIdMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnIngressPortGroupIdMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x32908L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnIngressPortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnIngressPortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_INGRESS_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnIngressPortGroupIdMasked build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthDstMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthDstMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x32d0cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInnerEthDstMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInnerEthDstMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.BSN_INNER_ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnInnerEthDstMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthSrcMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthSrcMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x32f0cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInnerEthSrcMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInnerEthSrcMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.BSN_INNER_ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnInnerEthSrcMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3InterfaceClassIdMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3InterfaceClassIdMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x30908L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3InterfaceClassIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL3InterfaceClassIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_INTERFACE_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnL3InterfaceClassIdMasked build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3SrcClassIdMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3SrcClassIdMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x30b08L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3SrcClassIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL3SrcClassIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_SRC_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnL3SrcClassIdMasked build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnLagIdMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnLagIdMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x30308L;
    }

    @Override
    public LagId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnLagIdMasked.Builder setValue(LagId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public LagId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnLagIdMasked.Builder setMask(LagId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<LagId> getMatchField() {
        return MatchField.BSN_LAG_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<LagId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnLagIdMasked build() {
                LagId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnTcpFlagsMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnTcpFlagsMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x32104L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnTcpFlagsMasked.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U16 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnTcpFlagsMasked.Builder setMask(U16 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.BSN_TCP_FLAGS;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnTcpFlagsMasked build() {
                U16 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf0MaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf0MaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x31108L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf0Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf0Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF0;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnUdf0Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf1MaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf1MaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x31308L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf1Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf1Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF1;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnUdf1Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf2MaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf2MaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x31508L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf2Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf2Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF2;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnUdf2Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf3MaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf3MaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x31708L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf3Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf3Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF3;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnUdf3Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf4MaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf4MaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x31908L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf4Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf4Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF4;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnUdf4Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf5MaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf5MaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x31b08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf5Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf5Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF5;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnUdf5Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf6MaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf6MaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x31d08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf6Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf6Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF6;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnUdf6Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf7MaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf7MaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x31f08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf7Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf7Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF7;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnUdf7Masked build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVlanXlatePortGroupIdMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVlanXlatePortGroupIdMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x32308L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVlanXlatePortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnVlanXlatePortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_VLAN_XLATE_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnVlanXlatePortGroupIdMasked build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVrfMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVrfMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x30508L;
    }

    @Override
    public VRF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVrfMasked.Builder setValue(VRF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public VRF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnVrfMasked.Builder setMask(VRF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<VRF> getMatchField() {
        return MatchField.BSN_VRF;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<VRF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnVrfMasked build() {
                VRF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVxlanNetworkIdMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVxlanNetworkIdMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x32b08L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVxlanNetworkIdMasked.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U32 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnVxlanNetworkIdMasked.Builder setMask(U32 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.BSN_VXLAN_NETWORK_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnVxlanNetworkIdMasked build() {
                U32 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthDstMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthDstMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x8000070cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthDstMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmEthDstMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmEthDstMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthSrcMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthSrcMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x8000090cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthSrcMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmEthSrcMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmEthSrcMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthTypeMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthTypeMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80000b04L;
    }

    @Override
    public EthType getValue() {
        return value;
    }

    @Override
    public OFOxmEthTypeMasked.Builder setValue(EthType value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public EthType getMask() {
        return mask;
    }

    @Override
    public OFOxmEthTypeMasked.Builder setMask(EthType mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<EthType> getMatchField() {
        return MatchField.ETH_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<EthType> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmEthTypeMasked build() {
                EthType value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4CodeMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4CodeMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80002902L;
    }

    @Override
    public ICMPv4Code getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4CodeMasked.Builder setValue(ICMPv4Code value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ICMPv4Code getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv4CodeMasked.Builder setMask(ICMPv4Code mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Code> getMatchField() {
        return MatchField.ICMPV4_CODE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ICMPv4Code> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIcmpv4CodeMasked build() {
                ICMPv4Code value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4TypeMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4TypeMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80002702L;
    }

    @Override
    public ICMPv4Type getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4TypeMasked.Builder setValue(ICMPv4Type value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ICMPv4Type getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv4TypeMasked.Builder setMask(ICMPv4Type mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Type> getMatchField() {
        return MatchField.ICMPV4_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ICMPv4Type> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIcmpv4TypeMasked build() {
                ICMPv4Type value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6CodeMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6CodeMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80003d02L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6CodeMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv6CodeMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_CODE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIcmpv6CodeMasked build() {
                U8 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6TypeMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6TypeMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80003b02L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6TypeMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv6TypeMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIcmpv6TypeMasked build() {
                U8 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPhyPortMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPhyPortMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80000308L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPhyPortMasked.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFPort getMask() {
        return mask;
    }

    @Override
    public OFOxmInPhyPortMasked.Builder setMask(OFPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PHY_PORT;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmInPhyPortMasked build() {
                OFPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPortMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPortMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80000108L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPortMasked.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFPort getMask() {
        return mask;
    }

    @Override
    public OFOxmInPortMasked.Builder setMask(OFPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PORT;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmInPortMasked build() {
                OFPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpDscpMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpDscpMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80001102L;
    }

    @Override
    public IpDscp getValue() {
        return value;
    }

    @Override
    public OFOxmIpDscpMasked.Builder setValue(IpDscp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpDscp getMask() {
        return mask;
    }

    @Override
    public OFOxmIpDscpMasked.Builder setMask(IpDscp mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpDscp> getMatchField() {
        return MatchField.IP_DSCP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpDscp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpDscpMasked build() {
                IpDscp value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpEcnMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpEcnMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80001302L;
    }

    @Override
    public IpEcn getValue() {
        return value;
    }

    @Override
    public OFOxmIpEcnMasked.Builder setValue(IpEcn value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpEcn getMask() {
        return mask;
    }

    @Override
    public OFOxmIpEcnMasked.Builder setMask(IpEcn mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpEcn> getMatchField() {
        return MatchField.IP_ECN;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpEcn> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpEcnMasked build() {
                IpEcn value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpProtoMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpProtoMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80001502L;
    }

    @Override
    public IpProtocol getValue() {
        return value;
    }

    @Override
    public OFOxmIpProtoMasked.Builder setValue(IpProtocol value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpProtocol getMask() {
        return mask;
    }

    @Override
    public OFOxmIpProtoMasked.Builder setMask(IpProtocol mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpProtocol> getMatchField() {
        return MatchField.IP_PROTO;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpProtocol> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpProtoMasked build() {
                IpProtocol value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4DstMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4DstMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80001908L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4DstMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv4DstMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpv4DstMasked build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4SrcMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4SrcMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80001708L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4SrcMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv4SrcMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpv4SrcMasked build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6DstMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6DstMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80003720L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6DstMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6DstMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpv6DstMasked build() {
                IPv6Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6ExthdrMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6ExthdrMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80004f04L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6ExthdrMasked.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U16 getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6ExthdrMasked.Builder setMask(U16 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.IPV6_EXTHDR;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpv6ExthdrMasked build() {
                U16 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6FlabelMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6FlabelMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80003908L;
    }

    @Override
    public IPv6FlowLabel getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6FlabelMasked.Builder setValue(IPv6FlowLabel value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6FlowLabel getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6FlabelMasked.Builder setMask(IPv6FlowLabel mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6FlowLabel> getMatchField() {
        return MatchField.IPV6_FLABEL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6FlowLabel> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpv6FlabelMasked build() {
                IPv6FlowLabel value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdSllMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdSllMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x8000410cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdSllMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdSllMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_SLL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpv6NdSllMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTargetMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTargetMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80003f20L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTargetMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdTargetMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_ND_TARGET;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpv6NdTargetMasked build() {
                IPv6Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTllMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTllMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x8000430cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTllMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdTllMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_TLL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpv6NdTllMasked build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6SrcMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6SrcMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80003520L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6SrcMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6SrcMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpv6SrcMasked build() {
                IPv6Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmMetadataMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmMetadataMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80000510L;
    }

    @Override
    public OFMetadata getValue() {
        return value;
    }

    @Override
    public OFOxmMetadataMasked.Builder setValue(OFMetadata value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFMetadata getMask() {
        return mask;
    }

    @Override
    public OFOxmMetadataMasked.Builder setMask(OFMetadata mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFMetadata> getMatchField() {
        return MatchField.METADATA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFMetadata> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmMetadataMasked build() {
                OFMetadata value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsBosMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsBosMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80004902L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmMplsBosMasked.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBooleanValue getMask() {
        return mask;
    }

    @Override
    public OFOxmMplsBosMasked.Builder setMask(OFBooleanValue mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.MPLS_BOS;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmMplsBosMasked build() {
                OFBooleanValue value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsLabelMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsLabelMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80004508L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsLabelMasked.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U32 getMask() {
        return mask;
    }

    @Override
    public OFOxmMplsLabelMasked.Builder setMask(U32 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.MPLS_LABEL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmMplsLabelMasked build() {
                U32 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsTcMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsTcMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80004702L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsTcMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmMplsTcMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.MPLS_TC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmMplsTcMasked build() {
                U8 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmPbbUcaMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmPbbUcaMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80005302L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmPbbUcaMasked.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBooleanValue getMask() {
        return mask;
    }

    @Override
    public OFOxmPbbUcaMasked.Builder setMask(OFBooleanValue mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.PBB_UCA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmPbbUcaMasked build() {
                OFBooleanValue value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpDstMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpDstMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80002504L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmSctpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmSctpDstMasked build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpSrcMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpSrcMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80002304L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmSctpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmSctpSrcMasked build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpDstMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpDstMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80001d04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmTcpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmTcpDstMasked build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpSrcMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpSrcMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80001b04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmTcpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmTcpSrcMasked build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIdMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIdMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80004d10L;
    }

    @Override
    public U64 getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIdMasked.Builder setValue(U64 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U64 getMask() {
        return mask;
    }

    @Override
    public OFOxmTunnelIdMasked.Builder setMask(U64 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U64> getMatchField() {
        return MatchField.TUNNEL_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U64> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmTunnelIdMasked build() {
                U64 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4DstMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4DstMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x14108L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4DstMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmTunnelIpv4DstMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmTunnelIpv4DstMasked build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4SrcMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4SrcMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x13f08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4SrcMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmTunnelIpv4SrcMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmTunnelIpv4SrcMasked build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpDstMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpDstMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80002104L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmUdpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmUdpDstMasked build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpSrcMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpSrcMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80001f04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmUdpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmUdpSrcMasked build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanPcpMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanPcpMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80000f02L;
    }

    @Override
    public VlanPcp getValue() {
        return value;
    }

    @Override
    public OFOxmVlanPcpMasked.Builder setValue(VlanPcp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public VlanPcp getMask() {
        return mask;
    }

    @Override
    public OFOxmVlanPcpMasked.Builder setMask(VlanPcp mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<VlanPcp> getMatchField() {
        return MatchField.VLAN_PCP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<VlanPcp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmVlanPcpMasked build() {
                VlanPcp value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanVidMaskedVer14.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanVidMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80000d04L;
    }

    @Override
    public OFVlanVidMatch getValue() {
        return value;
    }

    @Override
    public OFOxmVlanVidMasked.Builder setValue(OFVlanVidMatch value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFVlanVidMatch getMask() {
        return mask;
    }

    @Override
    public OFOxmVlanVidMasked.Builder setMask(OFVlanVidMatch mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFVlanVidMatch> getMatchField() {
        return MatchField.VLAN_VID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFVlanVidMatch> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmVlanVidMasked build() {
                OFVlanVidMatch value = this.valueSet ? this.value : parentMessage.value;
FileLine
net/onrc/openvirtex/messages/statistics/ver10/OVXAggregateStatsRequestVer10.java97
net/onrc/openvirtex/messages/statistics/ver13/OVXAggregateStatsRequestVer13.java95
        OVXAggregateStatsReplyVer10 stat = new OVXAggregateStatsReplyVer10(this.getXid(), DEFAULT_FLAGS,U64.of(packetcount), U64.of(bytecount), flowcount);
        
        
        sw.sendMsg(stat, sw);

    }

    private List<PhysicalSwitch> getPhysicalSwitches(OVXSwitch sw) {
        if (sw instanceof OVXSingleSwitch) {
            try {
                return sw.getMap().getPhysicalSwitches(sw);
            } catch (SwitchMappingException e) {
                log.debug("OVXSwitch {} does not map to any physical switches",
                        sw.getSwitchName());
                return new LinkedList<>();
            }
        }
        LinkedList<PhysicalSwitch> sws = new LinkedList<PhysicalSwitch>();
        for (OVXPort p : sw.getPorts().values()) {
            if (!sws.contains(p.getPhysicalPort().getParentSwitch())) {
                sws.add(p.getPhysicalPort().getParentSwitch());
            }
        }
        return sws;
    }

}
FileLine
net/onrc/openvirtex/messages/statistics/ver10/OVXFlowStatsRequestVer10.java79
net/onrc/openvirtex/messages/statistics/ver13/OVXFlowStatsRequestVer13.java74
                && this.getOutPort() == OFPort.ANY) {
            for (PhysicalSwitch psw : getPhysicalSwitches(sw)) {
                List<OVXFlowStatsReply> reps = psw.getFlowStats(tid);
                if (reps != null) {
                    for (OVXFlowStatsReply stat : reps) {
                    	for(OFFlowStatsEntry entry :stat.getEntries())
                    		{
                        if (!uniqueCookies.contains(entry.getCookie().getValue())) {
                            OVXFlowMod origFM;
                            try {
                                origFM = sw.getFlowMod(entry.getCookie().getValue());
                                uniqueCookies.add(entry.getCookie().getValue());
                            } catch (MappingException e) {
                                log.warn(
                                        "FlowMod not found in FlowTable for cookie={}",
                                        entry.getCookie());
                                continue;
                            }
                            entry=entry.createBuilder().setCookie(origFM.getCookie())
                            .setMatch(origFM.getMatch())
                            .setActions(origFM.getActions())
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java842
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java842
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java842
            bb.writeZero(6);
            bb.writeLong(message.rxPackets.getValue());
            bb.writeLong(message.txPackets.getValue());
            bb.writeLong(message.rxBytes.getValue());
            bb.writeLong(message.txBytes.getValue());
            bb.writeLong(message.rxDropped.getValue());
            bb.writeLong(message.txDropped.getValue());
            bb.writeLong(message.rxErrors.getValue());
            bb.writeLong(message.txErrors.getValue());
            bb.writeLong(message.rxFrameErr.getValue());
            bb.writeLong(message.rxOverErr.getValue());
            bb.writeLong(message.rxCrcErr.getValue());
            bb.writeLong(message.collisions.getValue());


        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFPortStatsEntryVer10(");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBucketVer11.java123
org/projectfloodlight/openflow/protocol/ver12/OFBucketVer12.java209
org/projectfloodlight/openflow/protocol/ver13/OFBucketVer13.java209
org/projectfloodlight/openflow/protocol/ver14/OFBucketVer14.java209
    @Override
    public int getWeight() {
        return weight;
    }

    @Override
    public OFBucket.Builder setWeight(int weight) {
        this.weight = weight;
        this.weightSet = true;
        return this;
    }
    @Override
    public OFPort getWatchPort() {
        return watchPort;
    }

    @Override
    public OFBucket.Builder setWatchPort(OFPort watchPort) {
        this.watchPort = watchPort;
        this.watchPortSet = true;
        return this;
    }
    @Override
    public OFGroup getWatchGroup() {
        return watchGroup;
    }

    @Override
    public OFBucket.Builder setWatchGroup(OFGroup watchGroup) {
        this.watchGroup = watchGroup;
        this.watchGroupSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFBucket.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBucketVer11.java209
org/projectfloodlight/openflow/protocol/ver12/OFBucketVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFBucketVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFBucketVer14.java123
    @Override
    public int getWeight() {
        return weight;
    }

    @Override
    public OFBucket.Builder setWeight(int weight) {
        this.weight = weight;
        this.weightSet = true;
        return this;
    }
    @Override
    public OFPort getWatchPort() {
        return watchPort;
    }

    @Override
    public OFBucket.Builder setWatchPort(OFPort watchPort) {
        this.watchPort = watchPort;
        this.watchPortSet = true;
        return this;
    }
    @Override
    public OFGroup getWatchGroup() {
        return watchGroup;
    }

    @Override
    public OFBucket.Builder setWatchGroup(OFGroup watchGroup) {
        this.watchGroup = watchGroup;
        this.watchGroupSet = true;
        return this;
    }
    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public OFBucket.Builder setActions(List<OFAction> actions) {
        this.actions = actions;
        this.actionsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java839
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java839
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java875
        public void write(ChannelBuffer bb, OFPortStatsEntryVer11 message) {
            message.portNo.write4Bytes(bb);
            // pad: 4 bytes
            bb.writeZero(4);
            bb.writeLong(message.rxPackets.getValue());
            bb.writeLong(message.txPackets.getValue());
            bb.writeLong(message.rxBytes.getValue());
            bb.writeLong(message.txBytes.getValue());
            bb.writeLong(message.rxDropped.getValue());
            bb.writeLong(message.txDropped.getValue());
            bb.writeLong(message.rxErrors.getValue());
            bb.writeLong(message.txErrors.getValue());
            bb.writeLong(message.rxFrameErr.getValue());
            bb.writeLong(message.rxOverErr.getValue());
            bb.writeLong(message.rxCrcErr.getValue());
            bb.writeLong(message.collisions.getValue());
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsReplyVer12.java716
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsReplyVer13.java716
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsReplyVer14.java716
            OFStatsReplyFlagsSerializerVer12.writeTo(bb, message.flags);
            // pad: 4 bytes
            bb.writeZero(4);
            bb.writeInt(U32.t(message.types));
            bb.writeInt(U32.t(message.capabilities));
            bb.writeInt(U32.t(message.maxGroupsAll));
            bb.writeInt(U32.t(message.maxGroupsSelect));
            bb.writeInt(U32.t(message.maxGroupsIndirect));
            bb.writeInt(U32.t(message.maxGroupsFf));
            bb.writeInt(U32.t(message.actionsAll));
            bb.writeInt(U32.t(message.actionsSelect));
            bb.writeInt(U32.t(message.actionsIndirect));
            bb.writeInt(U32.t(message.actionsFf));


        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFGroupFeaturesStatsReplyVer12(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterModVer13.java354
org/projectfloodlight/openflow/protocol/ver14/OFMeterModVer14.java354
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 29
            byte type = bb.readByte();
            if(type != (byte) 0x1d)
                throw new OFParseError("Wrong type: Expected=OFType.METER_MOD(29), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            int command = U16.f(bb.readShort());
            int flags = U16.f(bb.readShort());
            long meterId = U32.f(bb.readInt());
            List<OFMeterBand> meters = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFMeterBandVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsEntryVer13.java548
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsEntryVer14.java607
        if( durationNsec != other.durationNsec)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime *  (int) (queueId ^ (queueId >>> 32));
        result = prime * result + ((txBytes == null) ? 0 : txBytes.hashCode());
        result = prime * result + ((txPackets == null) ? 0 : txPackets.hashCode());
        result = prime * result + ((txErrors == null) ? 0 : txErrors.hashCode());
        result = prime *  (int) (durationSec ^ (durationSec >>> 32));
        result = prime *  (int) (durationNsec ^ (durationNsec >>> 32));
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java947
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java947
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java947
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsPropEthernetVer14.java411
        if (rxFrameErr == null) {
            if (other.rxFrameErr != null)
                return false;
        } else if (!rxFrameErr.equals(other.rxFrameErr))
            return false;
        if (rxOverErr == null) {
            if (other.rxOverErr != null)
                return false;
        } else if (!rxOverErr.equals(other.rxOverErr))
            return false;
        if (rxCrcErr == null) {
            if (other.rxCrcErr != null)
                return false;
        } else if (!rxCrcErr.equals(other.rxCrcErr))
            return false;
        if (collisions == null) {
            if (other.collisions != null)
                return false;
        } else if (!collisions.equals(other.collisions))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsRequestVer10.java122
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsRequestVer11.java201
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsRequestVer12.java201
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsRequestVer13.java201
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsRequestVer14.java201
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }


        @Override
        public OFPortStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsRequestVer10.java201
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsRequestVer11.java122
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsRequestVer12.java122
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsRequestVer13.java122
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsRequestVer14.java122
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFPortStatsRequest.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
//
        @Override
        public OFPortStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFStatsRequestFlagsSerializerVer10.java34
org/projectfloodlight/openflow/protocol/ver11/OFStatsRequestFlagsSerializerVer11.java34
org/projectfloodlight/openflow/protocol/ver12/OFStatsRequestFlagsSerializerVer12.java34
public class OFStatsRequestFlagsSerializerVer10 {


    public static Set<OFStatsRequestFlags> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFStatsRequestFlags> set) {
        bb.writeShort(toWireValue(set));
    }

    public static void putTo(Set<OFStatsRequestFlags> set, PrimitiveSink sink) {
        sink.putShort(toWireValue(set));
    }


    public static Set<OFStatsRequestFlags> ofWireValue(short val) {
        EnumSet<OFStatsRequestFlags> set = EnumSet.noneOf(OFStatsRequestFlags.class);

        return Collections.unmodifiableSet(set);
    }

    public static short toWireValue(Set<OFStatsRequestFlags> set) {
        short wireValue = 0;

        for(OFStatsRequestFlags e: set) {
            switch(e) {
                default:
                    throw new IllegalArgumentException("Illegal enum value for type OFStatsRequestFlags in version 1.0: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFActionSetMplsTtlVer11.java154
org/projectfloodlight/openflow/protocol/ver12/OFActionSetMplsTtlVer12.java154
org/projectfloodlight/openflow/protocol/ver13/OFActionSetMplsTtlVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFActionSetMplsTtlVer14.java154
            return new OFActionSetMplsTtlVer11(
                    mplsTtl
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionSetMplsTtl> {
        @Override
        public OFActionSetMplsTtl readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 15
            short type = bb.readShort();
            if(type != (short) 0xf)
                throw new OFParseError("Wrong type: Expected=OFActionType.SET_MPLS_TTL(15), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            short mplsTtl = U8.f(bb.readByte());
            // pad: 3 bytes
            bb.skipBytes(3);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFActionSetNwTtlVer11.java154
org/projectfloodlight/openflow/protocol/ver12/OFActionSetNwTtlVer12.java154
org/projectfloodlight/openflow/protocol/ver13/OFActionSetNwTtlVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFActionSetNwTtlVer14.java154
            return new OFActionSetNwTtlVer11(
                    nwTtl
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionSetNwTtl> {
        @Override
        public OFActionSetNwTtl readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 23
            short type = bb.readShort();
            if(type != (short) 0x17)
                throw new OFParseError("Wrong type: Expected=OFActionType.SET_NW_TTL(23), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            short nwTtl = U8.f(bb.readByte());
            // pad: 3 bytes
            bb.skipBytes(3);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsRequestVer11.java122
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsRequestVer12.java201
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsRequestVer13.java201
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsRequestVer14.java201
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsRequest.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }


        @Override
        public OFGroupStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsRequestVer11.java201
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsRequestVer12.java122
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsRequestVer13.java122
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsRequestVer14.java122
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupStatsRequest.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
//
        @Override
        public OFGroupStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPacketOutVer11.java425
org/projectfloodlight/openflow/protocol/ver12/OFPacketOutVer12.java425
org/projectfloodlight/openflow/protocol/ver13/OFPacketOutVer13.java425
org/projectfloodlight/openflow/protocol/ver14/OFPacketOutVer14.java425
            bb.writeByte((byte) 0x2);
            // fixed value property type = 13
            bb.writeByte((byte) 0xd);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            bb.writeInt(U32.t(message.xid));
            bb.writeInt(message.bufferId.getInt());
            message.inPort.write4Bytes(bb);
            // actionsLen is length indicator for actions, will be
            // udpated when actions has been written
            int actionsLenIndex = bb.writerIndex();
            bb.writeShort(0);
            // pad: 6 bytes
            bb.writeZero(6);
            int actionsStartIndex = bb.writerIndex();
            ChannelUtils.writeList(bb, message.actions);
            // update field length member actionsLen
            int actionsLength = bb.writerIndex() - actionsStartIndex;
            bb.setShort(actionsLenIndex, actionsLength);
            bb.writeBytes(message.data);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFPacketOutVer11(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsEntryVer13.java236
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsEntryVer14.java236
            return new OFBsnGentableEntryDescStatsEntryVer13(
                    checksum,
                    key,
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnGentableEntryDescStatsEntry> {
        @Override
        public OFBsnGentableEntryDescStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int keyLength = U16.f(bb.readShort());
            U128 checksum = U128.read16Bytes(bb);
            List<OFBsnTlv> key = ChannelUtils.readList(bb, keyLength, OFBsnTlvVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java37
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java37
    final static int LENGTH = 52;

        private final static long DEFAULT_XID = 0x0L;
        private final static short DEFAULT_CONVERGENCE_STATUS = (short) 0x0;
        private final static OFPort DEFAULT_PORT_NO = OFPort.ANY;
        private final static int DEFAULT_ACTOR_SYS_PRIORITY = 0x0;
        private final static MacAddress DEFAULT_ACTOR_SYS_MAC = MacAddress.NONE;
        private final static int DEFAULT_ACTOR_PORT_PRIORITY = 0x0;
        private final static int DEFAULT_ACTOR_PORT_NUM = 0x0;
        private final static int DEFAULT_ACTOR_KEY = 0x0;
        private final static int DEFAULT_PARTNER_SYS_PRIORITY = 0x0;
        private final static MacAddress DEFAULT_PARTNER_SYS_MAC = MacAddress.NONE;
        private final static int DEFAULT_PARTNER_PORT_PRIORITY = 0x0;
        private final static int DEFAULT_PARTNER_PORT_NUM = 0x0;
        private final static int DEFAULT_PARTNER_KEY = 0x0;

    // OF message fields
    private final long xid;
    private final short convergenceStatus;
    private final OFPort portNo;
    private final int actorSysPriority;
    private final MacAddress actorSysMac;
    private final int actorPortPriority;
    private final int actorPortNum;
    private final int actorKey;
    private final int partnerSysPriority;
    private final MacAddress partnerSysMac;
    private final int partnerPortPriority;
    private final int partnerPortNum;
    private final int partnerKey;
//
    // Immutable default instance
    final static OFBsnLacpConvergenceNotifVer13 DEFAULT = new OFBsnLacpConvergenceNotifVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaCommandReplyVer13.java181
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaCommandReplyVer14.java181
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaCommandReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x42L;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaCommandReply.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBsnLuaCommandReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            byte[] data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFBsnLuaCommandReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaCommandRequestVer13.java181
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaCommandRequestVer14.java181
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaCommandRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x41L;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaCommandRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBsnLuaCommandRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            byte[] data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFBsnLuaCommandRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaNotificationVer13.java181
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaNotificationVer14.java181
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaNotification.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x43L;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaNotification.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBsnLuaNotification build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            byte[] data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFBsnLuaNotificationVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java155
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java155
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java155
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java155
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java155
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }


    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        for (OFInstruction inst : this.instructions) {
            if (inst instanceof OFInstructionApplyActions) {
                OFInstructionApplyActions iap = (OFInstructionApplyActions)inst;
                return iap.getActions();
            }
        }
        return Collections.emptyList();
    }


    public void setInstructions(List<OFInstruction> myInstructions) {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java236
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java236
    }



        @Override
        public OFGroupStatsEntry build() {
                OFGroup group = this.groupSet ? this.group : parentMessage.group;
                if(group == null)
                    throw new NullPointerException("Property group must not be null");
                long refCount = this.refCountSet ? this.refCount : parentMessage.refCount;
                U64 packetCount = this.packetCountSet ? this.packetCount : parentMessage.packetCount;
                if(packetCount == null)
                    throw new NullPointerException("Property packetCount must not be null");
                U64 byteCount = this.byteCountSet ? this.byteCount : parentMessage.byteCount;
                if(byteCount == null)
                    throw new NullPointerException("Property byteCount must not be null");
                long durationSec = this.durationSecSet ? this.durationSec : parentMessage.durationSec;
                long durationNsec = this.durationNsecSet ? this.durationNsec : parentMessage.durationNsec;
                List<OFBucketCounter> bucketStats = this.bucketStatsSet ? this.bucketStats : parentMessage.bucketStats;
                if(bucketStats == null)
                    throw new NullPointerException("Property bucketStats must not be null");

                //
                return new OFGroupStatsEntryVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsRequestVer14.java196
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterConfigStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_CONFIG;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterConfigStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterConfigStatsRequest.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }


        @Override
        public OFMeterConfigStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsRequestVer13.java196
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsRequestVer14.java119
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterConfigStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_CONFIG;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterConfigStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterConfigStatsRequest.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }
//
        @Override
        public OFMeterConfigStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesStatsReplyVer13.java117
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesStatsReplyVer14.java196
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterFeaturesStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_FEATURES;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterFeaturesStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFMeterFeatures getFeatures() {
        return features;
    }

    @Override
    public OFMeterFeaturesStatsReply.Builder setFeatures(OFMeterFeatures features) {
        this.features = features;
        this.featuresSet = true;
        return this;
    }


        @Override
        public OFMeterFeaturesStatsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesStatsReplyVer13.java196
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesStatsReplyVer14.java117
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterFeaturesStatsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_FEATURES;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterFeaturesStatsReply.Builder setFlags(Set<OFStatsReplyFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public OFMeterFeatures getFeatures() {
        return features;
    }

    @Override
    public OFMeterFeaturesStatsReply.Builder setFeatures(OFMeterFeatures features) {
        this.features = features;
        this.featuresSet = true;
        return this;
    }
//
        @Override
        public OFMeterFeaturesStatsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsRequestVer14.java196
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterStatsRequest.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }


        @Override
        public OFMeterStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsRequestVer13.java196
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsRequestVer14.java119
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterStatsRequest.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }
//
        @Override
        public OFMeterStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFGetConfigReplyVer10.java111
org/projectfloodlight/openflow/protocol/ver10/OFGetConfigReplyVer10.java183
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.GET_CONFIG_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGetConfigReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public Set<OFConfigFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGetConfigReply.Builder setFlags(Set<OFConfigFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public int getMissSendLen() {
        return missSendLen;
    }

    @Override
    public OFGetConfigReply.Builder setMissSendLen(int missSendLen) {
        this.missSendLen = missSendLen;
        this.missSendLenSet = true;
        return this;
    }


        @Override
        public OFGetConfigReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueGetConfigReplyVer10.java115
org/projectfloodlight/openflow/protocol/ver10/OFQueueGetConfigReplyVer10.java189
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.QUEUE_GET_CONFIG_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueGetConfigReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFQueueGetConfigReply.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public List<OFPacketQueue> getQueues() {
        return queues;
    }

    @Override
    public OFQueueGetConfigReply.Builder setQueues(List<OFPacketQueue> queues) {
        this.queues = queues;
        this.queuesSet = true;
        return this;
    }


        @Override
        public OFQueueGetConfigReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFSetConfigVer10.java111
org/projectfloodlight/openflow/protocol/ver10/OFSetConfigVer10.java183
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.SET_CONFIG;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFSetConfig.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public Set<OFConfigFlags> getFlags() {
        return flags;
    }

    @Override
    public OFSetConfig.Builder setFlags(Set<OFConfigFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public int getMissSendLen() {
        return missSendLen;
    }

    @Override
    public OFSetConfig.Builder setMissSendLen(int missSendLen) {
        this.missSendLen = missSendLen;
        this.missSendLenSet = true;
        return this;
    }


        @Override
        public OFSetConfig build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGetConfigReplyVer11.java111
org/projectfloodlight/openflow/protocol/ver11/OFGetConfigReplyVer11.java183
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.GET_CONFIG_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGetConfigReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public Set<OFConfigFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGetConfigReply.Builder setFlags(Set<OFConfigFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public int getMissSendLen() {
        return missSendLen;
    }

    @Override
    public OFGetConfigReply.Builder setMissSendLen(int missSendLen) {
        this.missSendLen = missSendLen;
        this.missSendLenSet = true;
        return this;
    }


        @Override
        public OFGetConfigReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFQueueGetConfigReplyVer11.java115
org/projectfloodlight/openflow/protocol/ver11/OFQueueGetConfigReplyVer11.java189
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.QUEUE_GET_CONFIG_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueGetConfigReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFQueueGetConfigReply.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public List<OFPacketQueue> getQueues() {
        return queues;
    }

    @Override
    public OFQueueGetConfigReply.Builder setQueues(List<OFPacketQueue> queues) {
        this.queues = queues;
        this.queuesSet = true;
        return this;
    }


        @Override
        public OFQueueGetConfigReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFSetConfigVer11.java111
org/projectfloodlight/openflow/protocol/ver11/OFSetConfigVer11.java183
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.SET_CONFIG;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFSetConfig.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public Set<OFConfigFlags> getFlags() {
        return flags;
    }

    @Override
    public OFSetConfig.Builder setFlags(Set<OFConfigFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public int getMissSendLen() {
        return missSendLen;
    }

    @Override
    public OFSetConfig.Builder setMissSendLen(int missSendLen) {
        this.missSendLen = missSendLen;
        this.missSendLenSet = true;
        return this;
    }


        @Override
        public OFSetConfig build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGetConfigReplyVer12.java111
org/projectfloodlight/openflow/protocol/ver12/OFGetConfigReplyVer12.java183
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.GET_CONFIG_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGetConfigReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public Set<OFConfigFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGetConfigReply.Builder setFlags(Set<OFConfigFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public int getMissSendLen() {
        return missSendLen;
    }

    @Override
    public OFGetConfigReply.Builder setMissSendLen(int missSendLen) {
        this.missSendLen = missSendLen;
        this.missSendLenSet = true;
        return this;
    }


        @Override
        public OFGetConfigReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFQueueGetConfigReplyVer12.java115
org/projectfloodlight/openflow/protocol/ver12/OFQueueGetConfigReplyVer12.java189
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.QUEUE_GET_CONFIG_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueGetConfigReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFQueueGetConfigReply.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public List<OFPacketQueue> getQueues() {
        return queues;
    }

    @Override
    public OFQueueGetConfigReply.Builder setQueues(List<OFPacketQueue> queues) {
        this.queues = queues;
        this.queuesSet = true;
        return this;
    }


        @Override
        public OFQueueGetConfigReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFSetConfigVer12.java111
org/projectfloodlight/openflow/protocol/ver12/OFSetConfigVer12.java183
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.SET_CONFIG;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFSetConfig.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public Set<OFConfigFlags> getFlags() {
        return flags;
    }

    @Override
    public OFSetConfig.Builder setFlags(Set<OFConfigFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public int getMissSendLen() {
        return missSendLen;
    }

    @Override
    public OFSetConfig.Builder setMissSendLen(int missSendLen) {
        this.missSendLen = missSendLen;
        this.missSendLenSet = true;
        return this;
    }


        @Override
        public OFSetConfig build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnChecksumVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnPermitVer13.java88
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnChecksumVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnPermitVer14.java88
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x4L
            int subtype = bb.readInt();
            if(subtype != 0x4)
                throw new OFParseError("Wrong subtype: Expected=0x4L(0x4L), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdBsnChecksumVer13Funnel FUNNEL = new OFActionIdBsnChecksumVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnGentableVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnDenyVer13.java88
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnGentableVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnDenyVer14.java88
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x5L
            int subtype = bb.readInt();
            if(subtype != 0x5)
                throw new OFParseError("Wrong subtype: Expected=0x5L(0x5L), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdBsnGentableVer13Funnel FUNNEL = new OFActionIdBsnGentableVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnMirrorVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnArpOffloadVer13.java88
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnMirrorVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnArpOffloadVer14.java88
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x1L
            int subtype = bb.readInt();
            if(subtype != 0x1)
                throw new OFParseError("Wrong subtype: Expected=0x1L(0x1L), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdBsnMirrorVer13Funnel FUNNEL = new OFActionIdBsnMirrorVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnSetTunnelDstVer13.java89
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnDhcpOffloadVer13.java88
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnSetTunnelDstVer14.java89
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnDhcpOffloadVer14.java88
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x2L
            int subtype = bb.readInt();
            if(subtype != 0x2)
                throw new OFParseError("Wrong subtype: Expected=0x2L(0x2L), got="+subtype);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdBsnSetTunnelDstVer13Funnel FUNNEL = new OFActionIdBsnSetTunnelDstVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGetConfigReplyVer13.java111
org/projectfloodlight/openflow/protocol/ver13/OFGetConfigReplyVer13.java183
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.GET_CONFIG_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGetConfigReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public Set<OFConfigFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGetConfigReply.Builder setFlags(Set<OFConfigFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public int getMissSendLen() {
        return missSendLen;
    }

    @Override
    public OFGetConfigReply.Builder setMissSendLen(int missSendLen) {
        this.missSendLen = missSendLen;
        this.missSendLenSet = true;
        return this;
    }


        @Override
        public OFGetConfigReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFQueueGetConfigReplyVer13.java115
org/projectfloodlight/openflow/protocol/ver13/OFQueueGetConfigReplyVer13.java189
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.QUEUE_GET_CONFIG_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueGetConfigReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFQueueGetConfigReply.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public List<OFPacketQueue> getQueues() {
        return queues;
    }

    @Override
    public OFQueueGetConfigReply.Builder setQueues(List<OFPacketQueue> queues) {
        this.queues = queues;
        this.queuesSet = true;
        return this;
    }


        @Override
        public OFQueueGetConfigReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFSetConfigVer13.java111
org/projectfloodlight/openflow/protocol/ver13/OFSetConfigVer13.java183
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.SET_CONFIG;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFSetConfig.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public Set<OFConfigFlags> getFlags() {
        return flags;
    }

    @Override
    public OFSetConfig.Builder setFlags(Set<OFConfigFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public int getMissSendLen() {
        return missSendLen;
    }

    @Override
    public OFSetConfig.Builder setMissSendLen(int missSendLen) {
        this.missSendLen = missSendLen;
        this.missSendLenSet = true;
        return this;
    }


        @Override
        public OFSetConfig build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFGetConfigReplyVer14.java111
org/projectfloodlight/openflow/protocol/ver14/OFGetConfigReplyVer14.java183
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.GET_CONFIG_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGetConfigReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public Set<OFConfigFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGetConfigReply.Builder setFlags(Set<OFConfigFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public int getMissSendLen() {
        return missSendLen;
    }

    @Override
    public OFGetConfigReply.Builder setMissSendLen(int missSendLen) {
        this.missSendLen = missSendLen;
        this.missSendLenSet = true;
        return this;
    }


        @Override
        public OFGetConfigReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFSetConfigVer14.java111
org/projectfloodlight/openflow/protocol/ver14/OFSetConfigVer14.java183
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.SET_CONFIG;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFSetConfig.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public Set<OFConfigFlags> getFlags() {
        return flags;
    }

    @Override
    public OFSetConfig.Builder setFlags(Set<OFConfigFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public int getMissSendLen() {
        return missSendLen;
    }

    @Override
    public OFSetConfig.Builder setMissSendLen(int missSendLen) {
        this.missSendLen = missSendLen;
        this.missSendLenSet = true;
        return this;
    }


        @Override
        public OFSetConfig build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBadActionCodeSerializerVer10.java42
org/projectfloodlight/openflow/protocol/ver11/OFBadActionCodeSerializerVer11.java46
org/projectfloodlight/openflow/protocol/ver12/OFBadActionCodeSerializerVer12.java49
org/projectfloodlight/openflow/protocol/ver13/OFBadActionCodeSerializerVer13.java49
org/projectfloodlight/openflow/protocol/ver14/OFBadActionCodeSerializerVer14.java49
    public static OFBadActionCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBadActionCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFBadActionCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFBadActionCode ofWireValue(short val) {
        switch(val) {
            case BAD_TYPE_VAL:
                return OFBadActionCode.BAD_TYPE;
            case BAD_LEN_VAL:
                return OFBadActionCode.BAD_LEN;
            case BAD_EXPERIMENTER_VAL:
                return OFBadActionCode.BAD_EXPERIMENTER;
            case BAD_EXPERIMENTER_TYPE_VAL:
                return OFBadActionCode.BAD_EXPERIMENTER_TYPE;
            case BAD_OUT_PORT_VAL:
                return OFBadActionCode.BAD_OUT_PORT;
            case BAD_ARGUMENT_VAL:
                return OFBadActionCode.BAD_ARGUMENT;
            case EPERM_VAL:
                return OFBadActionCode.EPERM;
            case TOO_MANY_VAL:
                return OFBadActionCode.TOO_MANY;
            case BAD_QUEUE_VAL:
                return OFBadActionCode.BAD_QUEUE;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBadRequestCodeSerializerVer10.java42
org/projectfloodlight/openflow/protocol/ver11/OFBadRequestCodeSerializerVer11.java43
    public static OFBadRequestCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBadRequestCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFBadRequestCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFBadRequestCode ofWireValue(short val) {
        switch(val) {
            case BAD_VERSION_VAL:
                return OFBadRequestCode.BAD_VERSION;
            case BAD_TYPE_VAL:
                return OFBadRequestCode.BAD_TYPE;
            case BAD_STAT_VAL:
                return OFBadRequestCode.BAD_STAT;
            case BAD_EXPERIMENTER_VAL:
                return OFBadRequestCode.BAD_EXPERIMENTER;
            case BAD_SUBTYPE_VAL:
                return OFBadRequestCode.BAD_SUBTYPE;
            case EPERM_VAL:
                return OFBadRequestCode.EPERM;
            case BAD_LEN_VAL:
                return OFBadRequestCode.BAD_LEN;
            case BUFFER_EMPTY_VAL:
                return OFBadRequestCode.BUFFER_EMPTY;
            case BUFFER_UNKNOWN_VAL:
                return OFBadRequestCode.BUFFER_UNKNOWN;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwClearDataRequestVer10.java200
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwClearDataRequestVer11.java200
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwClearDataRequestVer12.java200
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwClearDataRequestVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwClearDataRequestVer14.java200
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x15L
            int subtype = bb.readInt();
            if(subtype != 0x15)
                throw new OFParseError("Wrong subtype: Expected=0x15L(0x15L), got="+subtype);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableGetRequestVer10.java200
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableGetRequestVer11.java200
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableGetRequestVer12.java200
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableGetRequestVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableGetRequestVer14.java200
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x13L
            int subtype = bb.readInt();
            if(subtype != 0x13)
                throw new OFParseError("Wrong subtype: Expected=0x13L(0x13L), got="+subtype);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetInterfacesRequestVer10.java200
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetInterfacesRequestVer11.java200
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetInterfacesRequestVer12.java200
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetInterfacesRequestVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetInterfacesRequestVer14.java200
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x9L
            int subtype = bb.readInt();
            if(subtype != 0x9)
                throw new OFParseError("Wrong subtype: Expected=0x9L(0x9L), got="+subtype);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortCreateRequestVer10.java108
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortCreateRequestVer11.java108
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortCreateRequestVer12.java108
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortCreateRequestVer13.java108
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortCreateRequestVer14.java108
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortCreateRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public OFBsnVport getVport() {
        return vport;
    }

    @Override
    public OFBsnVirtualPortCreateRequest.Builder setVport(OFBsnVport vport) {
        this.vport = vport;
        this.vportSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortCreateRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFBsnVport vport = this.vportSet ? this.vport : parentMessage.vport;
                if(vport == null)
                    throw new NullPointerException("Property vport must not be null");

                //
                return new OFBsnVirtualPortCreateRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFDescStatsRequestVer10.java109
org/projectfloodlight/openflow/protocol/ver11/OFDescStatsRequestVer11.java109
org/projectfloodlight/openflow/protocol/ver12/OFDescStatsRequestVer12.java109
org/projectfloodlight/openflow/protocol/ver13/OFDescStatsRequestVer13.java109
org/projectfloodlight/openflow/protocol/ver14/OFDescStatsRequestVer14.java109
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");

                //
                return new OFDescStatsRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsRequestVer10.java109
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsRequestVer11.java109
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsRequestVer12.java109
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsRequestVer13.java109
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsRequestVer14.java109
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFTableStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");

                //
                return new OFTableStatsRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsRequestVer11.java109
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsRequestVer12.java109
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsRequestVer13.java109
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsRequestVer14.java109
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFGroupDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");

                //
                return new OFGroupDescStatsRequestVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupModFailedCodeSerializerVer11.java42
org/projectfloodlight/openflow/protocol/ver12/OFGroupModFailedCodeSerializerVer12.java48
org/projectfloodlight/openflow/protocol/ver13/OFGroupModFailedCodeSerializerVer13.java48
org/projectfloodlight/openflow/protocol/ver14/OFGroupModFailedCodeSerializerVer14.java48
    public static OFGroupModFailedCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFGroupModFailedCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFGroupModFailedCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFGroupModFailedCode ofWireValue(short val) {
        switch(val) {
            case GROUP_EXISTS_VAL:
                return OFGroupModFailedCode.GROUP_EXISTS;
            case INVALID_GROUP_VAL:
                return OFGroupModFailedCode.INVALID_GROUP;
            case WEIGHT_UNSUPPORTED_VAL:
                return OFGroupModFailedCode.WEIGHT_UNSUPPORTED;
            case OUT_OF_GROUPS_VAL:
                return OFGroupModFailedCode.OUT_OF_GROUPS;
            case OUT_OF_BUCKETS_VAL:
                return OFGroupModFailedCode.OUT_OF_BUCKETS;
            case CHAINING_UNSUPPORTED_VAL:
                return OFGroupModFailedCode.CHAINING_UNSUPPORTED;
            case WATCH_UNSUPPORTED_VAL:
                return OFGroupModFailedCode.WATCH_UNSUPPORTED;
            case LOOP_VAL:
                return OFGroupModFailedCode.LOOP;
            case UNKNOWN_GROUP_VAL:
                return OFGroupModFailedCode.UNKNOWN_GROUP;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBadInstructionCodeSerializerVer12.java42
org/projectfloodlight/openflow/protocol/ver13/OFBadInstructionCodeSerializerVer13.java42
org/projectfloodlight/openflow/protocol/ver14/OFBadInstructionCodeSerializerVer14.java43
    public static OFBadInstructionCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBadInstructionCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFBadInstructionCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFBadInstructionCode ofWireValue(short val) {
        switch(val) {
            case UNKNOWN_INST_VAL:
                return OFBadInstructionCode.UNKNOWN_INST;
            case UNSUP_INST_VAL:
                return OFBadInstructionCode.UNSUP_INST;
            case BAD_TABLE_ID_VAL:
                return OFBadInstructionCode.BAD_TABLE_ID;
            case UNSUP_METADATA_VAL:
                return OFBadInstructionCode.UNSUP_METADATA;
            case UNSUP_METADATA_MASK_VAL:
                return OFBadInstructionCode.UNSUP_METADATA_MASK;
            case BAD_EXPERIMENTER_VAL:
                return OFBadInstructionCode.BAD_EXPERIMENTER;
            case BAD_EXPERIMENTER_TYPE_VAL:
                return OFBadInstructionCode.BAD_EXPERIMENTER_TYPE;
            case BAD_LEN_VAL:
                return OFBadInstructionCode.BAD_LEN;
            case EPERM_VAL:
                return OFBadInstructionCode.EPERM;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFControllerRoleSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFControllerRoleSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFControllerRoleSerializerVer14.java30
public class OFControllerRoleSerializerVer12 {

    public final static int ROLE_NOCHANGE_VAL = 0x0;
    public final static int ROLE_EQUAL_VAL = 0x1;
    public final static int ROLE_MASTER_VAL = 0x2;
    public final static int ROLE_SLAVE_VAL = 0x3;

    public static OFControllerRole readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFControllerRole e) {
        bb.writeInt(toWireValue(e));
    }

    public static void putTo(OFControllerRole e, PrimitiveSink sink) {
        sink.putInt(toWireValue(e));
    }

    public static OFControllerRole ofWireValue(int val) {
        switch(val) {
            case ROLE_NOCHANGE_VAL:
                return OFControllerRole.ROLE_NOCHANGE;
            case ROLE_EQUAL_VAL:
                return OFControllerRole.ROLE_EQUAL;
            case ROLE_MASTER_VAL:
                return OFControllerRole.ROLE_MASTER;
            case ROLE_SLAVE_VAL:
                return OFControllerRole.ROLE_SLAVE;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFControllerRole in version 1.2: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsRequestVer12.java109
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsRequestVer13.java109
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsRequestVer14.java109
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupFeaturesStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_FEATURES;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupFeaturesStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFGroupFeaturesStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");

                //
                return new OFGroupFeaturesStatsRequestVer12(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionsRequestVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionsRequestVer14.java200
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x38L
            int subtype = bb.readInt();
            if(subtype != 0x38)
                throw new OFParseError("Wrong subtype: Expected=0x38L(0x38L), got="+subtype);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsRequestVer13.java116
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsRequestVer13.java188
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xdL;
    }



        @Override
        public OFBsnDebugCounterDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsRequestVer13.java116
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsRequestVer13.java188
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xcL;
    }



        @Override
        public OFBsnDebugCounterStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableGetRequestVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableGetRequestVer14.java200
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x26L
            int subtype = bb.readInt();
            if(subtype != 0x26)
                throw new OFParseError("Wrong subtype: Expected=0x26L(0x26L), got="+subtype);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsRequestVer13.java116
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsRequestVer13.java188
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }



        @Override
        public OFBsnGentableDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsRequestVer13.java116
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsRequestVer13.java188
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x7L;
    }



        @Override
        public OFBsnGentableStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetSwitchPipelineReplyVer13.java113
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetSwitchPipelineReplyVer14.java113
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetSwitchPipelineReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x34L;
    }

    @Override
    public String getPipeline() {
        return pipeline;
    }

    @Override
    public OFBsnGetSwitchPipelineReply.Builder setPipeline(String pipeline) {
        this.pipeline = pipeline;
        this.pipelineSet = true;
        return this;
    }


        @Override
        public OFBsnGetSwitchPipelineReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                String pipeline = this.pipelineSet ? this.pipeline : parentMessage.pipeline;
                if(pipeline == null)
                    throw new NullPointerException("Property pipeline must not be null");

                //
                return new OFBsnGetSwitchPipelineReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetSwitchPipelineRequestVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetSwitchPipelineRequestVer14.java200
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x33L
            int subtype = bb.readInt();
            if(subtype != 0x33)
                throw new OFParseError("Wrong subtype: Expected=0x33L(0x33L), got="+subtype);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsRequestVer13.java116
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsRequestVer13.java188
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnImageDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnImageDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xeL;
    }



        @Override
        public OFBsnImageDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsRequestVer13.java116
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsRequestVer13.java188
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLacpStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnLacpStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }



        @Override
        public OFBsnLacpStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetSwitchPipelineRequestVer13.java113
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetSwitchPipelineRequestVer14.java113
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetSwitchPipelineRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x35L;
    }

    @Override
    public String getPipeline() {
        return pipeline;
    }

    @Override
    public OFBsnSetSwitchPipelineRequest.Builder setPipeline(String pipeline) {
        this.pipeline = pipeline;
        this.pipelineSet = true;
        return this;
    }


        @Override
        public OFBsnSetSwitchPipelineRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                String pipeline = this.pipelineSet ? this.pipeline : parentMessage.pipeline;
                if(pipeline == null)
                    throw new NullPointerException("Property pipeline must not be null");

                //
                return new OFBsnSetSwitchPipelineRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsRequestVer13.java116
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsRequestVer13.java188
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSwitchPipelineStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnSwitchPipelineStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x6L;
    }



        @Override
        public OFBsnSwitchPipelineStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsRequestVer13.java116
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsRequestVer13.java188
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTableChecksumStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnTableChecksumStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }



        @Override
        public OFBsnTableChecksumStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTimeReplyVer13.java113
org/projectfloodlight/openflow/protocol/ver14/OFBsnTimeReplyVer14.java113
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTimeReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2dL;
    }

    @Override
    public U64 getTimeMs() {
        return timeMs;
    }

    @Override
    public OFBsnTimeReply.Builder setTimeMs(U64 timeMs) {
        this.timeMs = timeMs;
        this.timeMsSet = true;
        return this;
    }


        @Override
        public OFBsnTimeReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                U64 timeMs = this.timeMsSet ? this.timeMs : parentMessage.timeMs;
                if(timeMs == null)
                    throw new NullPointerException("Property timeMs must not be null");

                //
                return new OFBsnTimeReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTimeRequestVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnTimeRequestVer14.java200
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x2cL
            int subtype = bb.readInt();
            if(subtype != 0x2c)
                throw new OFParseError("Wrong subtype: Expected=0x2cL(0x2cL), got="+subtype);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsRequestVer13.java116
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsRequestVer13.java188
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFCalientPortDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFCalientPortDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x80f958L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }



        @Override
        public OFCalientPortDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortsRequestVer13.java116
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortsRequestVer13.java188
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFCircuitPortsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFCircuitPortsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x748771L;
    }

    @Override
    public long getSubtype() {
        return 0xdL;
    }



        @Override
        public OFCircuitPortsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesStatsRequestVer13.java109
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesStatsRequestVer14.java109
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterFeaturesStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_FEATURES;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterFeaturesStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFMeterFeaturesStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");

                //
                return new OFMeterFeaturesStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsRequestVer13.java109
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsRequestVer14.java109
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT_DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFPortDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");

                //
                return new OFPortDescStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesVer13.java374
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesVer14.java374
    }

//
        @Override
        public OFTableFeatures build() {
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            String name = this.nameSet ? this.name : DEFAULT_NAME;
            if(name == null)
                throw new NullPointerException("Property name must not be null");
            U64 metadataMatch = this.metadataMatchSet ? this.metadataMatch : DEFAULT_METADATA_MATCH;
            if(metadataMatch == null)
                throw new NullPointerException("Property metadataMatch must not be null");
            U64 metadataWrite = this.metadataWriteSet ? this.metadataWrite : DEFAULT_METADATA_WRITE;
            if(metadataWrite == null)
                throw new NullPointerException("Property metadataWrite must not be null");
            long config = this.configSet ? this.config : DEFAULT_CONFIG;
            long maxEntries = this.maxEntriesSet ? this.maxEntries : DEFAULT_MAX_ENTRIES;
            List<OFTableFeatureProp> properties = this.propertiesSet ? this.properties : DEFAULT_PROPERTIES;
            if(properties == null)
                throw new NullPointerException("Property properties must not be null");


            return new OFTableFeaturesVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsRequestVer14.java116
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsRequestVer14.java188
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xdL;
    }



        @Override
        public OFBsnDebugCounterDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsRequestVer14.java116
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsRequestVer14.java188
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xcL;
    }



        @Override
        public OFBsnDebugCounterStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsRequestVer14.java116
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsRequestVer14.java188
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }



        @Override
        public OFBsnGentableDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsRequestVer14.java116
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsRequestVer14.java188
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x7L;
    }



        @Override
        public OFBsnGentableStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsRequestVer14.java116
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsRequestVer14.java188
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnImageDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnImageDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xeL;
    }



        @Override
        public OFBsnImageDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsRequestVer14.java116
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsRequestVer14.java188
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLacpStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnLacpStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }



        @Override
        public OFBsnLacpStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsRequestVer14.java116
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsRequestVer14.java188
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSwitchPipelineStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnSwitchPipelineStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x6L;
    }



        @Override
        public OFBsnSwitchPipelineStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsRequestVer14.java116
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsRequestVer14.java188
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTableChecksumStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnTableChecksumStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }



        @Override
        public OFBsnTableChecksumStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowModFlagsSerializerVer10.java40
org/projectfloodlight/openflow/protocol/ver13/OFFlowModFlagsSerializerVer13.java43
org/projectfloodlight/openflow/protocol/ver14/OFFlowModFlagsSerializerVer14.java43
    public static Set<OFFlowModFlags> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFFlowModFlags> set) {
        bb.writeShort(toWireValue(set));
    }

    public static void putTo(Set<OFFlowModFlags> set, PrimitiveSink sink) {
        sink.putShort(toWireValue(set));
    }


    public static Set<OFFlowModFlags> ofWireValue(short val) {
        EnumSet<OFFlowModFlags> set = EnumSet.noneOf(OFFlowModFlags.class);

        if((val & SEND_FLOW_REM_VAL) != 0)
            set.add(OFFlowModFlags.SEND_FLOW_REM);
        if((val & CHECK_OVERLAP_VAL) != 0)
            set.add(OFFlowModFlags.CHECK_OVERLAP);
        if((val & EMERG_VAL) != 0)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowWildcardsSerializerVer10.java59
org/projectfloodlight/openflow/protocol/ver11/OFFlowWildcardsSerializerVer11.java48
    public static Set<OFFlowWildcards> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFFlowWildcards> set) {
        bb.writeInt(toWireValue(set));
    }

    public static void putTo(Set<OFFlowWildcards> set, PrimitiveSink sink) {
        sink.putInt(toWireValue(set));
    }


    public static Set<OFFlowWildcards> ofWireValue(int val) {
        EnumSet<OFFlowWildcards> set = EnumSet.noneOf(OFFlowWildcards.class);

        if((val & IN_PORT_VAL) != 0)
            set.add(OFFlowWildcards.IN_PORT);
        if((val & DL_VLAN_VAL) != 0)
            set.add(OFFlowWildcards.DL_VLAN);
        if((val & DL_SRC_VAL) != 0)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java770
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java770
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java770
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java800
            bb.skipBytes(6);
            U64 rxPackets = U64.ofRaw(bb.readLong());
            U64 txPackets = U64.ofRaw(bb.readLong());
            U64 rxBytes = U64.ofRaw(bb.readLong());
            U64 txBytes = U64.ofRaw(bb.readLong());
            U64 rxDropped = U64.ofRaw(bb.readLong());
            U64 txDropped = U64.ofRaw(bb.readLong());
            U64 rxErrors = U64.ofRaw(bb.readLong());
            U64 txErrors = U64.ofRaw(bb.readLong());
            U64 rxFrameErr = U64.ofRaw(bb.readLong());
            U64 rxOverErr = U64.ofRaw(bb.readLong());
            U64 rxCrcErr = U64.ofRaw(bb.readLong());
            U64 collisions = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsEntryVer10.java722
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsEntryVer12.java975
        if( wildcards != other.wildcards)
            return false;
        if( maxEntries != other.maxEntries)
            return false;
        if( activeCount != other.activeCount)
            return false;
        if (lookupCount == null) {
            if (other.lookupCount != null)
                return false;
        } else if (!lookupCount.equals(other.lookupCount))
            return false;
        if (matchedCount == null) {
            if (other.matchedCount != null)
                return false;
        } else if (!matchedCount.equals(other.matchedCount))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime * result + ((name == null) ? 0 : name.hashCode());
        result = prime * result + wildcards;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFQueueGetConfigReplyVer11.java262
org/projectfloodlight/openflow/protocol/ver12/OFQueueGetConfigReplyVer12.java262
org/projectfloodlight/openflow/protocol/ver13/OFQueueGetConfigReplyVer13.java262
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 23
            byte type = bb.readByte();
            if(type != (byte) 0x17)
                throw new OFParseError("Wrong type: Expected=OFType.QUEUE_GET_CONFIG_REPLY(23), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            OFPort port = OFPort.read4Bytes(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            List<OFPacketQueue> queues = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFPacketQueueVer11.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java432
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java706
            return parentMessage.getActions();
        for (OFInstruction inst : this.instructions) {
            if (inst instanceof OFInstructionApplyActions) {
                OFInstructionApplyActions iap = (OFInstructionApplyActions)inst;
                return iap.getActions();
            }
        }
        return Collections.emptyList();
    }

    @Override
    public OFFlowAdd.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
        OFInstructionApplyActionsVer13.Builder builder = new OFInstructionApplyActionsVer13.Builder();
        builder.setActions(actions);
        this.instructions = Collections.singletonList((OFInstruction)builder.build());
        this.instructionsSet = true;
        return this;
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.3");
    }

    @Override
    public OFFlowAdd.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.3");
    }


        @Override
        public OFFlowAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java428
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java702
            return parentMessage.getActions();
        for (OFInstruction inst : this.instructions) {
            if (inst instanceof OFInstructionApplyActions) {
                OFInstructionApplyActions iap = (OFInstructionApplyActions)inst;
                return iap.getActions();
            }
        }
        return Collections.emptyList();
    }

    @Override
    public OFFlowDeleteStrict.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
        OFInstructionApplyActionsVer13.Builder builder = new OFInstructionApplyActionsVer13.Builder();
        builder.setActions(actions);
        this.instructions = Collections.singletonList((OFInstruction)builder.build());
        this.instructionsSet = true;
        return this;
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.3");
    }

    @Override
    public OFFlowDeleteStrict.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.3");
    }


        @Override
        public OFFlowDeleteStrict build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java427
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java701
            return parentMessage.getActions();
        for (OFInstruction inst : this.instructions) {
            if (inst instanceof OFInstructionApplyActions) {
                OFInstructionApplyActions iap = (OFInstructionApplyActions)inst;
                return iap.getActions();
            }
        }
        return Collections.emptyList();
    }

    @Override
    public OFFlowDelete.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
        OFInstructionApplyActionsVer13.Builder builder = new OFInstructionApplyActionsVer13.Builder();
        builder.setActions(actions);
        this.instructions = Collections.singletonList((OFInstruction)builder.build());
        this.instructionsSet = true;
        return this;
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.3");
    }

    @Override
    public OFFlowDelete.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.3");
    }


        @Override
        public OFFlowDelete build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java428
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java702
            return parentMessage.getActions();
        for (OFInstruction inst : this.instructions) {
            if (inst instanceof OFInstructionApplyActions) {
                OFInstructionApplyActions iap = (OFInstructionApplyActions)inst;
                return iap.getActions();
            }
        }
        return Collections.emptyList();
    }

    @Override
    public OFFlowModifyStrict.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
        OFInstructionApplyActionsVer13.Builder builder = new OFInstructionApplyActionsVer13.Builder();
        builder.setActions(actions);
        this.instructions = Collections.singletonList((OFInstruction)builder.build());
        this.instructionsSet = true;
        return this;
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.3");
    }

    @Override
    public OFFlowModifyStrict.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.3");
    }


        @Override
        public OFFlowModifyStrict build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java426
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java700
            return parentMessage.getActions();
        for (OFInstruction inst : this.instructions) {
            if (inst instanceof OFInstructionApplyActions) {
                OFInstructionApplyActions iap = (OFInstructionApplyActions)inst;
                return iap.getActions();
            }
        }
        return Collections.emptyList();
    }

    @Override
    public OFFlowModify.Builder setActions(List<OFAction> actions) throws UnsupportedOperationException {
        OFInstructionApplyActionsVer13.Builder builder = new OFInstructionApplyActionsVer13.Builder();
        builder.setActions(actions);
        this.instructions = Collections.singletonList((OFInstruction)builder.build());
        this.instructionsSet = true;
        return this;
    }
    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.3");
    }

    @Override
    public OFFlowModify.Builder setImportance(int importance) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property importance not supported in version 1.3");
    }


        @Override
        public OFFlowModify build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java477
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java477
        public void write(ChannelBuffer bb, OFGroupStatsEntryVer13 message) {
            int startIndex = bb.writerIndex();
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            // pad: 2 bytes
            bb.writeZero(2);
            message.group.write4Bytes(bb);
            bb.writeInt(U32.t(message.refCount));
            // pad: 4 bytes
            bb.writeZero(4);
            bb.writeLong(message.packetCount.getValue());
            bb.writeLong(message.byteCount.getValue());
            bb.writeInt(U32.t(message.durationSec));
            bb.writeInt(U32.t(message.durationNsec));
            ChannelUtils.writeList(bb, message.bucketStats);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFGroupStatsEntryVer13(");
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFRequestforwardVer14.java111
org/projectfloodlight/openflow/protocol/ver14/OFRequestforwardVer14.java183
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.REQUESTFORWARD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRequestforward.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getRole() {
        return role;
    }

    @Override
    public OFRequestforward.Builder setRole(long role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFRequestforward.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFRequestforward build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
net/onrc/openvirtex/core/io/OVXMessageDecoder.java214
net/onrc/openvirtex/elements/datapath/OVXSwitch.java981
            else if(of_message_type.equals("OFFlowAddVer13"))
                ovxmessage=OVXFactoryInst.myOVXFactory.buildOVXFlowAdd(((OFFlowAdd)message).getXid(), ((OFFlowAdd)message).getCookie(), ((OFFlowAdd)message).getCookieMask(), ((OFFlowAdd)message).getTableId(), ((OFFlowAdd)message).getIdleTimeout(), ((OFFlowAdd)message).getHardTimeout(), ((OFFlowAdd)message).getPriority(), ((OFFlowAdd)message).getBufferId(), ((OFFlowAdd)message).getOutPort(), ((OFFlowAdd)message).getOutGroup(), ((OFFlowAdd)message).getFlags(), ((OFFlowAdd)message).getMatch(), ((OFFlowAdd)message).getInstructions());
            else if(of_message_type.equals("OFFlowDeleteVer13"))
FileLine
net/onrc/openvirtex/core/io/OVXMessageDecoder.java216
net/onrc/openvirtex/elements/datapath/OVXSwitch.java983
            else if(of_message_type.equals("OFFlowDeleteVer13"))
                ovxmessage=OVXFactoryInst.myOVXFactory.buildOVXFlowDelete(((OFFlowDelete)message).getXid(), ((OFFlowDelete)message).getCookie(), ((OFFlowDelete)message).getCookieMask(), ((OFFlowDelete)message).getTableId(), ((OFFlowDelete)message).getIdleTimeout(), ((OFFlowDelete)message).getHardTimeout(), ((OFFlowDelete)message).getPriority(), ((OFFlowDelete)message).getBufferId(), ((OFFlowDelete)message).getOutPort(), ((OFFlowDelete)message).getOutGroup(), ((OFFlowDelete)message).getFlags(), ((OFFlowDelete)message).getMatch(), ((OFFlowDelete)message).getInstructions());
            else if(of_message_type.equals("OFFlowDeleteStrictVer13"))
FileLine
net/onrc/openvirtex/core/io/OVXMessageDecoder.java218
net/onrc/openvirtex/elements/datapath/OVXSwitch.java985
            else if(of_message_type.equals("OFFlowDeleteStrictVer13"))
                ovxmessage=OVXFactoryInst.myOVXFactory.buildOVXFlowDeleteStrict(((OFFlowDeleteStrict)message).getXid(), ((OFFlowDeleteStrict)message).getCookie(), ((OFFlowDeleteStrict)message).getCookieMask(), ((OFFlowDeleteStrict)message).getTableId(), ((OFFlowDeleteStrict)message).getIdleTimeout(), ((OFFlowDeleteStrict)message).getHardTimeout(), ((OFFlowDeleteStrict)message).getPriority(), ((OFFlowDeleteStrict)message).getBufferId(), ((OFFlowDeleteStrict)message).getOutPort(), ((OFFlowDeleteStrict)message).getOutGroup(), ((OFFlowDeleteStrict)message).getFlags(), ((OFFlowDeleteStrict)message).getMatch(), ((OFFlowDeleteStrict)message).getInstructions());
            else if(of_message_type.equals("OFFlowModifyVer13"))
FileLine
net/onrc/openvirtex/core/io/OVXMessageDecoder.java220
net/onrc/openvirtex/elements/datapath/OVXSwitch.java987
            else if(of_message_type.equals("OFFlowModifyVer13"))
                ovxmessage=OVXFactoryInst.myOVXFactory.buildOVXFlowModify(((OFFlowModify)message).getXid(), ((OFFlowModify)message).getCookie(), ((OFFlowModify)message).getCookieMask(), ((OFFlowModify)message).getTableId(), ((OFFlowModify)message).getIdleTimeout(), ((OFFlowModify)message).getHardTimeout(), ((OFFlowModify)message).getPriority(), ((OFFlowModify)message).getBufferId(), ((OFFlowModify)message).getOutPort(), ((OFFlowModify)message).getOutGroup(), ((OFFlowModify)message).getFlags(), ((OFFlowModify)message).getMatch(), ((OFFlowModify)message).getInstructions());
            else if(of_message_type.equals("OFFlowModifyStrictVer13"))
FileLine
net/onrc/openvirtex/core/io/OVXMessageDecoder.java222
net/onrc/openvirtex/elements/datapath/OVXSwitch.java989
            else if(of_message_type.equals("OFFlowModifyStrictVer13"))
                ovxmessage=OVXFactoryInst.myOVXFactory.buildOVXFlowModifyStrict(((OFFlowModifyStrict)message).getXid(), ((OFFlowModifyStrict)message).getCookie(), ((OFFlowModifyStrict)message).getCookieMask(), ((OFFlowModifyStrict)message).getTableId(), ((OFFlowModifyStrict)message).getIdleTimeout(), ((OFFlowModifyStrict)message).getHardTimeout(), ((OFFlowModifyStrict)message).getPriority(), ((OFFlowModifyStrict)message).getBufferId(), ((OFFlowModifyStrict)message).getOutPort(), ((OFFlowModifyStrict)message).getOutGroup(), ((OFFlowModifyStrict)message).getFlags(), ((OFFlowModifyStrict)message).getMatch(), ((OFFlowModifyStrict)message).getInstructions());
            else if(of_message_type.equals("OFFlowRemovedVer13"))
FileLine
net/onrc/openvirtex/elements/link/OVXLink.java430
net/onrc/openvirtex/elements/link/OVXLink.java522
        PhysicalPort inPort = null;
        PhysicalPort outPort = null;
        fm_clone=fm_clone.createBuilder().setBufferId(OFBufferId.NO_BUFFER).build();
        //.setCommand(OFFlowModCommand.MODIFY);
        
        List<PhysicalLink> plinks = new LinkedList<PhysicalLink>();
        try {
            final OVXLink link = this.map.getVirtualNetwork(this.tenantId)
                    .getLink(this.srcPort, this.dstPort);
            for (final PhysicalLink phyLink : OVXMap.getInstance()
                    .getPhysicalLinks(link)) {
                plinks.add(new PhysicalLink(phyLink.getDstPort(), phyLink
                        .getSrcPort()));
            }
        } catch (LinkMappingException | NetworkMappingException e) {
            log.warn("No physical Links mapped to OVXLink? : {}", e);
            return;
        }

        Collections.reverse(plinks);

        for (final PhysicalLink phyLink : plinks) {
            if (outPort != null) {
                inPort = phyLink.getSrcPort();
                Match fm_clone_match=((OFMatchV1)fm_clone.getMatch())
FileLine
net/onrc/openvirtex/messages/actions/ver10/OVXActionOutputVer10.java287
net/onrc/openvirtex/messages/actions/ver13/OVXActionOutputVer13.java295
                                        match.getEthDst().getBytes());
                                link.generateLinkFMs(fm.clone(), flowId);
                                approvedActions.addAll(new OVXLinkUtils(sw
                                        .getTenantId(), linkId, flowId)
                                .setLinkFields());
                            } catch (IndexOutOfBoundException e) {
                                log.error(
                                        "Too many host to generate the flow pairs in this virtual network {}. "
                                                + "Dropping flow-mod {} ",
                                                sw.getTenantId(), fm);
                                throw new DroppedMessageException();
                            }
                        }
                    }
                    if (inPort.getPhysicalPortNumber() != outPort
                            .getPhysicalPortNumber()) {
                        approvedActions.add(OVXFactoryInst.myFactory.actions().
                        		output(OFPort.ofShort(outPort
                                        .getPhysicalPortNumber()),0));
                        		
                        		
                    } else {
                        approvedActions.add(OVXFactoryInst.myFactory.actions().
                        		output(OFPort.IN_PORT,0));
                               
                    }
                }
                // TODO: Check if I need to do the unrewrite here for the single
                // switch
            }
        } else if (match.isPacketOut()) {
            /*
             * PacketOut management. Iterate through the output port list.
             *
             * Three possible scenarios:
             * (1) outPort belongs to a link: send a packetIn coming from the
             * virtual link end point to the controller
             * (2) outPort is an edge port: two different sub-cases:
             * (2a) inPort & outPort belong to the same physical switch: rewrite outPort
             * (2b) inPort & outPort belong to different switches (bigSwitch):
             * send a packetOut to the physical port @ the end of the BS route.
             */

            // TODO check how to delete the packetOut and if it's required
            boolean throwException = true;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionSetTpDstVer10.java161
org/projectfloodlight/openflow/protocol/ver11/OFActionSetTpDstVer11.java161
            return new OFActionSetTpDstVer10(
                    tpPort
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionSetTpDst> {
        @Override
        public OFActionSetTpDst readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 10
            short type = bb.readShort();
            if(type != (short) 0xa)
                throw new OFParseError("Wrong type: Expected=OFActionType.SET_TP_DST(10), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            TransportPort tpPort = TransportPort.read2Bytes(bb);
            // pad: 2 bytes
            bb.skipBytes(2);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionSetTpSrcVer10.java161
org/projectfloodlight/openflow/protocol/ver11/OFActionSetTpSrcVer11.java161
            return new OFActionSetTpSrcVer10(
                    tpPort
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionSetTpSrc> {
        @Override
        public OFActionSetTpSrc readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 9
            short type = bb.readShort();
            if(type != (short) 0x9)
                throw new OFParseError("Wrong type: Expected=OFActionType.SET_TP_SRC(9), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            TransportPort tpPort = TransportPort.read2Bytes(bb);
            // pad: 2 bytes
            bb.skipBytes(2);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionSetVlanPcpVer10.java161
org/projectfloodlight/openflow/protocol/ver11/OFActionSetVlanPcpVer11.java161
            return new OFActionSetVlanPcpVer10(
                    vlanPcp
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionSetVlanPcp> {
        @Override
        public OFActionSetVlanPcp readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 2
            short type = bb.readShort();
            if(type != (short) 0x2)
                throw new OFParseError("Wrong type: Expected=OFActionType.SET_VLAN_PCP(2), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            VlanPcp vlanPcp = VlanPcp.readByte(bb);
            // pad: 3 bytes
            bb.skipBytes(3);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionSetVlanVidVer10.java161
org/projectfloodlight/openflow/protocol/ver11/OFActionSetVlanVidVer11.java161
            return new OFActionSetVlanVidVer10(
                    vlanVid
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionSetVlanVid> {
        @Override
        public OFActionSetVlanVid readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 1
            short type = bb.readShort();
            if(type != (short) 0x1)
                throw new OFParseError("Wrong type: Expected=OFActionType.SET_VLAN_VID(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            VlanVid vlanVid = VlanVid.read2Bytes(bb);
            // pad: 2 bytes
            bb.skipBytes(2);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsEntryVer10.java312
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsEntryVer10.java526
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsEntryVer11.java345
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsEntryVer11.java591
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsEntryVer12.java385
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsEntryVer12.java663
    }
    @Override
    public long getMaxEntries() {
        return maxEntries;
    }

    @Override
    public OFTableStatsEntry.Builder setMaxEntries(long maxEntries) {
        this.maxEntries = maxEntries;
        this.maxEntriesSet = true;
        return this;
    }
    @Override
    public long getActiveCount() {
        return activeCount;
    }

    @Override
    public OFTableStatsEntry.Builder setActiveCount(long activeCount) {
        this.activeCount = activeCount;
        this.activeCountSet = true;
        return this;
    }
    @Override
    public U64 getLookupCount() {
        return lookupCount;
    }

    @Override
    public OFTableStatsEntry.Builder setLookupCount(U64 lookupCount) {
        this.lookupCount = lookupCount;
        this.lookupCountSet = true;
        return this;
    }
    @Override
    public U64 getMatchedCount() {
        return matchedCount;
    }

    @Override
    public OFTableStatsEntry.Builder setMatchedCount(U64 matchedCount) {
        this.matchedCount = matchedCount;
        this.matchedCountSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFActionPopMplsVer11.java161
org/projectfloodlight/openflow/protocol/ver12/OFActionPopMplsVer12.java161
org/projectfloodlight/openflow/protocol/ver13/OFActionPopMplsVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFActionPopMplsVer14.java161
            return new OFActionPopMplsVer11(
                    ethertype
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionPopMpls> {
        @Override
        public OFActionPopMpls readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 20
            short type = bb.readShort();
            if(type != (short) 0x14)
                throw new OFParseError("Wrong type: Expected=OFActionType.POP_MPLS(20), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            EthType ethertype = EthType.read2Bytes(bb);
            // pad: 2 bytes
            bb.skipBytes(2);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFActionPushMplsVer11.java161
org/projectfloodlight/openflow/protocol/ver12/OFActionPushMplsVer12.java161
org/projectfloodlight/openflow/protocol/ver13/OFActionPushMplsVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFActionPushMplsVer14.java161
            return new OFActionPushMplsVer11(
                    ethertype
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionPushMpls> {
        @Override
        public OFActionPushMpls readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 19
            short type = bb.readShort();
            if(type != (short) 0x13)
                throw new OFParseError("Wrong type: Expected=OFActionType.PUSH_MPLS(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            EthType ethertype = EthType.read2Bytes(bb);
            // pad: 2 bytes
            bb.skipBytes(2);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFActionPushVlanVer11.java161
org/projectfloodlight/openflow/protocol/ver12/OFActionPushVlanVer12.java161
org/projectfloodlight/openflow/protocol/ver13/OFActionPushVlanVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFActionPushVlanVer14.java161
            return new OFActionPushVlanVer11(
                    ethertype
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionPushVlan> {
        @Override
        public OFActionPushVlan readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 17
            short type = bb.readShort();
            if(type != (short) 0x11)
                throw new OFParseError("Wrong type: Expected=OFActionType.PUSH_VLAN(17), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            EthType ethertype = EthType.read2Bytes(bb);
            // pad: 2 bytes
            bb.skipBytes(2);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFInstructionGotoTableVer11.java161
org/projectfloodlight/openflow/protocol/ver12/OFInstructionGotoTableVer12.java161
org/projectfloodlight/openflow/protocol/ver13/OFInstructionGotoTableVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFInstructionGotoTableVer14.java161
            return new OFInstructionGotoTableVer11(
                    tableId
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionGotoTable> {
        @Override
        public OFInstructionGotoTable readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 1
            short type = bb.readShort();
            if(type != (short) 0x1)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.GOTO_TABLE(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            TableId tableId = TableId.readByte(bb);
            // pad: 3 bytes
            bb.skipBytes(3);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionPushPbbVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFActionPushPbbVer14.java161
            return new OFActionPushPbbVer13(
                    ethertype
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionPushPbb> {
        @Override
        public OFActionPushPbb readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 26
            short type = bb.readShort();
            if(type != (short) 0x1a)
                throw new OFParseError("Wrong type: Expected=OFActionType.PUSH_PBB(26), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            EthType ethertype = EthType.read2Bytes(bb);
            // pad: 2 bytes
            bb.skipBytes(2);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsReplyVer13.java304
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsReplyVer13.java304
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsReplyVer13.java304
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsReplyVer13.java304
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsReplyVer13.java304
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsReplyVer13.java304
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsReplyVer13.java304
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsReplyVer13.java304
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsReplyVer13.java304
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsReplyVer13.java304
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsReplyVer13.java304
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsReplyVer13.java304
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsReplyVer13.java304
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsReplyVer13.java304
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsReplyVer13.java304
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsReplyVer13.java342
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsReplyVer13.java304
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsReplyVer13.java342
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortsReplyVer13.java304
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsReplyVer13.java274
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsReplyVer13.java274
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsReplyVer13.java274
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsReplyVer13.java274
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsReplyVer13.java274
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsReplyVer13.java274
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsReplyVer13.java274
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsReplyVer13.java274
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsReplyVer13.java276
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsReplyVer13.java274
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsVer13.java467
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsVer14.java467
        public void write(ChannelBuffer bb, OFMeterStatsVer13 message) {
            int startIndex = bb.writerIndex();
            bb.writeInt(U32.t(message.meterId));
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            // pad: 6 bytes
            bb.writeZero(6);
            bb.writeInt(U32.t(message.flowCount));
            bb.writeLong(message.packetInCount.getValue());
            bb.writeLong(message.byteInCount.getValue());
            bb.writeInt(U32.t(message.durationSec));
            bb.writeInt(U32.t(message.durationNsec));
            ChannelUtils.writeList(bb, message.bandStats);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFMeterStatsVer13(");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnInterfaceVer10.java124
org/projectfloodlight/openflow/protocol/ver11/OFBsnInterfaceVer11.java212
org/projectfloodlight/openflow/protocol/ver12/OFBsnInterfaceVer12.java212
org/projectfloodlight/openflow/protocol/ver13/OFBsnInterfaceVer13.java212
org/projectfloodlight/openflow/protocol/ver14/OFBsnInterfaceVer14.java212
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFBsnInterface.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnInterface.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Addr() {
        return ipv4Addr;
    }

    @Override
    public OFBsnInterface.Builder setIpv4Addr(IPv4Address ipv4Addr) {
        this.ipv4Addr = ipv4Addr;
        this.ipv4AddrSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Netmask() {
        return ipv4Netmask;
    }

    @Override
    public OFBsnInterface.Builder setIpv4Netmask(IPv4Address ipv4Netmask) {
        this.ipv4Netmask = ipv4Netmask;
        this.ipv4NetmaskSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnInterfaceVer10.java212
org/projectfloodlight/openflow/protocol/ver11/OFBsnInterfaceVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFBsnInterfaceVer12.java124
org/projectfloodlight/openflow/protocol/ver13/OFBsnInterfaceVer13.java124
org/projectfloodlight/openflow/protocol/ver14/OFBsnInterfaceVer14.java124
    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public OFBsnInterface.Builder setHwAddr(MacAddress hwAddr) {
        this.hwAddr = hwAddr;
        this.hwAddrSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnInterface.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Addr() {
        return ipv4Addr;
    }

    @Override
    public OFBsnInterface.Builder setIpv4Addr(IPv4Address ipv4Addr) {
        this.ipv4Addr = ipv4Addr;
        this.ipv4AddrSet = true;
        return this;
    }
    @Override
    public IPv4Address getIpv4Netmask() {
        return ipv4Netmask;
    }

    @Override
    public OFBsnInterface.Builder setIpv4Netmask(IPv4Address ipv4Netmask) {
        this.ipv4Netmask = ipv4Netmask;
        this.ipv4NetmaskSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortCreateRequestVer10.java175
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortCreateRequestVer11.java175
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortCreateRequestVer12.java175
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortCreateRequestVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortCreateRequestVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortCreateRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public OFBsnVport getVport() {
        return vport;
    }

    @Override
    public OFBsnVirtualPortCreateRequest.Builder setVport(OFBsnVport vport) {
        this.vport = vport;
        this.vportSet = true;
        return this;
    }
//
        @Override
        public OFBsnVirtualPortCreateRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            if(!this.vportSet)
                throw new IllegalStateException("Property vport doesn't have default value -- must be set");
            if(vport == null)
                throw new NullPointerException("Property vport must not be null");


            return new OFBsnVirtualPortCreateRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsEntryVer10.java799
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java794
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java794
        } else if (!match.equals(other.match))
            return false;
        if( durationSec != other.durationSec)
            return false;
        if( durationNsec != other.durationNsec)
            return false;
        if( priority != other.priority)
            return false;
        if( idleTimeout != other.idleTimeout)
            return false;
        if( hardTimeout != other.hardTimeout)
            return false;
        if (cookie == null) {
            if (other.cookie != null)
                return false;
        } else if (!cookie.equals(other.cookie))
            return false;
        if (packetCount == null) {
            if (other.packetCount != null)
                return false;
        } else if (!packetCount.equals(other.packetCount))
            return false;
        if (byteCount == null) {
            if (other.byteCount != null)
                return false;
        } else if (!byteCount.equals(other.byteCount))
            return false;
        if (actions == null) {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTypeSerializerVer10.java30
org/projectfloodlight/openflow/protocol/ver11/OFTypeSerializerVer11.java30
org/projectfloodlight/openflow/protocol/ver12/OFTypeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFTypeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFTypeSerializerVer14.java30
public class OFTypeSerializerVer10 {

    public final static byte HELLO_VAL = (byte) 0x0;
    public final static byte ERROR_VAL = (byte) 0x1;
    public final static byte ECHO_REQUEST_VAL = (byte) 0x2;
    public final static byte ECHO_REPLY_VAL = (byte) 0x3;
    public final static byte EXPERIMENTER_VAL = (byte) 0x4;
    public final static byte FEATURES_REQUEST_VAL = (byte) 0x5;
    public final static byte FEATURES_REPLY_VAL = (byte) 0x6;
    public final static byte GET_CONFIG_REQUEST_VAL = (byte) 0x7;
    public final static byte GET_CONFIG_REPLY_VAL = (byte) 0x8;
    public final static byte SET_CONFIG_VAL = (byte) 0x9;
    public final static byte PACKET_IN_VAL = (byte) 0xa;
    public final static byte FLOW_REMOVED_VAL = (byte) 0xb;
    public final static byte PORT_STATUS_VAL = (byte) 0xc;
    public final static byte PACKET_OUT_VAL = (byte) 0xd;
    public final static byte FLOW_MOD_VAL = (byte) 0xe;
    public final static byte PORT_MOD_VAL = (byte) 0xf;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionVer13.java118
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionVer14.java206
    @Override
    public OFBsnControllerConnectionState getState() {
        return state;
    }

    @Override
    public OFBsnControllerConnection.Builder setState(OFBsnControllerConnectionState state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public OFAuxId getAuxiliaryId() {
        return auxiliaryId;
    }

    @Override
    public OFBsnControllerConnection.Builder setAuxiliaryId(OFAuxId auxiliaryId) {
        this.auxiliaryId = auxiliaryId;
        this.auxiliaryIdSet = true;
        return this;
    }
    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFBsnControllerConnection.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public String getUri() {
        return uri;
    }

    @Override
    public OFBsnControllerConnection.Builder setUri(String uri) {
        this.uri = uri;
        this.uriSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionVer13.java206
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionVer14.java118
    @Override
    public OFBsnControllerConnectionState getState() {
        return state;
    }

    @Override
    public OFBsnControllerConnection.Builder setState(OFBsnControllerConnectionState state) {
        this.state = state;
        this.stateSet = true;
        return this;
    }
    @Override
    public OFAuxId getAuxiliaryId() {
        return auxiliaryId;
    }

    @Override
    public OFBsnControllerConnection.Builder setAuxiliaryId(OFAuxId auxiliaryId) {
        this.auxiliaryId = auxiliaryId;
        this.auxiliaryIdSet = true;
        return this;
    }
    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFBsnControllerConnection.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public String getUri() {
        return uri;
    }

    @Override
    public OFBsnControllerConnection.Builder setUri(String uri) {
        this.uri = uri;
        this.uriSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsEntryVer13.java113
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsEntryVer14.java197
    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public long getBucketsSize() {
        return bucketsSize;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setBucketsSize(long bucketsSize) {
        this.bucketsSize = bucketsSize;
        this.bucketsSizeSet = true;
        return this;
    }
    @Override
    public long getMaxEntries() {
        return maxEntries;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setMaxEntries(long maxEntries) {
        this.maxEntries = maxEntries;
        this.maxEntriesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsEntryVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsEntryVer14.java113
    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public long getBucketsSize() {
        return bucketsSize;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setBucketsSize(long bucketsSize) {
        this.bucketsSize = bucketsSize;
        this.bucketsSizeSet = true;
        return this;
    }
    @Override
    public long getMaxEntries() {
        return maxEntries;
    }

    @Override
    public OFBsnGentableDescStatsEntry.Builder setMaxEntries(long maxEntries) {
        this.maxEntries = maxEntries;
        this.maxEntriesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java450
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java384
        public OFCalientFlowStatsEntry build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                long durationSec = this.durationSecSet ? this.durationSec : parentMessage.durationSec;
                long durationNsec = this.durationNsecSet ? this.durationNsec : parentMessage.durationNsec;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsEntryVer13.java249
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsEntryVer14.java260
    }



        @Override
        public OFQueueStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                long queueId = this.queueIdSet ? this.queueId : parentMessage.queueId;
                U64 txBytes = this.txBytesSet ? this.txBytes : parentMessage.txBytes;
                if(txBytes == null)
                    throw new NullPointerException("Property txBytes must not be null");
                U64 txPackets = this.txPacketsSet ? this.txPackets : parentMessage.txPackets;
                if(txPackets == null)
                    throw new NullPointerException("Property txPackets must not be null");
                U64 txErrors = this.txErrorsSet ? this.txErrors : parentMessage.txErrors;
                if(txErrors == null)
                    throw new NullPointerException("Property txErrors must not be null");
                long durationSec = this.durationSecSet ? this.durationSec : parentMessage.durationSec;
                long durationNsec = this.durationNsecSet ? this.durationNsec : parentMessage.durationNsec;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnMirrorVer10.java120
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnMirrorVer11.java202
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnMirrorVer12.java202
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnMirrorVer13.java202
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnMirrorVer14.java202
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }

    @Override
    public OFPort getDestPort() {
        return destPort;
    }

    @Override
    public OFActionBsnMirror.Builder setDestPort(OFPort destPort) {
        this.destPort = destPort;
        this.destPortSet = true;
        return this;
    }
    @Override
    public long getVlanTag() {
        return vlanTag;
    }

    @Override
    public OFActionBsnMirror.Builder setVlanTag(long vlanTag) {
        this.vlanTag = vlanTag;
        this.vlanTagSet = true;
        return this;
    }
    @Override
    public short getCopyStage() {
        return copyStage;
    }

    @Override
    public OFActionBsnMirror.Builder setCopyStage(short copyStage) {
        this.copyStage = copyStage;
        this.copyStageSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnMirrorVer10.java202
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnMirrorVer11.java120
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnMirrorVer12.java120
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnMirrorVer13.java120
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnMirrorVer14.java120
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }

    @Override
    public OFPort getDestPort() {
        return destPort;
    }

    @Override
    public OFActionBsnMirror.Builder setDestPort(OFPort destPort) {
        this.destPort = destPort;
        this.destPortSet = true;
        return this;
    }
    @Override
    public long getVlanTag() {
        return vlanTag;
    }

    @Override
    public OFActionBsnMirror.Builder setVlanTag(long vlanTag) {
        this.vlanTag = vlanTag;
        this.vlanTagSet = true;
        return this;
    }
    @Override
    public short getCopyStage() {
        return copyStage;
    }

    @Override
    public OFActionBsnMirror.Builder setCopyStage(short copyStage) {
        this.copyStage = copyStage;
        this.copyStageSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBadActionErrorMsgVer10.java116
org/projectfloodlight/openflow/protocol/ver11/OFBadActionErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFBadActionErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFBadActionErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFBadActionErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadActionErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_ACTION;
    }

    @Override
    public OFBadActionCode getCode() {
        return code;
    }

    @Override
    public OFBadActionErrorMsg.Builder setCode(OFBadActionCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadActionErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadActionErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBadActionErrorMsgVer10.java195
org/projectfloodlight/openflow/protocol/ver11/OFBadActionErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFBadActionErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFBadActionErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFBadActionErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadActionErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_ACTION;
    }

    @Override
    public OFBadActionCode getCode() {
        return code;
    }

    @Override
    public OFBadActionErrorMsg.Builder setCode(OFBadActionCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadActionErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBadActionErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBadRequestErrorMsgVer10.java116
org/projectfloodlight/openflow/protocol/ver11/OFBadRequestErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFBadRequestErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFBadRequestErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFBadRequestErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_REQUEST;
    }

    @Override
    public OFBadRequestCode getCode() {
        return code;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setCode(OFBadRequestCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadRequestErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBadRequestErrorMsgVer10.java195
org/projectfloodlight/openflow/protocol/ver11/OFBadRequestErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFBadRequestErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFBadRequestErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFBadRequestErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_REQUEST;
    }

    @Override
    public OFBadRequestCode getCode() {
        return code;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setCode(OFBadRequestCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadRequestErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBadRequestErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFDescStatsRequestVer10.java171
org/projectfloodlight/openflow/protocol/ver11/OFDescStatsRequestVer11.java171
org/projectfloodlight/openflow/protocol/ver12/OFDescStatsRequestVer12.java171
org/projectfloodlight/openflow/protocol/ver13/OFDescStatsRequestVer13.java171
org/projectfloodlight/openflow/protocol/ver14/OFDescStatsRequestVer14.java171
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
//
        @Override
        public OFDescStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");


            return new OFDescStatsRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowModFailedErrorMsgVer10.java116
org/projectfloodlight/openflow/protocol/ver11/OFFlowModFailedErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFFlowModFailedErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFFlowModFailedErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFFlowModFailedErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.FLOW_MOD_FAILED;
    }

    @Override
    public OFFlowModFailedCode getCode() {
        return code;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setCode(OFFlowModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFFlowModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowModFailedErrorMsgVer10.java195
org/projectfloodlight/openflow/protocol/ver11/OFFlowModFailedErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFFlowModFailedErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFFlowModFailedErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFFlowModFailedErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.FLOW_MOD_FAILED;
    }

    @Override
    public OFFlowModFailedCode getCode() {
        return code;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setCode(OFFlowModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFFlowModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFFlowModFailedErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFHelloFailedErrorMsgVer10.java116
org/projectfloodlight/openflow/protocol/ver11/OFHelloFailedErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFHelloFailedErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFHelloFailedErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFHelloFailedErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.HELLO_FAILED;
    }

    @Override
    public OFHelloFailedCode getCode() {
        return code;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setCode(OFHelloFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFHelloFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFHelloFailedErrorMsgVer10.java195
org/projectfloodlight/openflow/protocol/ver11/OFHelloFailedErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFHelloFailedErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFHelloFailedErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFHelloFailedErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.HELLO_FAILED;
    }

    @Override
    public OFHelloFailedCode getCode() {
        return code;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setCode(OFHelloFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFHelloFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFHelloFailedErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortModFailedErrorMsgVer10.java116
org/projectfloodlight/openflow/protocol/ver11/OFPortModFailedErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFPortModFailedErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFPortModFailedErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFPortModFailedErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.PORT_MOD_FAILED;
    }

    @Override
    public OFPortModFailedCode getCode() {
        return code;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setCode(OFPortModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFPortModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortModFailedErrorMsgVer10.java195
org/projectfloodlight/openflow/protocol/ver11/OFPortModFailedErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFPortModFailedErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFPortModFailedErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFPortModFailedErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.PORT_MOD_FAILED;
    }

    @Override
    public OFPortModFailedCode getCode() {
        return code;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setCode(OFPortModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFPortModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFPortModFailedErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueOpFailedErrorMsgVer10.java116
org/projectfloodlight/openflow/protocol/ver11/OFQueueOpFailedErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFQueueOpFailedErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFQueueOpFailedErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFQueueOpFailedErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.QUEUE_OP_FAILED;
    }

    @Override
    public OFQueueOpFailedCode getCode() {
        return code;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setCode(OFQueueOpFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFQueueOpFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueOpFailedErrorMsgVer10.java195
org/projectfloodlight/openflow/protocol/ver11/OFQueueOpFailedErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFQueueOpFailedErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFQueueOpFailedErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFQueueOpFailedErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.QUEUE_OP_FAILED;
    }

    @Override
    public OFQueueOpFailedCode getCode() {
        return code;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setCode(OFQueueOpFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFQueueOpFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFQueueOpFailedErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsRequestVer10.java171
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsRequestVer11.java171
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsRequestVer12.java171
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsRequestVer13.java171
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsRequestVer14.java171
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
//
        @Override
        public OFTableStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");


            return new OFTableStatsRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFActionSetQueueVer11.java154
org/projectfloodlight/openflow/protocol/ver12/OFActionSetQueueVer12.java154
org/projectfloodlight/openflow/protocol/ver13/OFActionSetQueueVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFActionSetQueueVer14.java154
            return new OFActionSetQueueVer11(
                    queueId
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionSetQueue> {
        @Override
        public OFActionSetQueue readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 21
            short type = bb.readShort();
            if(type != (short) 0x15)
                throw new OFParseError("Wrong type: Expected=OFActionType.SET_QUEUE(21), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long queueId = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBadInstructionErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFBadInstructionErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFBadInstructionErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFBadInstructionErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_INSTRUCTION;
    }

    @Override
    public OFBadInstructionCode getCode() {
        return code;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setCode(OFBadInstructionCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadInstructionErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBadInstructionErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFBadInstructionErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFBadInstructionErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFBadInstructionErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_INSTRUCTION;
    }

    @Override
    public OFBadInstructionCode getCode() {
        return code;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setCode(OFBadInstructionCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadInstructionErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBadInstructionErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBadMatchErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFBadMatchErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFBadMatchErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFBadMatchErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_MATCH;
    }

    @Override
    public OFBadMatchCode getCode() {
        return code;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setCode(OFBadMatchCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBadMatchErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBadMatchErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFBadMatchErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFBadMatchErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFBadMatchErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.BAD_MATCH;
    }

    @Override
    public OFBadMatchCode getCode() {
        return code;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setCode(OFBadMatchCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFBadMatchErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBadMatchErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsRequestVer11.java171
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsRequestVer12.java171
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsRequestVer13.java171
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsRequestVer14.java171
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
//
        @Override
        public OFGroupDescStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");


            return new OFGroupDescStatsRequestVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupModFailedErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFGroupModFailedErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFGroupModFailedErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFGroupModFailedErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.GROUP_MOD_FAILED;
    }

    @Override
    public OFGroupModFailedCode getCode() {
        return code;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setCode(OFGroupModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFGroupModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupModFailedErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFGroupModFailedErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFGroupModFailedErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFGroupModFailedErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.GROUP_MOD_FAILED;
    }

    @Override
    public OFGroupModFailedCode getCode() {
        return code;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setCode(OFGroupModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFGroupModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFGroupModFailedErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFSwitchConfigFailedErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFSwitchConfigFailedErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFSwitchConfigFailedErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFSwitchConfigFailedErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.SWITCH_CONFIG_FAILED;
    }

    @Override
    public OFSwitchConfigFailedCode getCode() {
        return code;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setCode(OFSwitchConfigFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFSwitchConfigFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFSwitchConfigFailedErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFSwitchConfigFailedErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFSwitchConfigFailedErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFSwitchConfigFailedErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.SWITCH_CONFIG_FAILED;
    }

    @Override
    public OFSwitchConfigFailedCode getCode() {
        return code;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setCode(OFSwitchConfigFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFSwitchConfigFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFSwitchConfigFailedErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableModFailedErrorMsgVer11.java116
org/projectfloodlight/openflow/protocol/ver12/OFTableModFailedErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFTableModFailedErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFTableModFailedErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.TABLE_MOD_FAILED;
    }

    @Override
    public OFTableModFailedCode getCode() {
        return code;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setCode(OFTableModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFTableModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableModFailedErrorMsgVer11.java195
org/projectfloodlight/openflow/protocol/ver12/OFTableModFailedErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFTableModFailedErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFTableModFailedErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.TABLE_MOD_FAILED;
    }

    @Override
    public OFTableModFailedCode getCode() {
        return code;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setCode(OFTableModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFTableModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFTableModFailedErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsRequestVer12.java171
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsRequestVer13.java171
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsRequestVer14.java171
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupFeaturesStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_FEATURES;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupFeaturesStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
//
        @Override
        public OFGroupFeaturesStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");


            return new OFGroupFeaturesStatsRequestVer12(
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpOpMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpOpMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpOpMaskedVer14.java182
                return new OFOxmArpOpMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmArpOpMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private ArpOpcode value;
        private boolean maskSet;
        private ArpOpcode mask;

    @Override
    public long getTypeLen() {
        return 0x80002b04L;
    }

    @Override
    public ArpOpcode getValue() {
        return value;
    }

    @Override
    public OFOxmArpOpMasked.Builder setValue(ArpOpcode value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ArpOpcode getMask() {
        return mask;
    }

    @Override
    public OFOxmArpOpMasked.Builder setMask(ArpOpcode mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ArpOpcode> getMatchField() {
        return MatchField.ARP_OP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ArpOpcode> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpShaMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpShaMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpShaMaskedVer14.java182
                return new OFOxmArpShaMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmArpShaMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private MacAddress value;
        private boolean maskSet;
        private MacAddress mask;

    @Override
    public long getTypeLen() {
        return 0x8000310cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpShaMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmArpShaMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_SHA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpSpaMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpSpaMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpSpaMaskedVer14.java182
                return new OFOxmArpSpaMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmArpSpaMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private IPv4Address value;
        private boolean maskSet;
        private IPv4Address mask;

    @Override
    public long getTypeLen() {
        return 0x80002d08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpSpaMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmArpSpaMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_SPA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpThaMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpThaMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpThaMaskedVer14.java182
                return new OFOxmArpThaMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmArpThaMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private MacAddress value;
        private boolean maskSet;
        private MacAddress mask;

    @Override
    public long getTypeLen() {
        return 0x8000330cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpThaMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmArpThaMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_THA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpTpaMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpTpaMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpTpaMaskedVer14.java182
                return new OFOxmArpTpaMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmArpTpaMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private IPv4Address value;
        private boolean maskSet;
        private IPv4Address mask;

    @Override
    public long getTypeLen() {
        return 0x80002f08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpTpaMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmArpTpaMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_TPA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnEgrPortGroupIdMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnEgrPortGroupIdMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnEgrPortGroupIdMaskedVer14.java182
                return new OFOxmBsnEgrPortGroupIdMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnEgrPortGroupIdMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private ClassId value;
        private boolean maskSet;
        private ClassId mask;

    @Override
    public long getTypeLen() {
        return 0x30f08L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnEgrPortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnEgrPortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_EGR_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnGlobalVrfAllowedMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnGlobalVrfAllowedMaskedVer13.java182
                return new OFOxmBsnGlobalVrfAllowedMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnGlobalVrfAllowedMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private OFBooleanValue value;
        private boolean maskSet;
        private OFBooleanValue mask;

    @Override
    public long getTypeLen() {
        return 0x30702L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmBsnGlobalVrfAllowedMasked.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBooleanValue getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnGlobalVrfAllowedMasked.Builder setMask(OFBooleanValue mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.BSN_GLOBAL_VRF_ALLOWED;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts128MaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts128MaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts128MaskedVer14.java182
                return new OFOxmBsnInPorts128MaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnInPorts128Masked.Builder {
        // OF message fields
        private boolean valueSet;
        private OFBitMask128 value;
        private boolean maskSet;
        private OFBitMask128 mask;

    @Override
    public long getTypeLen() {
        return 0x30120L;
    }

    @Override
    public OFBitMask128 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts128Masked.Builder setValue(OFBitMask128 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBitMask128 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInPorts128Masked.Builder setMask(OFBitMask128 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask128> getMatchField() {
        return MatchField.BSN_IN_PORTS_128;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBitMask128> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts512MaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts512MaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts512MaskedVer14.java182
                return new OFOxmBsnInPorts512MaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnInPorts512Masked.Builder {
        // OF message fields
        private boolean valueSet;
        private OFBitMask512 value;
        private boolean maskSet;
        private OFBitMask512 mask;

    @Override
    public long getTypeLen() {
        return 0x32780L;
    }

    @Override
    public OFBitMask512 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts512Masked.Builder setValue(OFBitMask512 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBitMask512 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInPorts512Masked.Builder setMask(OFBitMask512 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask512> getMatchField() {
        return MatchField.BSN_IN_PORTS_512;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBitMask512> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnIngressPortGroupIdMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnIngressPortGroupIdMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnIngressPortGroupIdMaskedVer14.java182
                return new OFOxmBsnIngressPortGroupIdMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnIngressPortGroupIdMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private ClassId value;
        private boolean maskSet;
        private ClassId mask;

    @Override
    public long getTypeLen() {
        return 0x32908L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnIngressPortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnIngressPortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_INGRESS_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL2CacheHitMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL2CacheHitMaskedVer13.java182
                return new OFOxmBsnL2CacheHitMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnL2CacheHitMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private OFBooleanValue value;
        private boolean maskSet;
        private OFBooleanValue mask;

    @Override
    public long getTypeLen() {
        return 0x32502L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL2CacheHitMasked.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBooleanValue getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL2CacheHitMasked.Builder setMask(OFBooleanValue mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.BSN_L2_CACHE_HIT;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3DstClassIdMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3DstClassIdMaskedVer13.java182
                return new OFOxmBsnL3DstClassIdMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnL3DstClassIdMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private ClassId value;
        private boolean maskSet;
        private ClassId mask;

    @Override
    public long getTypeLen() {
        return 0x30d08L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3DstClassIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL3DstClassIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_DST_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3InterfaceClassIdMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3InterfaceClassIdMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3InterfaceClassIdMaskedVer14.java182
                return new OFOxmBsnL3InterfaceClassIdMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnL3InterfaceClassIdMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private ClassId value;
        private boolean maskSet;
        private ClassId mask;

    @Override
    public long getTypeLen() {
        return 0x30908L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3InterfaceClassIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL3InterfaceClassIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_INTERFACE_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3SrcClassIdMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3SrcClassIdMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3SrcClassIdMaskedVer14.java182
                return new OFOxmBsnL3SrcClassIdMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnL3SrcClassIdMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private ClassId value;
        private boolean maskSet;
        private ClassId mask;

    @Override
    public long getTypeLen() {
        return 0x30b08L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3SrcClassIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL3SrcClassIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_SRC_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnLagIdMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnLagIdMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnLagIdMaskedVer14.java182
                return new OFOxmBsnLagIdMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnLagIdMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private LagId value;
        private boolean maskSet;
        private LagId mask;

    @Override
    public long getTypeLen() {
        return 0x30308L;
    }

    @Override
    public LagId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnLagIdMasked.Builder setValue(LagId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public LagId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnLagIdMasked.Builder setMask(LagId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<LagId> getMatchField() {
        return MatchField.BSN_LAG_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<LagId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnTcpFlagsMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnTcpFlagsMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnTcpFlagsMaskedVer14.java182
                return new OFOxmBsnTcpFlagsMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnTcpFlagsMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private U16 value;
        private boolean maskSet;
        private U16 mask;

    @Override
    public long getTypeLen() {
        return 0x32104L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnTcpFlagsMasked.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U16 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnTcpFlagsMasked.Builder setMask(U16 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.BSN_TCP_FLAGS;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf0MaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf0MaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf0MaskedVer14.java182
                return new OFOxmBsnUdf0MaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnUdf0Masked.Builder {
        // OF message fields
        private boolean valueSet;
        private UDF value;
        private boolean maskSet;
        private UDF mask;

    @Override
    public long getTypeLen() {
        return 0x31108L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf0Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf0Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF0;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf1MaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf1MaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf1MaskedVer14.java182
                return new OFOxmBsnUdf1MaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnUdf1Masked.Builder {
        // OF message fields
        private boolean valueSet;
        private UDF value;
        private boolean maskSet;
        private UDF mask;

    @Override
    public long getTypeLen() {
        return 0x31308L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf1Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf1Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF1;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf2MaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf2MaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf2MaskedVer14.java182
                return new OFOxmBsnUdf2MaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnUdf2Masked.Builder {
        // OF message fields
        private boolean valueSet;
        private UDF value;
        private boolean maskSet;
        private UDF mask;

    @Override
    public long getTypeLen() {
        return 0x31508L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf2Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf2Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF2;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf3MaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf3MaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf3MaskedVer14.java182
                return new OFOxmBsnUdf3MaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnUdf3Masked.Builder {
        // OF message fields
        private boolean valueSet;
        private UDF value;
        private boolean maskSet;
        private UDF mask;

    @Override
    public long getTypeLen() {
        return 0x31708L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf3Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf3Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF3;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf4MaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf4MaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf4MaskedVer14.java182
                return new OFOxmBsnUdf4MaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnUdf4Masked.Builder {
        // OF message fields
        private boolean valueSet;
        private UDF value;
        private boolean maskSet;
        private UDF mask;

    @Override
    public long getTypeLen() {
        return 0x31908L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf4Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf4Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF4;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf5MaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf5MaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf5MaskedVer14.java182
                return new OFOxmBsnUdf5MaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnUdf5Masked.Builder {
        // OF message fields
        private boolean valueSet;
        private UDF value;
        private boolean maskSet;
        private UDF mask;

    @Override
    public long getTypeLen() {
        return 0x31b08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf5Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf5Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF5;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf6MaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf6MaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf6MaskedVer14.java182
                return new OFOxmBsnUdf6MaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnUdf6Masked.Builder {
        // OF message fields
        private boolean valueSet;
        private UDF value;
        private boolean maskSet;
        private UDF mask;

    @Override
    public long getTypeLen() {
        return 0x31d08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf6Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf6Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF6;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf7MaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf7MaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf7MaskedVer14.java182
                return new OFOxmBsnUdf7MaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnUdf7Masked.Builder {
        // OF message fields
        private boolean valueSet;
        private UDF value;
        private boolean maskSet;
        private UDF mask;

    @Override
    public long getTypeLen() {
        return 0x31f08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf7Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf7Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF7;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVlanXlatePortGroupIdMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVlanXlatePortGroupIdMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVlanXlatePortGroupIdMaskedVer14.java182
                return new OFOxmBsnVlanXlatePortGroupIdMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnVlanXlatePortGroupIdMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private ClassId value;
        private boolean maskSet;
        private ClassId mask;

    @Override
    public long getTypeLen() {
        return 0x32308L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVlanXlatePortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnVlanXlatePortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_VLAN_XLATE_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVrfMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVrfMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVrfMaskedVer14.java182
                return new OFOxmBsnVrfMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnVrfMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private VRF value;
        private boolean maskSet;
        private VRF mask;

    @Override
    public long getTypeLen() {
        return 0x30508L;
    }

    @Override
    public VRF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVrfMasked.Builder setValue(VRF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public VRF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnVrfMasked.Builder setMask(VRF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<VRF> getMatchField() {
        return MatchField.BSN_VRF;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<VRF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthDstMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthDstMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthDstMaskedVer14.java182
                return new OFOxmEthDstMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmEthDstMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private MacAddress value;
        private boolean maskSet;
        private MacAddress mask;

    @Override
    public long getTypeLen() {
        return 0x8000070cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthDstMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmEthDstMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthSrcMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthSrcMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthSrcMaskedVer14.java182
                return new OFOxmEthSrcMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmEthSrcMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private MacAddress value;
        private boolean maskSet;
        private MacAddress mask;

    @Override
    public long getTypeLen() {
        return 0x8000090cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthSrcMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmEthSrcMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthTypeMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthTypeMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthTypeMaskedVer14.java182
                return new OFOxmEthTypeMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmEthTypeMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private EthType value;
        private boolean maskSet;
        private EthType mask;

    @Override
    public long getTypeLen() {
        return 0x80000b04L;
    }

    @Override
    public EthType getValue() {
        return value;
    }

    @Override
    public OFOxmEthTypeMasked.Builder setValue(EthType value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public EthType getMask() {
        return mask;
    }

    @Override
    public OFOxmEthTypeMasked.Builder setMask(EthType mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<EthType> getMatchField() {
        return MatchField.ETH_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<EthType> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4CodeMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4CodeMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4CodeMaskedVer14.java182
                return new OFOxmIcmpv4CodeMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmIcmpv4CodeMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private ICMPv4Code value;
        private boolean maskSet;
        private ICMPv4Code mask;

    @Override
    public long getTypeLen() {
        return 0x80002902L;
    }

    @Override
    public ICMPv4Code getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4CodeMasked.Builder setValue(ICMPv4Code value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ICMPv4Code getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv4CodeMasked.Builder setMask(ICMPv4Code mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Code> getMatchField() {
        return MatchField.ICMPV4_CODE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ICMPv4Code> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4TypeMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4TypeMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4TypeMaskedVer14.java182
                return new OFOxmIcmpv4TypeMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmIcmpv4TypeMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private ICMPv4Type value;
        private boolean maskSet;
        private ICMPv4Type mask;

    @Override
    public long getTypeLen() {
        return 0x80002702L;
    }

    @Override
    public ICMPv4Type getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4TypeMasked.Builder setValue(ICMPv4Type value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ICMPv4Type getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv4TypeMasked.Builder setMask(ICMPv4Type mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Type> getMatchField() {
        return MatchField.ICMPV4_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ICMPv4Type> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6CodeMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6CodeMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6CodeMaskedVer14.java182
                return new OFOxmIcmpv6CodeMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmIcmpv6CodeMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private U8 value;
        private boolean maskSet;
        private U8 mask;

    @Override
    public long getTypeLen() {
        return 0x80003d02L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6CodeMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv6CodeMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_CODE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6TypeMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6TypeMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6TypeMaskedVer14.java182
                return new OFOxmIcmpv6TypeMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmIcmpv6TypeMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private U8 value;
        private boolean maskSet;
        private U8 mask;

    @Override
    public long getTypeLen() {
        return 0x80003b02L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6TypeMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv6TypeMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPhyPortMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPhyPortMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPhyPortMaskedVer14.java182
                return new OFOxmInPhyPortMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmInPhyPortMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private OFPort value;
        private boolean maskSet;
        private OFPort mask;

    @Override
    public long getTypeLen() {
        return 0x80000308L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPhyPortMasked.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFPort getMask() {
        return mask;
    }

    @Override
    public OFOxmInPhyPortMasked.Builder setMask(OFPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PHY_PORT;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPortMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPortMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPortMaskedVer14.java182
                return new OFOxmInPortMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmInPortMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private OFPort value;
        private boolean maskSet;
        private OFPort mask;

    @Override
    public long getTypeLen() {
        return 0x80000108L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPortMasked.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFPort getMask() {
        return mask;
    }

    @Override
    public OFOxmInPortMasked.Builder setMask(OFPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PORT;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpDscpMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpDscpMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpDscpMaskedVer14.java182
                return new OFOxmIpDscpMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmIpDscpMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private IpDscp value;
        private boolean maskSet;
        private IpDscp mask;

    @Override
    public long getTypeLen() {
        return 0x80001102L;
    }

    @Override
    public IpDscp getValue() {
        return value;
    }

    @Override
    public OFOxmIpDscpMasked.Builder setValue(IpDscp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpDscp getMask() {
        return mask;
    }

    @Override
    public OFOxmIpDscpMasked.Builder setMask(IpDscp mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpDscp> getMatchField() {
        return MatchField.IP_DSCP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpDscp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpEcnMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpEcnMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpEcnMaskedVer14.java182
                return new OFOxmIpEcnMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmIpEcnMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private IpEcn value;
        private boolean maskSet;
        private IpEcn mask;

    @Override
    public long getTypeLen() {
        return 0x80001302L;
    }

    @Override
    public IpEcn getValue() {
        return value;
    }

    @Override
    public OFOxmIpEcnMasked.Builder setValue(IpEcn value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpEcn getMask() {
        return mask;
    }

    @Override
    public OFOxmIpEcnMasked.Builder setMask(IpEcn mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpEcn> getMatchField() {
        return MatchField.IP_ECN;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpEcn> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpProtoMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpProtoMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpProtoMaskedVer14.java182
                return new OFOxmIpProtoMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmIpProtoMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private IpProtocol value;
        private boolean maskSet;
        private IpProtocol mask;

    @Override
    public long getTypeLen() {
        return 0x80001502L;
    }

    @Override
    public IpProtocol getValue() {
        return value;
    }

    @Override
    public OFOxmIpProtoMasked.Builder setValue(IpProtocol value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpProtocol getMask() {
        return mask;
    }

    @Override
    public OFOxmIpProtoMasked.Builder setMask(IpProtocol mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpProtocol> getMatchField() {
        return MatchField.IP_PROTO;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpProtocol> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4DstMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4DstMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4DstMaskedVer14.java182
                return new OFOxmIpv4DstMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmIpv4DstMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private IPv4Address value;
        private boolean maskSet;
        private IPv4Address mask;

    @Override
    public long getTypeLen() {
        return 0x80001908L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4DstMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv4DstMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4SrcMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4SrcMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4SrcMaskedVer14.java182
                return new OFOxmIpv4SrcMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmIpv4SrcMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private IPv4Address value;
        private boolean maskSet;
        private IPv4Address mask;

    @Override
    public long getTypeLen() {
        return 0x80001708L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4SrcMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv4SrcMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6DstMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6DstMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6DstMaskedVer14.java182
                return new OFOxmIpv6DstMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmIpv6DstMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private IPv6Address value;
        private boolean maskSet;
        private IPv6Address mask;

    @Override
    public long getTypeLen() {
        return 0x80003720L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6DstMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6DstMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6FlabelMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6FlabelMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6FlabelMaskedVer14.java182
                return new OFOxmIpv6FlabelMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmIpv6FlabelMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private IPv6FlowLabel value;
        private boolean maskSet;
        private IPv6FlowLabel mask;

    @Override
    public long getTypeLen() {
        return 0x80003908L;
    }

    @Override
    public IPv6FlowLabel getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6FlabelMasked.Builder setValue(IPv6FlowLabel value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6FlowLabel getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6FlabelMasked.Builder setMask(IPv6FlowLabel mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6FlowLabel> getMatchField() {
        return MatchField.IPV6_FLABEL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6FlowLabel> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdSllMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdSllMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdSllMaskedVer14.java182
                return new OFOxmIpv6NdSllMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmIpv6NdSllMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private MacAddress value;
        private boolean maskSet;
        private MacAddress mask;

    @Override
    public long getTypeLen() {
        return 0x8000410cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdSllMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdSllMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_SLL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTargetMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTargetMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTargetMaskedVer14.java182
                return new OFOxmIpv6NdTargetMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmIpv6NdTargetMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private IPv6Address value;
        private boolean maskSet;
        private IPv6Address mask;

    @Override
    public long getTypeLen() {
        return 0x80003f20L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTargetMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdTargetMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_ND_TARGET;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTllMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTllMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTllMaskedVer14.java182
                return new OFOxmIpv6NdTllMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmIpv6NdTllMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private MacAddress value;
        private boolean maskSet;
        private MacAddress mask;

    @Override
    public long getTypeLen() {
        return 0x8000430cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTllMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdTllMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_TLL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6SrcMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6SrcMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6SrcMaskedVer14.java182
                return new OFOxmIpv6SrcMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmIpv6SrcMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private IPv6Address value;
        private boolean maskSet;
        private IPv6Address mask;

    @Override
    public long getTypeLen() {
        return 0x80003520L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6SrcMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6SrcMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMetadataMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmMetadataMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmMetadataMaskedVer14.java182
                return new OFOxmMetadataMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmMetadataMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private OFMetadata value;
        private boolean maskSet;
        private OFMetadata mask;

    @Override
    public long getTypeLen() {
        return 0x80000510L;
    }

    @Override
    public OFMetadata getValue() {
        return value;
    }

    @Override
    public OFOxmMetadataMasked.Builder setValue(OFMetadata value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFMetadata getMask() {
        return mask;
    }

    @Override
    public OFOxmMetadataMasked.Builder setMask(OFMetadata mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFMetadata> getMatchField() {
        return MatchField.METADATA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFMetadata> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsLabelMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsLabelMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsLabelMaskedVer14.java182
                return new OFOxmMplsLabelMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmMplsLabelMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private U32 value;
        private boolean maskSet;
        private U32 mask;

    @Override
    public long getTypeLen() {
        return 0x80004508L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsLabelMasked.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U32 getMask() {
        return mask;
    }

    @Override
    public OFOxmMplsLabelMasked.Builder setMask(U32 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.MPLS_LABEL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsTcMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsTcMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsTcMaskedVer14.java182
                return new OFOxmMplsTcMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmMplsTcMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private U8 value;
        private boolean maskSet;
        private U8 mask;

    @Override
    public long getTypeLen() {
        return 0x80004702L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsTcMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmMplsTcMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.MPLS_TC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpDstMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpDstMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpDstMaskedVer14.java182
                return new OFOxmSctpDstMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmSctpDstMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private TransportPort value;
        private boolean maskSet;
        private TransportPort mask;

    @Override
    public long getTypeLen() {
        return 0x80002504L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmSctpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpSrcMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpSrcMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpSrcMaskedVer14.java182
                return new OFOxmSctpSrcMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmSctpSrcMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private TransportPort value;
        private boolean maskSet;
        private TransportPort mask;

    @Override
    public long getTypeLen() {
        return 0x80002304L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmSctpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpDstMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpDstMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpDstMaskedVer14.java182
                return new OFOxmTcpDstMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmTcpDstMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private TransportPort value;
        private boolean maskSet;
        private TransportPort mask;

    @Override
    public long getTypeLen() {
        return 0x80001d04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmTcpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpSrcMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpSrcMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpSrcMaskedVer14.java182
                return new OFOxmTcpSrcMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmTcpSrcMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private TransportPort value;
        private boolean maskSet;
        private TransportPort mask;

    @Override
    public long getTypeLen() {
        return 0x80001b04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmTcpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4DstMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4DstMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4DstMaskedVer14.java182
                return new OFOxmTunnelIpv4DstMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmTunnelIpv4DstMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private IPv4Address value;
        private boolean maskSet;
        private IPv4Address mask;

    @Override
    public long getTypeLen() {
        return 0x14108L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4DstMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmTunnelIpv4DstMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4SrcMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4SrcMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4SrcMaskedVer14.java182
                return new OFOxmTunnelIpv4SrcMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmTunnelIpv4SrcMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private IPv4Address value;
        private boolean maskSet;
        private IPv4Address mask;

    @Override
    public long getTypeLen() {
        return 0x13f08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4SrcMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmTunnelIpv4SrcMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpDstMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpDstMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpDstMaskedVer14.java182
                return new OFOxmUdpDstMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmUdpDstMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private TransportPort value;
        private boolean maskSet;
        private TransportPort mask;

    @Override
    public long getTypeLen() {
        return 0x80002104L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmUdpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpSrcMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpSrcMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpSrcMaskedVer14.java182
                return new OFOxmUdpSrcMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmUdpSrcMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private TransportPort value;
        private boolean maskSet;
        private TransportPort mask;

    @Override
    public long getTypeLen() {
        return 0x80001f04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmUdpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanPcpMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanPcpMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanPcpMaskedVer14.java182
                return new OFOxmVlanPcpMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmVlanPcpMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private VlanPcp value;
        private boolean maskSet;
        private VlanPcp mask;

    @Override
    public long getTypeLen() {
        return 0x80000f02L;
    }

    @Override
    public VlanPcp getValue() {
        return value;
    }

    @Override
    public OFOxmVlanPcpMasked.Builder setValue(VlanPcp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public VlanPcp getMask() {
        return mask;
    }

    @Override
    public OFOxmVlanPcpMasked.Builder setMask(VlanPcp mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<VlanPcp> getMatchField() {
        return MatchField.VLAN_PCP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<VlanPcp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanVidMaskedVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanVidMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanVidMaskedVer14.java182
                return new OFOxmVlanVidMaskedVer12(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmVlanVidMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private OFVlanVidMatch value;
        private boolean maskSet;
        private OFVlanVidMatch mask;

    @Override
    public long getTypeLen() {
        return 0x80000d04L;
    }

    @Override
    public OFVlanVidMatch getValue() {
        return value;
    }

    @Override
    public OFOxmVlanVidMasked.Builder setValue(OFVlanVidMatch value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFVlanVidMatch getMask() {
        return mask;
    }

    @Override
    public OFOxmVlanVidMasked.Builder setMask(OFVlanVidMatch mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFVlanVidMatch> getMatchField() {
        return MatchField.VLAN_VID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFVlanVidMatch> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestFailedErrorMsgVer12.java116
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestFailedErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestFailedErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.ROLE_REQUEST_FAILED;
    }

    @Override
    public OFRoleRequestFailedCode getCode() {
        return code;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setCode(OFRoleRequestFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFRoleRequestFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestFailedErrorMsgVer12.java195
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestFailedErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestFailedErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.ROLE_REQUEST_FAILED;
    }

    @Override
    public OFRoleRequestFailedCode getCode() {
        return code;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setCode(OFRoleRequestFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFRoleRequestFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFRoleRequestFailedErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnGentableVer13.java164
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnGentableVer14.java164
                return new OFActionBsnGentableVer13(
                    tableId,
                    key
                );
        }

    }

    static class Builder implements OFActionBsnGentable.Builder {
        // OF message fields
        private boolean tableIdSet;
        private long tableId;
        private boolean keySet;
        private List<OFBsnTlv> key;

    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public long getTableId() {
        return tableId;
    }

    @Override
    public OFActionBsnGentable.Builder setTableId(long tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFActionBsnGentable.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsEntryVer13.java164
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsEntryVer14.java164
                return new OFBsnDebugCounterDescStatsEntryVer13(
                    counterId,
                    name,
                    description
                );
        }

    }

    static class Builder implements OFBsnDebugCounterDescStatsEntry.Builder {
        // OF message fields
        private boolean counterIdSet;
        private U64 counterId;
        private boolean nameSet;
        private String name;
        private boolean descriptionSet;
        private String description;

    @Override
    public U64 getCounterId() {
        return counterId;
    }

    @Override
    public OFBsnDebugCounterDescStatsEntry.Builder setCounterId(U64 counterId) {
        this.counterId = counterId;
        this.counterIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnDebugCounterDescStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public String getDescription() {
        return description;
    }

    @Override
    public OFBsnDebugCounterDescStatsEntry.Builder setDescription(String description) {
        this.description = description;
        this.descriptionSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsEntryVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsEntryVer14.java154
                return new OFBsnGentableStatsEntryVer13(
                    tableId,
                    entryCount,
                    checksum
                );
        }

    }

    static class Builder implements OFBsnGentableStatsEntry.Builder {
        // OF message fields
        private boolean tableIdSet;
        private GenTableId tableId;
        private boolean entryCountSet;
        private long entryCount;
        private boolean checksumSet;
        private U128 checksum;

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableStatsEntry.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getEntryCount() {
        return entryCount;
    }

    @Override
    public OFBsnGentableStatsEntry.Builder setEntryCount(long entryCount) {
        this.entryCount = entryCount;
        this.entryCountSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableStatsEntry.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetSwitchPipelineReplyVer13.java180
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetSwitchPipelineReplyVer14.java180
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetSwitchPipelineReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x34L;
    }

    @Override
    public String getPipeline() {
        return pipeline;
    }

    @Override
    public OFBsnGetSwitchPipelineReply.Builder setPipeline(String pipeline) {
        this.pipeline = pipeline;
        this.pipelineSet = true;
        return this;
    }
//
        @Override
        public OFBsnGetSwitchPipelineReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            String pipeline = this.pipelineSet ? this.pipeline : DEFAULT_PIPELINE;
            if(pipeline == null)
                throw new NullPointerException("Property pipeline must not be null");


            return new OFBsnGetSwitchPipelineReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetSwitchPipelineRequestVer13.java180
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetSwitchPipelineRequestVer14.java180
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetSwitchPipelineRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x35L;
    }

    @Override
    public String getPipeline() {
        return pipeline;
    }

    @Override
    public OFBsnSetSwitchPipelineRequest.Builder setPipeline(String pipeline) {
        this.pipeline = pipeline;
        this.pipelineSet = true;
        return this;
    }
//
        @Override
        public OFBsnSetSwitchPipelineRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            String pipeline = this.pipelineSet ? this.pipeline : DEFAULT_PIPELINE;
            if(pipeline == null)
                throw new NullPointerException("Property pipeline must not be null");


            return new OFBsnSetSwitchPipelineRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTimeReplyVer13.java180
org/projectfloodlight/openflow/protocol/ver14/OFBsnTimeReplyVer14.java180
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTimeReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2dL;
    }

    @Override
    public U64 getTimeMs() {
        return timeMs;
    }

    @Override
    public OFBsnTimeReply.Builder setTimeMs(U64 timeMs) {
        this.timeMs = timeMs;
        this.timeMsSet = true;
        return this;
    }
//
        @Override
        public OFBsnTimeReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            U64 timeMs = this.timeMsSet ? this.timeMs : DEFAULT_TIME_MS;
            if(timeMs == null)
                throw new NullPointerException("Property timeMs must not be null");


            return new OFBsnTimeReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvActorKeyVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvActorKeyVer14.java154
            return new OFBsnTlvActorKeyVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvActorKey> {
        @Override
        public OFBsnTlvActorKey readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x2c
            short type = bb.readShort();
            if(type != (short) 0x2c)
                throw new OFParseError("Wrong type: Expected=0x2c(0x2c), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 6)
                throw new OFParseError("Wrong length: Expected=6(6), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int value = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvActorPortNumVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvActorPortNumVer14.java154
            return new OFBsnTlvActorPortNumVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvActorPortNum> {
        @Override
        public OFBsnTlvActorPortNum readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x2b
            short type = bb.readShort();
            if(type != (short) 0x2b)
                throw new OFParseError("Wrong type: Expected=0x2b(0x2b), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 6)
                throw new OFParseError("Wrong length: Expected=6(6), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int value = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvActorPortPriorityVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvActorPortPriorityVer14.java154
            return new OFBsnTlvActorPortPriorityVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvActorPortPriority> {
        @Override
        public OFBsnTlvActorPortPriority readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x2a
            short type = bb.readShort();
            if(type != (short) 0x2a)
                throw new OFParseError("Wrong type: Expected=0x2a(0x2a), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 6)
                throw new OFParseError("Wrong length: Expected=6(6), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int value = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvActorSystemPriorityVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvActorSystemPriorityVer14.java154
            return new OFBsnTlvActorSystemPriorityVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvActorSystemPriority> {
        @Override
        public OFBsnTlvActorSystemPriority readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x28
            short type = bb.readShort();
            if(type != (short) 0x28)
                throw new OFParseError("Wrong type: Expected=0x28(0x28), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 6)
                throw new OFParseError("Wrong length: Expected=6(6), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int value = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvBroadcastQueryTimeoutVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvBroadcastQueryTimeoutVer14.java154
            return new OFBsnTlvBroadcastQueryTimeoutVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvBroadcastQueryTimeout> {
        @Override
        public OFBsnTlvBroadcastQueryTimeout readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0xa
            short type = bb.readShort();
            if(type != (short) 0xa)
                throw new OFParseError("Wrong type: Expected=0xa(0xa), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long value = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvConvergenceStatusVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvConvergenceStatusVer14.java154
            return new OFBsnTlvConvergenceStatusVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvConvergenceStatus> {
        @Override
        public OFBsnTlvConvergenceStatus readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x2d
            short type = bb.readShort();
            if(type != (short) 0x2d)
                throw new OFParseError("Wrong type: Expected=0x2d(0x2d), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 5)
                throw new OFParseError("Wrong length: Expected=5(5), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            short value = U8.f(bb.readByte());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvCrcEnabledVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvCrcEnabledVer14.java154
            return new OFBsnTlvCrcEnabledVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvCrcEnabled> {
        @Override
        public OFBsnTlvCrcEnabled readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x16
            short type = bb.readShort();
            if(type != (short) 0x16)
                throw new OFParseError("Wrong type: Expected=0x16(0x16), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 5)
                throw new OFParseError("Wrong length: Expected=5(5), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            short value = U8.f(bb.readByte());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvHeaderSizeVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvHeaderSizeVer14.java154
            return new OFBsnTlvHeaderSizeVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvHeaderSize> {
        @Override
        public OFBsnTlvHeaderSize readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x1f
            short type = bb.readShort();
            if(type != (short) 0x1f)
                throw new OFParseError("Wrong type: Expected=0x1f(0x1f), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long value = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvIcmpCodeVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvIcmpCodeVer14.java154
            return new OFBsnTlvIcmpCodeVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvIcmpCode> {
        @Override
        public OFBsnTlvIcmpCode readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x45
            short type = bb.readShort();
            if(type != (short) 0x45)
                throw new OFParseError("Wrong type: Expected=0x45(0x45), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 5)
                throw new OFParseError("Wrong length: Expected=5(5), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            short value = U8.f(bb.readByte());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvIcmpIdVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvIcmpIdVer14.java154
            return new OFBsnTlvIcmpIdVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvIcmpId> {
        @Override
        public OFBsnTlvIcmpId readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x46
            short type = bb.readShort();
            if(type != (short) 0x46)
                throw new OFParseError("Wrong type: Expected=0x46(0x46), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 6)
                throw new OFParseError("Wrong length: Expected=6(6), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int value = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvIcmpTypeVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvIcmpTypeVer14.java154
            return new OFBsnTlvIcmpTypeVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvIcmpType> {
        @Override
        public OFBsnTlvIcmpType readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x44
            short type = bb.readShort();
            if(type != (short) 0x44)
                throw new OFParseError("Wrong type: Expected=0x44(0x44), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 5)
                throw new OFParseError("Wrong length: Expected=5(5), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            short value = U8.f(bb.readByte());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvIdleTimeVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvIdleTimeVer14.java161
            return new OFBsnTlvIdleTimeVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvIdleTime> {
        @Override
        public OFBsnTlvIdleTime readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x5
            short type = bb.readShort();
            if(type != (short) 0x5)
                throw new OFParseError("Wrong type: Expected=0x5(0x5), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            U64 value = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvIdleTimeoutVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvIdleTimeoutVer14.java154
            return new OFBsnTlvIdleTimeoutVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvIdleTimeout> {
        @Override
        public OFBsnTlvIdleTimeout readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x8
            short type = bb.readShort();
            if(type != (short) 0x8)
                throw new OFParseError("Wrong type: Expected=0x8(0x8), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long value = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvIntervalVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvIntervalVer14.java154
            return new OFBsnTlvIntervalVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvInterval> {
        @Override
        public OFBsnTlvInterval readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x3a
            short type = bb.readShort();
            if(type != (short) 0x3a)
                throw new OFParseError("Wrong type: Expected=0x3a(0x3a), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long value = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvIpProtoVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvIpProtoVer14.java154
            return new OFBsnTlvIpProtoVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvIpProto> {
        @Override
        public OFBsnTlvIpProto readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x43
            short type = bb.readShort();
            if(type != (short) 0x43)
                throw new OFParseError("Wrong type: Expected=0x43(0x43), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 5)
                throw new OFParseError("Wrong length: Expected=5(5), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            short value = U8.f(bb.readByte());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvMissPacketsVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvMissPacketsVer14.java161
            return new OFBsnTlvMissPacketsVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvMissPackets> {
        @Override
        public OFBsnTlvMissPackets readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0xd
            short type = bb.readShort();
            if(type != (short) 0xd)
                throw new OFParseError("Wrong type: Expected=0xd(0xd), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            U64 value = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvMplsControlWordVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvMplsControlWordVer14.java154
            return new OFBsnTlvMplsControlWordVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvMplsControlWord> {
        @Override
        public OFBsnTlvMplsControlWord readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x3e
            short type = bb.readShort();
            if(type != (short) 0x3e)
                throw new OFParseError("Wrong type: Expected=0x3e(0x3e), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 5)
                throw new OFParseError("Wrong length: Expected=5(5), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            short value = U8.f(bb.readByte());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvMplsLabelVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvMplsLabelVer14.java154
            return new OFBsnTlvMplsLabelVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvMplsLabel> {
        @Override
        public OFBsnTlvMplsLabel readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x3d
            short type = bb.readShort();
            if(type != (short) 0x3d)
                throw new OFParseError("Wrong type: Expected=0x3d(0x3d), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long value = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvMplsSequencedVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvMplsSequencedVer14.java154
            return new OFBsnTlvMplsSequencedVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvMplsSequenced> {
        @Override
        public OFBsnTlvMplsSequenced readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x3f
            short type = bb.readShort();
            if(type != (short) 0x3f)
                throw new OFParseError("Wrong type: Expected=0x3f(0x3f), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 5)
                throw new OFParseError("Wrong length: Expected=5(5), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            short value = U8.f(bb.readByte());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvPartnerKeyVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvPartnerKeyVer14.java154
            return new OFBsnTlvPartnerKeyVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvPartnerKey> {
        @Override
        public OFBsnTlvPartnerKey readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x33
            short type = bb.readShort();
            if(type != (short) 0x33)
                throw new OFParseError("Wrong type: Expected=0x33(0x33), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 6)
                throw new OFParseError("Wrong length: Expected=6(6), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int value = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvPartnerPortNumVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvPartnerPortNumVer14.java154
            return new OFBsnTlvPartnerPortNumVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvPartnerPortNum> {
        @Override
        public OFBsnTlvPartnerPortNum readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x32
            short type = bb.readShort();
            if(type != (short) 0x32)
                throw new OFParseError("Wrong type: Expected=0x32(0x32), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 6)
                throw new OFParseError("Wrong length: Expected=6(6), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int value = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvPartnerPortPriorityVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvPartnerPortPriorityVer14.java154
            return new OFBsnTlvPartnerPortPriorityVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvPartnerPortPriority> {
        @Override
        public OFBsnTlvPartnerPortPriority readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x31
            short type = bb.readShort();
            if(type != (short) 0x31)
                throw new OFParseError("Wrong type: Expected=0x31(0x31), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 6)
                throw new OFParseError("Wrong length: Expected=6(6), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int value = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvPartnerSystemPriorityVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvPartnerSystemPriorityVer14.java154
            return new OFBsnTlvPartnerSystemPriorityVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvPartnerSystemPriority> {
        @Override
        public OFBsnTlvPartnerSystemPriority readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x2f
            short type = bb.readShort();
            if(type != (short) 0x2f)
                throw new OFParseError("Wrong type: Expected=0x2f(0x2f), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 6)
                throw new OFParseError("Wrong length: Expected=6(6), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int value = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvPriorityVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvPriorityVer14.java154
            return new OFBsnTlvPriorityVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvPriority> {
        @Override
        public OFBsnTlvPriority readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x39
            short type = bb.readShort();
            if(type != (short) 0x39)
                throw new OFParseError("Wrong type: Expected=0x39(0x39), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long value = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvQueueIdVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvQueueIdVer14.java154
            return new OFBsnTlvQueueIdVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvQueueId> {
        @Override
        public OFBsnTlvQueueId readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x14
            short type = bb.readShort();
            if(type != (short) 0x14)
                throw new OFParseError("Wrong type: Expected=0x14(0x14), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long value = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvQueueWeightVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvQueueWeightVer14.java154
            return new OFBsnTlvQueueWeightVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvQueueWeight> {
        @Override
        public OFBsnTlvQueueWeight readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x15
            short type = bb.readShort();
            if(type != (short) 0x15)
                throw new OFParseError("Wrong type: Expected=0x15(0x15), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long value = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvReplyPacketsVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvReplyPacketsVer14.java161
            return new OFBsnTlvReplyPacketsVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvReplyPackets> {
        @Override
        public OFBsnTlvReplyPackets readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0xc
            short type = bb.readShort();
            if(type != (short) 0xc)
                throw new OFParseError("Wrong type: Expected=0xc(0xc), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            U64 value = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvRequestPacketsVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvRequestPacketsVer14.java161
            return new OFBsnTlvRequestPacketsVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvRequestPackets> {
        @Override
        public OFBsnTlvRequestPackets readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0xb
            short type = bb.readShort();
            if(type != (short) 0xb)
                throw new OFParseError("Wrong type: Expected=0xb(0xb), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            U64 value = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvRxBytesVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvRxBytesVer14.java161
            return new OFBsnTlvRxBytesVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvRxBytes> {
        @Override
        public OFBsnTlvRxBytes readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x47
            short type = bb.readShort();
            if(type != (short) 0x47)
                throw new OFParseError("Wrong type: Expected=0x47(0x47), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            U64 value = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvRxPacketsVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvRxPacketsVer14.java161
            return new OFBsnTlvRxPacketsVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvRxPackets> {
        @Override
        public OFBsnTlvRxPackets readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x2
            short type = bb.readShort();
            if(type != (short) 0x2)
                throw new OFParseError("Wrong type: Expected=0x2(0x2), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            U64 value = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvSamplingRateVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvSamplingRateVer14.java154
            return new OFBsnTlvSamplingRateVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvSamplingRate> {
        @Override
        public OFBsnTlvSamplingRate readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x1e
            short type = bb.readShort();
            if(type != (short) 0x1e)
                throw new OFParseError("Wrong type: Expected=0x1e(0x1e), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long value = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvSubAgentIdVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvSubAgentIdVer14.java154
            return new OFBsnTlvSubAgentIdVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvSubAgentId> {
        @Override
        public OFBsnTlvSubAgentId readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x26
            short type = bb.readShort();
            if(type != (short) 0x26)
                throw new OFParseError("Wrong type: Expected=0x26(0x26), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long value = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvTcpDstVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvTcpDstVer14.java154
            return new OFBsnTlvTcpDstVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvTcpDst> {
        @Override
        public OFBsnTlvTcpDst readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x42
            short type = bb.readShort();
            if(type != (short) 0x42)
                throw new OFParseError("Wrong type: Expected=0x42(0x42), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 6)
                throw new OFParseError("Wrong length: Expected=6(6), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int value = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvTcpSrcVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvTcpSrcVer14.java154
            return new OFBsnTlvTcpSrcVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvTcpSrc> {
        @Override
        public OFBsnTlvTcpSrc readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x41
            short type = bb.readShort();
            if(type != (short) 0x41)
                throw new OFParseError("Wrong type: Expected=0x41(0x41), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 6)
                throw new OFParseError("Wrong length: Expected=6(6), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int value = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvTxBytesVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvTxBytesVer14.java161
            return new OFBsnTlvTxBytesVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvTxBytes> {
        @Override
        public OFBsnTlvTxBytes readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x27
            short type = bb.readShort();
            if(type != (short) 0x27)
                throw new OFParseError("Wrong type: Expected=0x27(0x27), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            U64 value = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvTxPacketsVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvTxPacketsVer14.java161
            return new OFBsnTlvTxPacketsVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvTxPackets> {
        @Override
        public OFBsnTlvTxPackets readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x3
            short type = bb.readShort();
            if(type != (short) 0x3)
                throw new OFParseError("Wrong type: Expected=0x3(0x3), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            U64 value = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvUdfIdVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvUdfIdVer14.java154
            return new OFBsnTlvUdfIdVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvUdfId> {
        @Override
        public OFBsnTlvUdfId readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0xf
            short type = bb.readShort();
            if(type != (short) 0xf)
                throw new OFParseError("Wrong type: Expected=0xf(0xf), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 6)
                throw new OFParseError("Wrong length: Expected=6(6), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int value = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvUdfLengthVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvUdfLengthVer14.java154
            return new OFBsnTlvUdfLengthVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvUdfLength> {
        @Override
        public OFBsnTlvUdfLength readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x12
            short type = bb.readShort();
            if(type != (short) 0x12)
                throw new OFParseError("Wrong type: Expected=0x12(0x12), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 6)
                throw new OFParseError("Wrong length: Expected=6(6), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int value = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvUdfOffsetVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvUdfOffsetVer14.java154
            return new OFBsnTlvUdfOffsetVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvUdfOffset> {
        @Override
        public OFBsnTlvUdfOffset readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x11
            short type = bb.readShort();
            if(type != (short) 0x11)
                throw new OFParseError("Wrong type: Expected=0x11(0x11), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 6)
                throw new OFParseError("Wrong length: Expected=6(6), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int value = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvUdpDstVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvUdpDstVer14.java154
            return new OFBsnTlvUdpDstVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvUdpDst> {
        @Override
        public OFBsnTlvUdpDst readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x25
            short type = bb.readShort();
            if(type != (short) 0x25)
                throw new OFParseError("Wrong type: Expected=0x25(0x25), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 6)
                throw new OFParseError("Wrong length: Expected=6(6), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int value = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvUdpSrcVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvUdpSrcVer14.java154
            return new OFBsnTlvUdpSrcVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvUdpSrc> {
        @Override
        public OFBsnTlvUdpSrc readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x24
            short type = bb.readShort();
            if(type != (short) 0x24)
                throw new OFParseError("Wrong type: Expected=0x24(0x24), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 6)
                throw new OFParseError("Wrong length: Expected=6(6), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int value = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvUnicastQueryTimeoutVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvUnicastQueryTimeoutVer14.java154
            return new OFBsnTlvUnicastQueryTimeoutVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvUnicastQueryTimeout> {
        @Override
        public OFBsnTlvUnicastQueryTimeout readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x9
            short type = bb.readShort();
            if(type != (short) 0x9)
                throw new OFParseError("Wrong type: Expected=0x9(0x9), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long value = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvVlanPcpVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvVlanPcpVer14.java154
            return new OFBsnTlvVlanPcpVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvVlanPcp> {
        @Override
        public OFBsnTlvVlanPcp readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x48
            short type = bb.readShort();
            if(type != (short) 0x48)
                throw new OFParseError("Wrong type: Expected=0x48(0x48), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 5)
                throw new OFParseError("Wrong length: Expected=5(5), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            short value = U8.f(bb.readByte());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvVrfVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvVrfVer14.java154
            return new OFBsnTlvVrfVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvVrf> {
        @Override
        public OFBsnTlvVrf readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x13
            short type = bb.readShort();
            if(type != (short) 0x13)
                throw new OFParseError("Wrong type: Expected=0x13(0x13), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long value = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionMeterVer13.java154
org/projectfloodlight/openflow/protocol/ver14/OFInstructionMeterVer14.java154
            return new OFInstructionMeterVer13(
                    meterId
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFInstructionMeter> {
        @Override
        public OFInstructionMeter readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 6
            short type = bb.readShort();
            if(type != (short) 0x6)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.METER(6), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long meterId = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesStatsRequestVer13.java171
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesStatsRequestVer14.java171
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterFeaturesStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_FEATURES;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterFeaturesStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
//
        @Override
        public OFMeterFeaturesStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");


            return new OFMeterFeaturesStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterModFailedErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFMeterModFailedErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.METER_MOD_FAILED;
    }

    @Override
    public OFMeterModFailedCode getCode() {
        return code;
    }

    @Override
    public OFMeterModFailedErrorMsg.Builder setCode(OFMeterModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFMeterModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFMeterModFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterModFailedErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFMeterModFailedErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterModFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.METER_MOD_FAILED;
    }

    @Override
    public OFMeterModFailedCode getCode() {
        return code;
    }

    @Override
    public OFMeterModFailedErrorMsg.Builder setCode(OFMeterModFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFMeterModFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFMeterModFailedErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthDstMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthDstMaskedVer14.java182
                return new OFOxmBsnInnerEthDstMaskedVer13(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnInnerEthDstMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private MacAddress value;
        private boolean maskSet;
        private MacAddress mask;

    @Override
    public long getTypeLen() {
        return 0x32d0cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInnerEthDstMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInnerEthDstMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.BSN_INNER_ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthSrcMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthSrcMaskedVer14.java182
                return new OFOxmBsnInnerEthSrcMaskedVer13(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnInnerEthSrcMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private MacAddress value;
        private boolean maskSet;
        private MacAddress mask;

    @Override
    public long getTypeLen() {
        return 0x32f0cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInnerEthSrcMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInnerEthSrcMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.BSN_INNER_ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVxlanNetworkIdMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVxlanNetworkIdMaskedVer14.java182
                return new OFOxmBsnVxlanNetworkIdMaskedVer13(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmBsnVxlanNetworkIdMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private U32 value;
        private boolean maskSet;
        private U32 mask;

    @Override
    public long getTypeLen() {
        return 0x32b08L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVxlanNetworkIdMasked.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U32 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnVxlanNetworkIdMasked.Builder setMask(U32 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.BSN_VXLAN_NETWORK_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6ExthdrMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6ExthdrMaskedVer14.java182
                return new OFOxmIpv6ExthdrMaskedVer13(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmIpv6ExthdrMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private U16 value;
        private boolean maskSet;
        private U16 mask;

    @Override
    public long getTypeLen() {
        return 0x80004f04L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6ExthdrMasked.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U16 getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6ExthdrMasked.Builder setMask(U16 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.IPV6_EXTHDR;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsBosMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsBosMaskedVer14.java182
                return new OFOxmMplsBosMaskedVer13(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmMplsBosMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private OFBooleanValue value;
        private boolean maskSet;
        private OFBooleanValue mask;

    @Override
    public long getTypeLen() {
        return 0x80004902L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmMplsBosMasked.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBooleanValue getMask() {
        return mask;
    }

    @Override
    public OFOxmMplsBosMasked.Builder setMask(OFBooleanValue mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.MPLS_BOS;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIdMaskedVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIdMaskedVer14.java182
                return new OFOxmTunnelIdMaskedVer13(
                    value,
                    mask
                );
        }

    }

    static class Builder implements OFOxmTunnelIdMasked.Builder {
        // OF message fields
        private boolean valueSet;
        private U64 value;
        private boolean maskSet;
        private U64 mask;

    @Override
    public long getTypeLen() {
        return 0x80004d10L;
    }

    @Override
    public U64 getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIdMasked.Builder setValue(U64 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U64 getMask() {
        return mask;
    }

    @Override
    public OFOxmTunnelIdMasked.Builder setMask(U64 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U64> getMatchField() {
        return MatchField.TUNNEL_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U64> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsRequestVer13.java171
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsRequestVer14.java171
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT_DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
//
        @Override
        public OFPortDescStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");


            return new OFPortDescStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesFailedErrorMsgVer13.java116
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesFailedErrorMsgVer14.java195
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableFeaturesFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.TABLE_FEATURES_FAILED;
    }

    @Override
    public OFTableFeaturesFailedCode getCode() {
        return code;
    }

    @Override
    public OFTableFeaturesFailedErrorMsg.Builder setCode(OFTableFeaturesFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFTableFeaturesFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFTableFeaturesFailedErrorMsg build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesFailedErrorMsgVer13.java195
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesFailedErrorMsgVer14.java116
    }

    @Override
    public OFType getType() {
        return OFType.ERROR;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableFeaturesFailedErrorMsg.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFErrorType getErrType() {
        return OFErrorType.TABLE_FEATURES_FAILED;
    }

    @Override
    public OFTableFeaturesFailedCode getCode() {
        return code;
    }

    @Override
    public OFTableFeaturesFailedErrorMsg.Builder setCode(OFTableFeaturesFailedCode code) {
        this.code = code;
        this.codeSet = true;
        return this;
    }
    @Override
    public OFErrorCauseData getData() {
        return data;
    }

    @Override
    public OFTableFeaturesFailedErrorMsg.Builder setData(OFErrorCauseData data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFTableFeaturesFailedErrorMsg build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java105
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java105
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java105
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java105
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java105
            throw new NullPointerException("OFFlowAddVer14: property instructions cannot be null");
        }
        this.xid = xid;
        this.cookie = cookie;
        this.cookieMask = cookieMask;
        this.tableId = tableId;
        this.idleTimeout = idleTimeout;
        this.hardTimeout = hardTimeout;
        this.priority = priority;
        this.bufferId = bufferId;
        this.outPort = outPort;
        this.outGroup = outGroup;
        this.flags = flags;
        this.importance = importance;
        this.match = match;
        this.instructions = instructions;
    }

    // Accessors for OF message fields
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.ADD;
FileLine
net/onrc/openvirtex/messages/statistics/ver10/OVXAggregateStatsRequestVer10.java73
net/onrc/openvirtex/messages/statistics/ver13/OVXAggregateStatsRequestVer13.java71
                && this.getOutPort() == OFPort.ANY) {
             FlowTable ft = sw.getFlowTable();
             flowcount=ft.getFlowTable().size();


            for (PhysicalSwitch psw : getPhysicalSwitches(sw)) {
                List<OVXFlowStatsReply> reps = psw.getFlowStats(tid);
                if (reps != null) {
                    for (OVXFlowStatsReply s : reps) {
                    		for(OFFlowStatsEntry entry : s.getEntries())
                        if (!uniqueCookies.contains(entry.getCookie())) {
                        	bytecount=bytecount+entry.getByteCount().getValue();
                            packetcount=packetcount+entry.getPacketCount().getValue();
                            uniqueCookies.add(entry.getCookie().getValue());

                        }
                    }

                }
            }
        }

        Set<OFStatsReplyFlags> DEFAULT_FLAGS = ImmutableSet.<OFStatsReplyFlags>of();
FileLine
net/onrc/openvirtex/protocol/OVXMatch.java96
net/onrc/openvirtex/protocol/OVXMatchV3.java88
    public OVXMatch setCookie(final long cookie) {
        this.cookie = cookie;
        return this;
    }

    /**
     * Gets the pkt data.
     *
     * @return the pkt data
     */
    public byte[] getPktData() {
        return this.pktData;
    }

    /**
     * Sets the pkt data.
     *
     * @param pktData
     *            the new pkt data
     */
    public void setPktData(final byte[] pktData) {
        this.pktData = pktData;
    }

    /**
     * Checks if this match belongs to a flow mod (e.g. the cookie is not zero).
     *
     * @return true, if is flow mod
     */
    public boolean isFlowMod() {
        return this.cookie != 0;
    }

    /**
     * Checks if this match belongs to a packet out (e.g. the packet data is not
     * null).
     *
     * @return true, if is packet out
     */
    public boolean isPacketOut() {
        return this.pktData != null;
    }

    public static class CIDRToIP {
        public static String cidrToString(final int ip, final int prefix) {
            String str;
            if (prefix >= 32) {
                str = IPv4Address.of(ip).toString();
            } else {
                // use the negation of mask to fake endian magic
                final int mask = ~((1 << 32 - prefix) - 1);
                str = IPv4Address.of(ip & mask).toString() + "/" + prefix;
            }

            return str;
        }
    }
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionNiciraVer10.java34
org/projectfloodlight/openflow/protocol/ver11/OFActionNiciraVer11.java34
org/projectfloodlight/openflow/protocol/ver12/OFActionNiciraVer12.java34
org/projectfloodlight/openflow/protocol/ver13/OFActionNiciraVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFActionNiciraVer14.java34
    public final static OFActionNiciraVer10.Reader READER = new Reader();

    static class Reader implements OFMessageReader<OFActionNicira> {
        @Override
        public OFActionNicira readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            // fixed value property experimenter == 0x2320L
            int experimenter = bb.readInt();
            if(experimenter != 0x2320)
                throw new OFParseError("Wrong experimenter: Expected=0x2320L(0x2320L), got="+experimenter);
            short subtype = bb.readShort();
            bb.readerIndex(start);
            switch(subtype) {
               case (short) 0x12:
                   // discriminator value 0x12=0x12 for class OFActionNiciraDecTtlVer10
                   return OFActionNiciraDecTtlVer10.READER.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxReplyVer10.java437
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxReplyVer10.java437
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxReplyVer11.java437
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxReplyVer11.java437
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxReplyVer12.java437
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxReplyVer12.java437
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxReplyVer13.java437
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxReplyVer13.java437
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxReplyVer14.java437
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxReplyVer14.java437
        OFBsnPduRxReplyVer10 other = (OFBsnPduRxReplyVer10) obj;

        if( xid != other.xid)
            return false;
        if( status != other.status)
            return false;
        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if( slotNum != other.slotNum)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime *  (int) (status ^ (status >>> 32));
        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime * result + slotNum;
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortReasonSerializerVer10.java30
org/projectfloodlight/openflow/protocol/ver11/OFPortReasonSerializerVer11.java30
org/projectfloodlight/openflow/protocol/ver12/OFPortReasonSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFPortReasonSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFPortReasonSerializerVer14.java30
public class OFPortReasonSerializerVer10 {

    public final static byte ADD_VAL = (byte) 0x0;
    public final static byte DELETE_VAL = (byte) 0x1;
    public final static byte MODIFY_VAL = (byte) 0x2;

    public static OFPortReason readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFPortReason e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFPortReason e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFPortReason ofWireValue(byte val) {
        switch(val) {
            case ADD_VAL:
                return OFPortReason.ADD;
            case DELETE_VAL:
                return OFPortReason.DELETE;
            case MODIFY_VAL:
                return OFPortReason.MODIFY;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFPortReason in version 1.0: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatusVer10.java107
org/projectfloodlight/openflow/protocol/ver10/OFPortStatusVer10.java181
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.PORT_STATUS;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatus.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPortReason getReason() {
        return reason;
    }

    @Override
    public OFPortStatus.Builder setReason(OFPortReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public OFPortDesc getDesc() {
        return desc;
    }

    @Override
    public OFPortStatus.Builder setDesc(OFPortDesc desc) {
        this.desc = desc;
        this.descSet = true;
        return this;
    }


        @Override
        public OFPortStatus build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueOpFailedCodeSerializerVer10.java30
org/projectfloodlight/openflow/protocol/ver11/OFQueueOpFailedCodeSerializerVer11.java30
org/projectfloodlight/openflow/protocol/ver12/OFQueueOpFailedCodeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFQueueOpFailedCodeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFQueueOpFailedCodeSerializerVer14.java30
public class OFQueueOpFailedCodeSerializerVer10 {

    public final static short BAD_PORT_VAL = (short) 0x0;
    public final static short BAD_QUEUE_VAL = (short) 0x1;
    public final static short EPERM_VAL = (short) 0x2;

    public static OFQueueOpFailedCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFQueueOpFailedCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFQueueOpFailedCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFQueueOpFailedCode ofWireValue(short val) {
        switch(val) {
            case BAD_PORT_VAL:
                return OFQueueOpFailedCode.BAD_PORT;
            case BAD_QUEUE_VAL:
                return OFQueueOpFailedCode.BAD_QUEUE;
            case EPERM_VAL:
                return OFQueueOpFailedCode.EPERM;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFQueueOpFailedCode in version 1.0: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupModCommandSerializerVer11.java30
org/projectfloodlight/openflow/protocol/ver12/OFGroupModCommandSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFGroupModCommandSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFGroupModCommandSerializerVer14.java30
public class OFGroupModCommandSerializerVer11 {

    public final static short ADD_VAL = (short) 0x0;
    public final static short MODIFY_VAL = (short) 0x1;
    public final static short DELETE_VAL = (short) 0x2;

    public static OFGroupModCommand readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFGroupModCommand e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFGroupModCommand e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFGroupModCommand ofWireValue(short val) {
        switch(val) {
            case ADD_VAL:
                return OFGroupModCommand.ADD;
            case MODIFY_VAL:
                return OFGroupModCommand.MODIFY;
            case DELETE_VAL:
                return OFGroupModCommand.DELETE;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFGroupModCommand in version 1.1: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortStatusVer11.java107
org/projectfloodlight/openflow/protocol/ver11/OFPortStatusVer11.java181
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.PORT_STATUS;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatus.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPortReason getReason() {
        return reason;
    }

    @Override
    public OFPortStatus.Builder setReason(OFPortReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public OFPortDesc getDesc() {
        return desc;
    }

    @Override
    public OFPortStatus.Builder setDesc(OFPortDesc desc) {
        this.desc = desc;
        this.descSet = true;
        return this;
    }


        @Override
        public OFPortStatus build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFExperimenterErrorMsgVer12.java419
org/projectfloodlight/openflow/protocol/ver13/OFExperimenterErrorMsgVer13.java419
org/projectfloodlight/openflow/protocol/ver14/OFExperimenterErrorMsgVer14.java419
        OFExperimenterErrorMsgVer12 other = (OFExperimenterErrorMsgVer12) obj;

        if( xid != other.xid)
            return false;
        if( subtype != other.subtype)
            return false;
        if( experimenter != other.experimenter)
            return false;
        if (data == null) {
            if (other.data != null)
                return false;
        } else if (!data.equals(other.data))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + subtype;
        result = prime *  (int) (experimenter ^ (experimenter >>> 32));
        result = prime * result + ((data == null) ? 0 : data.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsReplyVer12.java38
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsReplyVer13.java38
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsReplyVer14.java38
    final static int LENGTH = 56;

        private final static long DEFAULT_XID = 0x0L;
        private final static Set<OFStatsReplyFlags> DEFAULT_FLAGS = ImmutableSet.<OFStatsReplyFlags>of();
        private final static long DEFAULT_TYPES = 0x0L;
        private final static long DEFAULT_CAPABILITIES = 0x0L;
        private final static long DEFAULT_MAX_GROUPS_ALL = 0x0L;
        private final static long DEFAULT_MAX_GROUPS_SELECT = 0x0L;
        private final static long DEFAULT_MAX_GROUPS_INDIRECT = 0x0L;
        private final static long DEFAULT_MAX_GROUPS_FF = 0x0L;
        private final static long DEFAULT_ACTIONS_ALL = 0x0L;
        private final static long DEFAULT_ACTIONS_SELECT = 0x0L;
        private final static long DEFAULT_ACTIONS_INDIRECT = 0x0L;
        private final static long DEFAULT_ACTIONS_FF = 0x0L;

    // OF message fields
    private final long xid;
    private final Set<OFStatsReplyFlags> flags;
    private final long types;
    private final long capabilities;
    private final long maxGroupsAll;
    private final long maxGroupsSelect;
    private final long maxGroupsIndirect;
    private final long maxGroupsFf;
    private final long actionsAll;
    private final long actionsSelect;
    private final long actionsIndirect;
    private final long actionsFf;
//
    // Immutable default instance
    final static OFGroupFeaturesStatsReplyVer12 DEFAULT = new OFGroupFeaturesStatsReplyVer12(
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPortStatusVer12.java107
org/projectfloodlight/openflow/protocol/ver12/OFPortStatusVer12.java181
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.PORT_STATUS;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatus.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPortReason getReason() {
        return reason;
    }

    @Override
    public OFPortStatus.Builder setReason(OFPortReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public OFPortDesc getDesc() {
        return desc;
    }

    @Override
    public OFPortStatus.Builder setDesc(OFPortDesc desc) {
        this.desc = desc;
        this.descSet = true;
        return this;
    }


        @Override
        public OFPortStatus build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFQueuePropertiesSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFQueuePropertiesSerializerVer13.java30
public class OFQueuePropertiesSerializerVer12 {

    public final static short MIN_RATE_VAL = (short) 0x1;
    public final static short MAX_RATE_VAL = (short) 0x2;
    public final static short EXPERIMENTER_VAL = (short) 0xffff;

    public static OFQueueProperties readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFQueueProperties e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFQueueProperties e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFQueueProperties ofWireValue(short val) {
        switch(val) {
            case MIN_RATE_VAL:
                return OFQueueProperties.MIN_RATE;
            case MAX_RATE_VAL:
                return OFQueueProperties.MAX_RATE;
            case EXPERIMENTER_VAL:
                return OFQueueProperties.EXPERIMENTER;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFQueueProperties in version 1.2: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleReplyVer12.java108
org/projectfloodlight/openflow/protocol/ver12/OFRoleReplyVer12.java182
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.ROLE_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFRoleReply.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public U64 getGenerationId() {
        return generationId;
    }

    @Override
    public OFRoleReply.Builder setGenerationId(U64 generationId) {
        this.generationId = generationId;
        this.generationIdSet = true;
        return this;
    }


        @Override
        public OFRoleReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestFailedCodeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestFailedCodeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestFailedCodeSerializerVer14.java30
public class OFRoleRequestFailedCodeSerializerVer12 {

    public final static short STALE_VAL = (short) 0x0;
    public final static short UNSUP_VAL = (short) 0x1;
    public final static short BAD_ROLE_VAL = (short) 0x2;

    public static OFRoleRequestFailedCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFRoleRequestFailedCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFRoleRequestFailedCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFRoleRequestFailedCode ofWireValue(short val) {
        switch(val) {
            case STALE_VAL:
                return OFRoleRequestFailedCode.STALE;
            case UNSUP_VAL:
                return OFRoleRequestFailedCode.UNSUP;
            case BAD_ROLE_VAL:
                return OFRoleRequestFailedCode.BAD_ROLE;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFRoleRequestFailedCode in version 1.2: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestVer12.java108
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestVer12.java182
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.ROLE_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFRoleRequest.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public U64 getGenerationId() {
        return generationId;
    }

    @Override
    public OFRoleRequest.Builder setGenerationId(U64 generationId) {
        this.generationId = generationId;
        this.generationIdSet = true;
        return this;
    }


        @Override
        public OFRoleRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFSwitchConfigFailedCodeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFSwitchConfigFailedCodeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFSwitchConfigFailedCodeSerializerVer14.java30
public class OFSwitchConfigFailedCodeSerializerVer12 {

    public final static short BAD_FLAGS_VAL = (short) 0x0;
    public final static short BAD_LEN_VAL = (short) 0x1;
    public final static short EPERM_VAL = (short) 0x2;

    public static OFSwitchConfigFailedCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFSwitchConfigFailedCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFSwitchConfigFailedCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFSwitchConfigFailedCode ofWireValue(short val) {
        switch(val) {
            case BAD_FLAGS_VAL:
                return OFSwitchConfigFailedCode.BAD_FLAGS;
            case BAD_LEN_VAL:
                return OFSwitchConfigFailedCode.BAD_LEN;
            case EPERM_VAL:
                return OFSwitchConfigFailedCode.EPERM;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFSwitchConfigFailedCode in version 1.2: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFTableModFailedCodeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFTableModFailedCodeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFTableModFailedCodeSerializerVer14.java30
public class OFTableModFailedCodeSerializerVer12 {

    public final static short BAD_TABLE_VAL = (short) 0x0;
    public final static short BAD_CONFIG_VAL = (short) 0x1;
    public final static short EPERM_VAL = (short) 0x2;

    public static OFTableModFailedCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFTableModFailedCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFTableModFailedCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFTableModFailedCode ofWireValue(short val) {
        switch(val) {
            case BAD_TABLE_VAL:
                return OFTableModFailedCode.BAD_TABLE;
            case BAD_CONFIG_VAL:
                return OFTableModFailedCode.BAD_CONFIG;
            case EPERM_VAL:
                return OFTableModFailedCode.EPERM;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFTableModFailedCode in version 1.2: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdNiciraVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFActionIdNiciraVer14.java34
    public final static OFActionIdNiciraVer13.Reader READER = new Reader();

    static class Reader implements OFMessageReader<OFActionIdNicira> {
        @Override
        public OFActionIdNicira readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            // fixed value property experimenter == 0x2320L
            int experimenter = bb.readInt();
            if(experimenter != 0x2320)
                throw new OFParseError("Wrong experimenter: Expected=0x2320L(0x2320L), got="+experimenter);
            short subtype = bb.readShort();
            bb.readerIndex(start);
            switch(subtype) {
               case (short) 0x12:
                   // discriminator value 0x12=0x12 for class OFActionIdNiciraDecTtlVer13
                   return OFActionIdNiciraDecTtlVer13.READER.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceStatusSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceStatusSerializerVer14.java30
public class OFBsnLacpConvergenceStatusSerializerVer13 {

    public final static byte SUCCESS_VAL = (byte) 0x0;
    public final static byte TIMEDOUT_VAL = (byte) 0x1;
    public final static byte OUT_OF_SYNC_VAL = (byte) 0x2;

    public static OFBsnLacpConvergenceStatus readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBsnLacpConvergenceStatus e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFBsnLacpConvergenceStatus e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFBsnLacpConvergenceStatus ofWireValue(byte val) {
        switch(val) {
            case SUCCESS_VAL:
                return OFBsnLacpConvergenceStatus.SUCCESS;
            case TIMEDOUT_VAL:
                return OFBsnLacpConvergenceStatus.TIMEDOUT;
            case OUT_OF_SYNC_VAL:
                return OFBsnLacpConvergenceStatus.OUT_OF_SYNC;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFBsnLacpConvergenceStatus in version 1.3: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnUdfAnchorSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFBsnUdfAnchorSerializerVer14.java30
public class OFBsnUdfAnchorSerializerVer13 {

    public final static short BSN_UDF_ANCHOR_PACKET_START_VAL = (short) 0x0;
    public final static short BSN_UDF_ANCHOR_L3_HEADER_START_VAL = (short) 0x1;
    public final static short BSN_UDF_ANCHOR_L4_HEADER_START_VAL = (short) 0x2;

    public static OFBsnUdfAnchor readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBsnUdfAnchor e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFBsnUdfAnchor e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFBsnUdfAnchor ofWireValue(short val) {
        switch(val) {
            case BSN_UDF_ANCHOR_PACKET_START_VAL:
                return OFBsnUdfAnchor.BSN_UDF_ANCHOR_PACKET_START;
            case BSN_UDF_ANCHOR_L3_HEADER_START_VAL:
                return OFBsnUdfAnchor.BSN_UDF_ANCHOR_L3_HEADER_START;
            case BSN_UDF_ANCHOR_L4_HEADER_START_VAL:
                return OFBsnUdfAnchor.BSN_UDF_ANCHOR_L4_HEADER_START;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFBsnUdfAnchor in version 1.3: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java984
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java819
        OFCalientFlowStatsEntryVer13 other = (OFCalientFlowStatsEntryVer13) obj;

        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if( durationSec != other.durationSec)
            return false;
        if( durationNsec != other.durationNsec)
            return false;
        if( priority != other.priority)
            return false;
        if( idleTimeout != other.idleTimeout)
            return false;
        if( hardTimeout != other.hardTimeout)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if (cookie == null) {
            if (other.cookie != null)
                return false;
        } else if (!cookie.equals(other.cookie))
            return false;
        if (adminStatus == null) {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandTypeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandTypeSerializerVer14.java30
public class OFMeterBandTypeSerializerVer13 {

    public final static short DROP_VAL = (short) 0x1;
    public final static short DSCP_REMARK_VAL = (short) 0x2;
    public final static short EXPERIMENTER_VAL = (short) 0xffff;

    public static OFMeterBandType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFMeterBandType e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFMeterBandType e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFMeterBandType ofWireValue(short val) {
        switch(val) {
            case DROP_VAL:
                return OFMeterBandType.DROP;
            case DSCP_REMARK_VAL:
                return OFMeterBandType.DSCP_REMARK;
            case EXPERIMENTER_VAL:
                return OFMeterBandType.EXPERIMENTER;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFMeterBandType in version 1.3: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterModCommandSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFMeterModCommandSerializerVer14.java30
public class OFMeterModCommandSerializerVer13 {

    public final static short ADD_VAL = (short) 0x0;
    public final static short MODIFY_VAL = (short) 0x1;
    public final static short DELETE_VAL = (short) 0x2;

    public static OFMeterModCommand readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFMeterModCommand e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFMeterModCommand e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFMeterModCommand ofWireValue(short val) {
        switch(val) {
            case ADD_VAL:
                return OFMeterModCommand.ADD;
            case MODIFY_VAL:
                return OFMeterModCommand.MODIFY;
            case DELETE_VAL:
                return OFMeterModCommand.DELETE;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFMeterModCommand in version 1.3: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortStatusVer13.java107
org/projectfloodlight/openflow/protocol/ver13/OFPortStatusVer13.java181
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.PORT_STATUS;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatus.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPortReason getReason() {
        return reason;
    }

    @Override
    public OFPortStatus.Builder setReason(OFPortReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public OFPortDesc getDesc() {
        return desc;
    }

    @Override
    public OFPortStatus.Builder setDesc(OFPortDesc desc) {
        this.desc = desc;
        this.descSet = true;
        return this;
    }


        @Override
        public OFPortStatus build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFRoleReplyVer13.java108
org/projectfloodlight/openflow/protocol/ver13/OFRoleReplyVer13.java182
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.ROLE_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFRoleReply.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public U64 getGenerationId() {
        return generationId;
    }

    @Override
    public OFRoleReply.Builder setGenerationId(U64 generationId) {
        this.generationId = generationId;
        this.generationIdSet = true;
        return this;
    }


        @Override
        public OFRoleReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestVer13.java108
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestVer13.java182
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.ROLE_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFRoleRequest.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public U64 getGenerationId() {
        return generationId;
    }

    @Override
    public OFRoleRequest.Builder setGenerationId(U64 generationId) {
        this.generationId = generationId;
        this.generationIdSet = true;
        return this;
    }


        @Override
        public OFRoleRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFPortStatusVer14.java107
org/projectfloodlight/openflow/protocol/ver14/OFPortStatusVer14.java181
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.PORT_STATUS;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatus.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPortReason getReason() {
        return reason;
    }

    @Override
    public OFPortStatus.Builder setReason(OFPortReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public OFPortDesc getDesc() {
        return desc;
    }

    @Override
    public OFPortStatus.Builder setDesc(OFPortDesc desc) {
        this.desc = desc;
        this.descSet = true;
        return this;
    }


        @Override
        public OFPortStatus build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFRoleReplyVer14.java108
org/projectfloodlight/openflow/protocol/ver14/OFRoleReplyVer14.java182
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ROLE_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFRoleReply.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public U64 getGenerationId() {
        return generationId;
    }

    @Override
    public OFRoleReply.Builder setGenerationId(U64 generationId) {
        this.generationId = generationId;
        this.generationIdSet = true;
        return this;
    }


        @Override
        public OFRoleReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestVer14.java108
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestVer14.java182
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ROLE_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFRoleRequest.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public U64 getGenerationId() {
        return generationId;
    }

    @Override
    public OFRoleRequest.Builder setGenerationId(U64 generationId) {
        this.generationId = generationId;
        this.generationIdSet = true;
        return this;
    }


        @Override
        public OFRoleRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
net/onrc/openvirtex/messages/statistics/ver10/OVXPortStatsRequestVer10.java40
net/onrc/openvirtex/messages/statistics/ver13/OVXPortStatsRequestVer13.java39
    public OVXPortStatsRequestVer10(long xid, Set<OFStatsRequestFlags> flags,
			OFPort portNo) {
		super(xid, flags, portNo);
		// TODO Auto-generated constructor stub
	}

	@Override
    public void devirtualize(final OVXSwitch sw) {
        List<OFPortStatsEntry> entries = new LinkedList<OFPortStatsEntry>();
        int length = 0;
        if (this.getPortNo() == OFPort.ANY) {
            for (OVXPort p : sw.getPorts().values()) {
                OVXPortStatsReply reply = p.getPhysicalPort()
                        .getParentSwitch()
                        .getPortStat(p.getPhysicalPort().getPortNo().getShortPortNumber());
                if (reply != null) {
                    /*
                     * Setting it here will also update the reference but this
                     * should not matter since we index our port stats struct by
                     * physical port number (so this info is not lost) and we
                     * always rewrite the port num to the virtual port number.
                     */
                    OFPortStatsEntry entry=reply.getEntries().get(0).createBuilder().setPortNo(p.getPortNo()).build();
                    
                    entries.add(entry);
FileLine
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteStrictVer10.java159
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteVer10.java159
net/onrc/openvirtex/messages/ver10/OVXFlowModifyStrictVer10.java159
net/onrc/openvirtex/messages/ver10/OVXFlowModifyVer10.java159
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteStrictVer13.java123
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteVer13.java125
net/onrc/openvirtex/messages/ver13/OVXFlowModifyStrictVer13.java124
net/onrc/openvirtex/messages/ver13/OVXFlowModifyVer13.java128
                ((VirtualizableAction) act).virtualize(sw,
                        this.approvedActions, ovxMatch);
            } catch (final ActionVirtualizationDenied e) {
                this.log.warn("Action {} could not be virtualized; error: {}",
                        act, e.getMessage());
                ft.deleteFlowMod(ovxCookie);
                sw.sendMsg(OVXMessageUtil.makeError(e.getErrorCode(), this), sw);
                return;
            } catch (final DroppedMessageException e) {
                this.log.warn("Dropping flowmod {} {}", this, e);
                ft.deleteFlowMod(ovxCookie);
                // TODO perhaps send error message to controller
                return;
            }
        }

        final OVXPort ovxInPort = sw.getPort(inport);
        this.bufferId=OFBufferId.of(bufferId);

        if (ovxInPort == null) {
            if (this.getMatch().isFullyWildcarded(MatchField.IN_PORT)) {
                /* expand match to all ports */
                for (OVXPort iport : sw.getPorts().values()) {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetInterfacesReplyVer10.java247
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxRequestVer11.java367
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxRequestVer11.java367
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortCreateRequestVer11.java241
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxRequestVer12.java367
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxRequestVer12.java367
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortCreateRequestVer12.java241
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionsReplyVer13.java247
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleVer13.java373
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryAddVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDeleteVer13.java288
org/projectfloodlight/openflow/protocol/ver13/OFBsnLogVer13.java286
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaCommandReplyVer13.java246
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaCommandRequestVer13.java246
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaNotificationVer13.java246
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaUploadVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxRequestVer13.java367
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxRequestVer13.java367
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortCreateRequestVer13.java241
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionsReplyVer14.java247
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleVer14.java373
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryAddVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDeleteVer14.java288
org/projectfloodlight/openflow/protocol/ver14/OFBsnLogVer14.java286
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaCommandReplyVer14.java246
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaCommandRequestVer14.java246
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaNotificationVer14.java246
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaUploadVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxRequestVer14.java367
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxRequestVer14.java367
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortCreateRequestVer14.java241
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xaL
            int subtype = bb.readInt();
            if(subtype != 0xa)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxRequestVer10.java367
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxRequestVer10.java367
org/projectfloodlight/openflow/protocol/ver10/OFBsnShellCommandVer10.java284
org/projectfloodlight/openflow/protocol/ver10/OFBsnShellOutputVer10.java246
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortCreateRequestVer10.java241
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetInterfacesReplyVer11.java247
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetInterfacesReplyVer12.java247
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetInterfacesReplyVer13.java247
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetInterfacesReplyVer14.java247
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x21L
            int subtype = bb.readInt();
            if(subtype != 0x21)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowModFlagsSerializerVer10.java40
org/projectfloodlight/openflow/protocol/ver11/OFFlowModFlagsSerializerVer11.java39
org/projectfloodlight/openflow/protocol/ver12/OFFlowModFlagsSerializerVer12.java40
org/projectfloodlight/openflow/protocol/ver13/OFFlowModFlagsSerializerVer13.java43
org/projectfloodlight/openflow/protocol/ver14/OFFlowModFlagsSerializerVer14.java43
    public static Set<OFFlowModFlags> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFFlowModFlags> set) {
        bb.writeShort(toWireValue(set));
    }

    public static void putTo(Set<OFFlowModFlags> set, PrimitiveSink sink) {
        sink.putShort(toWireValue(set));
    }


    public static Set<OFFlowModFlags> ofWireValue(short val) {
        EnumSet<OFFlowModFlags> set = EnumSet.noneOf(OFFlowModFlags.class);

        if((val & SEND_FLOW_REM_VAL) != 0)
            set.add(OFFlowModFlags.SEND_FLOW_REM);
        if((val & CHECK_OVERLAP_VAL) != 0)
            set.add(OFFlowModFlags.CHECK_OVERLAP);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java672
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java720
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java720
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java720
        StringBuilder b = new StringBuilder("OFPortDescVer10(");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("hwAddr=").append(hwAddr);
        b.append(", ");
        b.append("name=").append(name);
        b.append(", ");
        b.append("config=").append(config);
        b.append(", ");
        b.append("state=").append(state);
        b.append(", ");
        b.append("curr=").append(curr);
        b.append(", ");
        b.append("advertised=").append(advertised);
        b.append(", ");
        b.append("supported=").append(supported);
        b.append(", ");
        b.append("peer=").append(peer);
        b.append(")");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFeaturesReplyVer11.java272
org/projectfloodlight/openflow/protocol/ver12/OFFeaturesReplyVer12.java272
            throw new UnsupportedOperationException("Property auxiliaryId not supported in version 1.1");
    }


        @Override
        public OFFeaturesReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                DatapathId datapathId = this.datapathIdSet ? this.datapathId : parentMessage.datapathId;
                if(datapathId == null)
                    throw new NullPointerException("Property datapathId must not be null");
                long nBuffers = this.nBuffersSet ? this.nBuffers : parentMessage.nBuffers;
                short nTables = this.nTablesSet ? this.nTables : parentMessage.nTables;
                Set<OFCapabilities> capabilities = this.capabilitiesSet ? this.capabilities : parentMessage.capabilities;
                if(capabilities == null)
                    throw new NullPointerException("Property capabilities must not be null");
                long reserved = this.reservedSet ? this.reserved : parentMessage.reserved;
                List<OFPortDesc> ports = this.portsSet ? this.ports : parentMessage.ports;
                if(ports == null)
                    throw new NullPointerException("Property ports must not be null");

                //
                return new OFFeaturesReplyVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsEntryVer13.java113
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsEntryVer13.java184
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryDescStatsEntry.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryDescStatsEntry.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getValue() {
        return value;
    }

    @Override
    public OFBsnGentableEntryDescStatsEntry.Builder setValue(List<OFBsnTlv> value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFBsnGentableEntryDescStatsEntry build() {
                U128 checksum = this.checksumSet ? this.checksum : parentMessage.checksum;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java1049
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java864
        } else if (!match.equals(other.match))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime *  (int) (durationSec ^ (durationSec >>> 32));
        result = prime *  (int) (durationNsec ^ (durationNsec >>> 32));
        result = prime * result + priority;
        result = prime * result + idleTimeout;
        result = prime * result + hardTimeout;
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((cookie == null) ? 0 : cookie.hashCode());
        result = prime * result + ((adminStatus == null) ? 0 : adminStatus.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsEntryVer14.java113
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsEntryVer14.java184
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryDescStatsEntry.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryDescStatsEntry.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getValue() {
        return value;
    }

    @Override
    public OFBsnGentableEntryDescStatsEntry.Builder setValue(List<OFBsnTlv> value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFBsnGentableEntryDescStatsEntry build() {
                U128 checksum = this.checksumSet ? this.checksum : parentMessage.checksum;
FileLine
net/onrc/openvirtex/api/service/handlers/tenant/RemoveOVXSwitch.java71
net/onrc/openvirtex/api/service/handlers/tenant/StartOVXSwitch.java74
net/onrc/openvirtex/api/service/handlers/tenant/StopOVXSwitch.java73
                            + e.getMessage()), 0);
        } catch (final InvalidDPIDException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Invalid DPID : " + e.getMessage()), 0);
        } catch (final InvalidTenantIdException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Invalid tenant id : " + e.getMessage()), 0);
        } catch (final NetworkMappingException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": " + e.getMessage()), 0);
        }

        return resp;
    }

    @Override
    public JSONRPC2ParamsType getType() {
        return JSONRPC2ParamsType.OBJECT;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowAddVer10.java45
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteStrictVer10.java45
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteVer10.java45
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyStrictVer10.java45
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyVer10.java45
    private static final Logger logger = LoggerFactory.getLogger(OFFlowAddVer10.class);
    // version: 1.0
    final static byte WIRE_VERSION = 1;
    final static int MINIMUM_LENGTH = 72;

        private final static long DEFAULT_XID = 0x0L;
        private final static Match DEFAULT_MATCH = OFFactoryVer10.MATCH_WILDCARD_ALL;
        private final static U64 DEFAULT_COOKIE = U64.ZERO;
        private final static int DEFAULT_IDLE_TIMEOUT = 0x0;
        private final static int DEFAULT_HARD_TIMEOUT = 0x0;
        private final static int DEFAULT_PRIORITY = 0x0;
        private final static OFBufferId DEFAULT_BUFFER_ID = OFBufferId.NO_BUFFER;
        private final static OFPort DEFAULT_OUT_PORT = OFPort.ANY;
        private final static Set<OFFlowModFlags> DEFAULT_FLAGS = ImmutableSet.<OFFlowModFlags>of();
        private final static List<OFAction> DEFAULT_ACTIONS = ImmutableList.<OFAction>of();
        
    // OF message fields
    protected long xid;
    protected Match match;
    protected U64 cookie;
    protected int idleTimeout;
    protected int hardTimeout;
    protected int priority;
    protected OFBufferId bufferId;
    protected OFPort outPort;
    protected Set<OFFlowModFlags> flags;
    protected List<OFAction> actions;
//
    // Immutable default instance
    final static OFFlowAddVer10 DEFAULT = new OFFlowAddVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java128
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java128
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java128
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java134
    }

    // Accessors for OF message fields
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public U64 getRxPackets() {
        return rxPackets;
    }

    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public U64 getRxBytes() {
        return rxBytes;
    }

    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public U64 getRxDropped() {
        return rxDropped;
    }

    @Override
    public U64 getTxDropped() {
        return txDropped;
    }

    @Override
    public U64 getRxErrors() {
        return rxErrors;
    }

    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public U64 getRxFrameErr() {
        return rxFrameErr;
    }

    @Override
    public U64 getRxOverErr() {
        return rxOverErr;
    }

    @Override
    public U64 getRxCrcErr() {
        return rxCrcErr;
    }

    @Override
    public U64 getCollisions() {
        return collisions;
    }

    @Override
    public long getDurationSec()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBadMatchCodeSerializerVer11.java41
org/projectfloodlight/openflow/protocol/ver12/OFBadMatchCodeSerializerVer12.java45
org/projectfloodlight/openflow/protocol/ver13/OFBadMatchCodeSerializerVer13.java45
org/projectfloodlight/openflow/protocol/ver14/OFBadMatchCodeSerializerVer14.java45
    public static OFBadMatchCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBadMatchCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFBadMatchCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFBadMatchCode ofWireValue(short val) {
        switch(val) {
            case BAD_TYPE_VAL:
                return OFBadMatchCode.BAD_TYPE;
            case BAD_LEN_VAL:
                return OFBadMatchCode.BAD_LEN;
            case BAD_TAG_VAL:
                return OFBadMatchCode.BAD_TAG;
            case BAD_DL_ADDR_MASK_VAL:
                return OFBadMatchCode.BAD_DL_ADDR_MASK;
            case BAD_NW_ADDR_MASK_VAL:
                return OFBadMatchCode.BAD_NW_ADDR_MASK;
            case BAD_WILDCARDS_VAL:
                return OFBadMatchCode.BAD_WILDCARDS;
            case BAD_FIELD_VAL:
                return OFBadMatchCode.BAD_FIELD;
            case BAD_VALUE_VAL:
                return OFBadMatchCode.BAD_VALUE;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFActionSetFieldVer12.java157
org/projectfloodlight/openflow/protocol/ver13/OFActionSetFieldVer13.java157
org/projectfloodlight/openflow/protocol/ver14/OFActionSetFieldVer14.java157
            return new OFActionSetFieldVer12(
                    field
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionSetField> {
        @Override
        public OFActionSetField readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 25
            short type = bb.readShort();
            if(type != (short) 0x19)
                throw new OFParseError("Wrong type: Expected=OFActionType.SET_FIELD(25), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            OFOxm<?> field = OFOxmVer12.READER.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowModFailedCodeSerializerVer12.java41
org/projectfloodlight/openflow/protocol/ver13/OFFlowModFailedCodeSerializerVer13.java41
org/projectfloodlight/openflow/protocol/ver14/OFFlowModFailedCodeSerializerVer14.java43
    public static OFFlowModFailedCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFFlowModFailedCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFFlowModFailedCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFFlowModFailedCode ofWireValue(short val) {
        switch(val) {
            case UNKNOWN_VAL:
                return OFFlowModFailedCode.UNKNOWN;
            case TABLE_FULL_VAL:
                return OFFlowModFailedCode.TABLE_FULL;
            case BAD_TABLE_ID_VAL:
                return OFFlowModFailedCode.BAD_TABLE_ID;
            case OVERLAP_VAL:
                return OFFlowModFailedCode.OVERLAP;
            case EPERM_VAL:
                return OFFlowModFailedCode.EPERM;
            case BAD_TIMEOUT_VAL:
                return OFFlowModFailedCode.BAD_TIMEOUT;
            case BAD_COMMAND_VAL:
                return OFFlowModFailedCode.BAD_COMMAND;
            case BAD_FLAGS_VAL:
                return OFFlowModFailedCode.BAD_FLAGS;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandDscpRemarkVer13.java107
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandDscpRemarkVer13.java177
    @Override
    public int getType() {
        return 0x2;
    }

    @Override
    public long getRate() {
        return rate;
    }

    @Override
    public OFMeterBandDscpRemark.Builder setRate(long rate) {
        this.rate = rate;
        this.rateSet = true;
        return this;
    }
    @Override
    public long getBurstSize() {
        return burstSize;
    }

    @Override
    public OFMeterBandDscpRemark.Builder setBurstSize(long burstSize) {
        this.burstSize = burstSize;
        this.burstSizeSet = true;
        return this;
    }
    @Override
    public short getPrecLevel() {
        return precLevel;
    }

    @Override
    public OFMeterBandDscpRemark.Builder setPrecLevel(short precLevel) {
        this.precLevel = precLevel;
        this.precLevelSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFMeterBandDscpRemark build() {
                long rate = this.rateSet ? this.rate : parentMessage.rate;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandExperimenterVer13.java107
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandExperimenterVer13.java177
    @Override
    public int getType() {
        return 0xffff;
    }

    @Override
    public long getRate() {
        return rate;
    }

    @Override
    public OFMeterBandExperimenter.Builder setRate(long rate) {
        this.rate = rate;
        this.rateSet = true;
        return this;
    }
    @Override
    public long getBurstSize() {
        return burstSize;
    }

    @Override
    public OFMeterBandExperimenter.Builder setBurstSize(long burstSize) {
        this.burstSize = burstSize;
        this.burstSizeSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return experimenter;
    }

    @Override
    public OFMeterBandExperimenter.Builder setExperimenter(long experimenter) {
        this.experimenter = experimenter;
        this.experimenterSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFMeterBandExperimenter build() {
                long rate = this.rateSet ? this.rate : parentMessage.rate;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandDscpRemarkVer14.java107
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandDscpRemarkVer14.java177
    @Override
    public int getType() {
        return 0x2;
    }

    @Override
    public long getRate() {
        return rate;
    }

    @Override
    public OFMeterBandDscpRemark.Builder setRate(long rate) {
        this.rate = rate;
        this.rateSet = true;
        return this;
    }
    @Override
    public long getBurstSize() {
        return burstSize;
    }

    @Override
    public OFMeterBandDscpRemark.Builder setBurstSize(long burstSize) {
        this.burstSize = burstSize;
        this.burstSizeSet = true;
        return this;
    }
    @Override
    public short getPrecLevel() {
        return precLevel;
    }

    @Override
    public OFMeterBandDscpRemark.Builder setPrecLevel(short precLevel) {
        this.precLevel = precLevel;
        this.precLevelSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFMeterBandDscpRemark build() {
                long rate = this.rateSet ? this.rate : parentMessage.rate;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandExperimenterVer14.java107
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandExperimenterVer14.java177
    @Override
    public int getType() {
        return 0xffff;
    }

    @Override
    public long getRate() {
        return rate;
    }

    @Override
    public OFMeterBandExperimenter.Builder setRate(long rate) {
        this.rate = rate;
        this.rateSet = true;
        return this;
    }
    @Override
    public long getBurstSize() {
        return burstSize;
    }

    @Override
    public OFMeterBandExperimenter.Builder setBurstSize(long burstSize) {
        this.burstSize = burstSize;
        this.burstSizeSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return experimenter;
    }

    @Override
    public OFMeterBandExperimenter.Builder setExperimenter(long experimenter) {
        this.experimenter = experimenter;
        this.experimenterSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFMeterBandExperimenter build() {
                long rate = this.rateSet ? this.rate : parentMessage.rate;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFTableModPropVacancyVer14.java107
org/projectfloodlight/openflow/protocol/ver14/OFTableModPropVacancyVer14.java177
    @Override
    public int getType() {
        return 0x3;
    }

    @Override
    public short getVacancyDown() {
        return vacancyDown;
    }

    @Override
    public OFTableModPropVacancy.Builder setVacancyDown(short vacancyDown) {
        this.vacancyDown = vacancyDown;
        this.vacancyDownSet = true;
        return this;
    }
    @Override
    public short getVacancyUp() {
        return vacancyUp;
    }

    @Override
    public OFTableModPropVacancy.Builder setVacancyUp(short vacancyUp) {
        this.vacancyUp = vacancyUp;
        this.vacancyUpSet = true;
        return this;
    }
    @Override
    public short getVacancy() {
        return vacancy;
    }

    @Override
    public OFTableModPropVacancy.Builder setVacancy(short vacancy) {
        this.vacancy = vacancy;
        this.vacancySet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFTableModPropVacancy build() {
                short vacancyDown = this.vacancyDownSet ? this.vacancyDown : parentMessage.vacancyDown;
FileLine
net/onrc/openvirtex/elements/datapath/role/RoleManager.java186
net/onrc/openvirtex/elements/datapath/role/RoleManagerV3.java161
            final Map<Channel, Role> readOnly = Collections
                    .unmodifiableMap(this.currentState.get());
            for (Channel chan : readOnly.keySet()) {
                if (chan == null) {
                    continue;
                }
                checkAndSend(chan, msg);
            }
        }
    }

    public synchronized void removeChannel(Channel channel) {
        this.state = getState();
        this.state.remove(channel);
        setState();
    }

    public synchronized void shutDown() {
        this.state = getState();
        for (Channel c : state.keySet()) {
            if (c != null && c.isConnected()) {
                c.close();
            }
        }
        state.clear();
        setState();
    }

    @Override
    public String toString() {
        return this.currentState.get().toString();
    }
}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnVer10.java35
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnVer11.java35
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnVer12.java35
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnVer13.java35
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnVer14.java35
    public final static OFActionBsnVer10.Reader READER = new Reader();

    static class Reader implements OFMessageReader<OFActionBsn> {
        @Override
        public OFActionBsn readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            int subtype = bb.readInt();
            bb.readerIndex(start);
            switch(subtype) {
               case 0x4:
                   // discriminator value 0x4L=0x4L for class OFActionBsnChecksumVer10
                   return OFActionBsnChecksumVer10.READER.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionRequestVer10.java506
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionRequestVer11.java506
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionRequestVer12.java506
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionRequestVer13.java506
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionRequestVer14.java506
        StringBuilder b = new StringBuilder("OFBsnSetPktinSuppressionRequestVer10(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("enabled=").append(enabled);
        b.append(", ");
        b.append("idleTimeout=").append(idleTimeout);
        b.append(", ");
        b.append("hardTimeout=").append(hardTimeout);
        b.append(", ");
        b.append("priority=").append(priority);
        b.append(", ");
        b.append("cookie=").append(cookie);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportQInQVer10.java447
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportQInQVer11.java447
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportQInQVer12.java447
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportQInQVer13.java447
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportQInQVer14.java447
        StringBuilder b = new StringBuilder("OFBsnVportQInQVer10(");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("ingressTpid=").append(ingressTpid);
        b.append(", ");
        b.append("ingressVlanId=").append(ingressVlanId);
        b.append(", ");
        b.append("egressTpid=").append(egressTpid);
        b.append(", ");
        b.append("egressVlanId=").append(egressVlanId);
        b.append(", ");
        b.append("ifName=").append(ifName);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowAddVer10.java144
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteStrictVer10.java143
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteVer10.java143
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyStrictVer10.java143
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyVer10.java143
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property outGroup not supported in version 1.0");
    }

    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property instructions not supported in version 1.0");
    }

    @Override
    public List<OFAction> getActions() {
        return actions;
    }

    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.0");
    }



    public OFFlowAdd.Builder createBuilder() {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortModVer10.java491
org/projectfloodlight/openflow/protocol/ver11/OFPortModVer11.java501
org/projectfloodlight/openflow/protocol/ver12/OFPortModVer12.java501
org/projectfloodlight/openflow/protocol/ver13/OFPortModVer13.java501
        StringBuilder b = new StringBuilder("OFPortModVer10(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("hwAddr=").append(hwAddr);
        b.append(", ");
        b.append("config=").append(config);
        b.append(", ");
        b.append("mask=").append(mask);
        b.append(", ");
        b.append("advertise=").append(advertise);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFActionGroupVer11.java161
org/projectfloodlight/openflow/protocol/ver12/OFActionGroupVer12.java161
org/projectfloodlight/openflow/protocol/ver13/OFActionGroupVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFActionGroupVer14.java161
            return new OFActionGroupVer11(
                    group
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFActionGroup> {
        @Override
        public OFActionGroup readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 22
            short type = bb.readShort();
            if(type != (short) 0x16)
                throw new OFParseError("Wrong type: Expected=OFActionType.GROUP(22), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            OFGroup group = OFGroup.read4Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java853
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java853
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java897
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java868
            bb.writeByte((byte) 0x2);
            // fixed value property type = 14
            bb.writeByte((byte) 0xe);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            bb.writeInt(U32.t(message.xid));
            bb.writeLong(message.cookie.getValue());
            bb.writeLong(message.cookieMask.getValue());
            message.tableId.writeByte(bb);
            // fixed value property command = 0
            bb.writeByte((short) 0x0);
            bb.writeShort(U16.t(message.idleTimeout));
            bb.writeShort(U16.t(message.hardTimeout));
            bb.writeShort(U16.t(message.priority));
            bb.writeInt(message.bufferId.getInt());
            message.outPort.write4Bytes(bb);
            message.outGroup.write4Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java853
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java853
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java893
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java868
            bb.writeByte((byte) 0x2);
            // fixed value property type = 14
            bb.writeByte((byte) 0xe);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            bb.writeInt(U32.t(message.xid));
            bb.writeLong(message.cookie.getValue());
            bb.writeLong(message.cookieMask.getValue());
            message.tableId.writeByte(bb);
            // fixed value property command = 4
            bb.writeByte((short) 0x4);
            bb.writeShort(U16.t(message.idleTimeout));
            bb.writeShort(U16.t(message.hardTimeout));
            bb.writeShort(U16.t(message.priority));
            bb.writeInt(message.bufferId.getInt());
            message.outPort.write4Bytes(bb);
            message.outGroup.write4Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java853
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java853
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java892
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java868
            bb.writeByte((byte) 0x2);
            // fixed value property type = 14
            bb.writeByte((byte) 0xe);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            bb.writeInt(U32.t(message.xid));
            bb.writeLong(message.cookie.getValue());
            bb.writeLong(message.cookieMask.getValue());
            message.tableId.writeByte(bb);
            // fixed value property command = 3
            bb.writeByte((short) 0x3);
            bb.writeShort(U16.t(message.idleTimeout));
            bb.writeShort(U16.t(message.hardTimeout));
            bb.writeShort(U16.t(message.priority));
            bb.writeInt(message.bufferId.getInt());
            message.outPort.write4Bytes(bb);
            message.outGroup.write4Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java853
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java853
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java893
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java868
            bb.writeByte((byte) 0x2);
            // fixed value property type = 14
            bb.writeByte((byte) 0xe);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            bb.writeInt(U32.t(message.xid));
            bb.writeLong(message.cookie.getValue());
            bb.writeLong(message.cookieMask.getValue());
            message.tableId.writeByte(bb);
            // fixed value property command = 2
            bb.writeByte((short) 0x2);
            bb.writeShort(U16.t(message.idleTimeout));
            bb.writeShort(U16.t(message.hardTimeout));
            bb.writeShort(U16.t(message.priority));
            bb.writeInt(message.bufferId.getInt());
            message.outPort.write4Bytes(bb);
            message.outGroup.write4Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java853
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java853
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java891
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java868
            bb.writeByte((byte) 0x2);
            // fixed value property type = 14
            bb.writeByte((byte) 0xe);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            bb.writeInt(U32.t(message.xid));
            bb.writeLong(message.cookie.getValue());
            bb.writeLong(message.cookieMask.getValue());
            message.tableId.writeByte(bb);
            // fixed value property command = 1
            bb.writeByte((short) 0x1);
            bb.writeShort(U16.t(message.idleTimeout));
            bb.writeShort(U16.t(message.hardTimeout));
            bb.writeShort(U16.t(message.priority));
            bb.writeInt(message.bufferId.getInt());
            message.outPort.write4Bytes(bb);
            message.outGroup.write4Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java730
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java730
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java730
org/projectfloodlight/openflow/protocol/ver14/OFPortDescPropEthernetVer14.java445
        b.append(", ");
        b.append("curr=").append(curr);
        b.append(", ");
        b.append("advertised=").append(advertised);
        b.append(", ");
        b.append("supported=").append(supported);
        b.append(", ");
        b.append("peer=").append(peer);
        b.append(", ");
        b.append("currSpeed=").append(currSpeed);
        b.append(", ");
        b.append("maxSpeed=").append(maxSpeed);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortFeaturesSerializerVer11.java104
org/projectfloodlight/openflow/protocol/ver12/OFPortFeaturesSerializerVer12.java104
org/projectfloodlight/openflow/protocol/ver13/OFPortFeaturesSerializerVer13.java107
org/projectfloodlight/openflow/protocol/ver14/OFPortFeaturesSerializerVer14.java107
            set.add(OFPortFeatures.PF_OTHER);
        return Collections.unmodifiableSet(set);
    }

    public static int toWireValue(Set<OFPortFeatures> set) {
        int wireValue = 0;

        for(OFPortFeatures e: set) {
            switch(e) {
                case PF_10MB_HD:
                    wireValue |= PF_10MB_HD_VAL;
                    break;
                case PF_10MB_FD:
                    wireValue |= PF_10MB_FD_VAL;
                    break;
                case PF_100MB_HD:
                    wireValue |= PF_100MB_HD_VAL;
                    break;
                case PF_100MB_FD:
                    wireValue |= PF_100MB_FD_VAL;
                    break;
                case PF_1GB_HD:
                    wireValue |= PF_1GB_HD_VAL;
                    break;
                case PF_1GB_FD:
                    wireValue |= PF_1GB_FD_VAL;
                    break;
                case PF_10GB_FD:
                    wireValue |= PF_10GB_FD_VAL;
                    break;
                case PF_COPPER:
                    wireValue |= PF_COPPER_VAL;
                    break;
                case PF_FIBER:
                    wireValue |= PF_FIBER_VAL;
                    break;
                case PF_AUTONEG:
                    wireValue |= PF_AUTONEG_VAL;
                    break;
                case PF_PAUSE:
                    wireValue |= PF_PAUSE_VAL;
                    break;
                case PF_PAUSE_ASYM:
                    wireValue |= PF_PAUSE_ASYM_VAL;
                    break;
                case PF_40GB_FD:
                    wireValue |= PF_40GB_FD_VAL;
                    break;
                case PF_100GB_FD:
                    wireValue |= PF_100GB_FD_VAL;
                    break;
                case PF_1TB_FD:
                    wireValue |= PF_1TB_FD_VAL;
                    break;
                case PF_OTHER:
                    wireValue |= PF_OTHER_VAL;
                    break;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnVer13.java35
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnVer14.java35
    public final static OFActionIdBsnVer13.Reader READER = new Reader();

    static class Reader implements OFMessageReader<OFActionIdBsn> {
        @Override
        public OFActionIdBsn readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            int subtype = bb.readInt();
            bb.readerIndex(start);
            switch(subtype) {
               case 0x4:
                   // discriminator value 0x4L=0x4L for class OFActionIdBsnChecksumVer13
                   return OFActionIdBsnChecksumVer13.READER.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvActorSystemMacVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvActorSystemMacVer14.java161
            return new OFBsnTlvActorSystemMacVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvActorSystemMac> {
        @Override
        public OFBsnTlvActorSystemMac readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x29
            short type = bb.readShort();
            if(type != (short) 0x29)
                throw new OFParseError("Wrong type: Expected=0x29(0x29), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 10)
                throw new OFParseError("Wrong length: Expected=10(10), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            MacAddress value = MacAddress.read6Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvEthDstVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvEthDstVer14.java161
            return new OFBsnTlvEthDstVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvEthDst> {
        @Override
        public OFBsnTlvEthDst readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x21
            short type = bb.readShort();
            if(type != (short) 0x21)
                throw new OFParseError("Wrong type: Expected=0x21(0x21), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 10)
                throw new OFParseError("Wrong length: Expected=10(10), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            MacAddress value = MacAddress.read6Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvEthSrcVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvEthSrcVer14.java161
            return new OFBsnTlvEthSrcVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvEthSrc> {
        @Override
        public OFBsnTlvEthSrc readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x20
            short type = bb.readShort();
            if(type != (short) 0x20)
                throw new OFParseError("Wrong type: Expected=0x20(0x20), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 10)
                throw new OFParseError("Wrong length: Expected=10(10), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            MacAddress value = MacAddress.read6Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvExternalGatewayIpVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvExternalGatewayIpVer14.java161
            return new OFBsnTlvExternalGatewayIpVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvExternalGatewayIp> {
        @Override
        public OFBsnTlvExternalGatewayIp readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x1a
            short type = bb.readShort();
            if(type != (short) 0x1a)
                throw new OFParseError("Wrong type: Expected=0x1a(0x1a), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            IPv4Address value = IPv4Address.read4Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvExternalGatewayMacVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvExternalGatewayMacVer14.java161
            return new OFBsnTlvExternalGatewayMacVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvExternalGatewayMac> {
        @Override
        public OFBsnTlvExternalGatewayMac readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x1d
            short type = bb.readShort();
            if(type != (short) 0x1d)
                throw new OFParseError("Wrong type: Expected=0x1d(0x1d), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 10)
                throw new OFParseError("Wrong length: Expected=10(10), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            MacAddress value = MacAddress.read6Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvExternalIpVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvExternalIpVer14.java161
            return new OFBsnTlvExternalIpVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvExternalIp> {
        @Override
        public OFBsnTlvExternalIp readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x17
            short type = bb.readShort();
            if(type != (short) 0x17)
                throw new OFParseError("Wrong type: Expected=0x17(0x17), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            IPv4Address value = IPv4Address.read4Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvExternalMacVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvExternalMacVer14.java161
            return new OFBsnTlvExternalMacVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvExternalMac> {
        @Override
        public OFBsnTlvExternalMac readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x18
            short type = bb.readShort();
            if(type != (short) 0x18)
                throw new OFParseError("Wrong type: Expected=0x18(0x18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 10)
                throw new OFParseError("Wrong length: Expected=10(10), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            MacAddress value = MacAddress.read6Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvExternalNetmaskVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvExternalNetmaskVer14.java161
            return new OFBsnTlvExternalNetmaskVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvExternalNetmask> {
        @Override
        public OFBsnTlvExternalNetmask readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x19
            short type = bb.readShort();
            if(type != (short) 0x19)
                throw new OFParseError("Wrong type: Expected=0x19(0x19), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            IPv4Address value = IPv4Address.read4Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvInternalGatewayMacVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvInternalGatewayMacVer14.java161
            return new OFBsnTlvInternalGatewayMacVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvInternalGatewayMac> {
        @Override
        public OFBsnTlvInternalGatewayMac readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x1c
            short type = bb.readShort();
            if(type != (short) 0x1c)
                throw new OFParseError("Wrong type: Expected=0x1c(0x1c), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 10)
                throw new OFParseError("Wrong length: Expected=10(10), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            MacAddress value = MacAddress.read6Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvInternalMacVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvInternalMacVer14.java161
            return new OFBsnTlvInternalMacVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvInternalMac> {
        @Override
        public OFBsnTlvInternalMac readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x1b
            short type = bb.readShort();
            if(type != (short) 0x1b)
                throw new OFParseError("Wrong type: Expected=0x1b(0x1b), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 10)
                throw new OFParseError("Wrong length: Expected=10(10), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            MacAddress value = MacAddress.read6Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvIpv4DstVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvIpv4DstVer14.java161
            return new OFBsnTlvIpv4DstVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvIpv4Dst> {
        @Override
        public OFBsnTlvIpv4Dst readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x23
            short type = bb.readShort();
            if(type != (short) 0x23)
                throw new OFParseError("Wrong type: Expected=0x23(0x23), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            IPv4Address value = IPv4Address.read4Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvIpv4NetmaskVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvIpv4NetmaskVer14.java161
            return new OFBsnTlvIpv4NetmaskVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvIpv4Netmask> {
        @Override
        public OFBsnTlvIpv4Netmask readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x3c
            short type = bb.readShort();
            if(type != (short) 0x3c)
                throw new OFParseError("Wrong type: Expected=0x3c(0x3c), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            IPv4Address value = IPv4Address.read4Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvIpv4SrcVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvIpv4SrcVer14.java161
            return new OFBsnTlvIpv4SrcVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvIpv4Src> {
        @Override
        public OFBsnTlvIpv4Src readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x22
            short type = bb.readShort();
            if(type != (short) 0x22)
                throw new OFParseError("Wrong type: Expected=0x22(0x22), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            IPv4Address value = IPv4Address.read4Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvIpv4Ver13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvIpv4Ver14.java161
            return new OFBsnTlvIpv4Ver13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvIpv4> {
        @Override
        public OFBsnTlvIpv4 readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x4
            short type = bb.readShort();
            if(type != (short) 0x4)
                throw new OFParseError("Wrong type: Expected=0x4(0x4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            IPv4Address value = IPv4Address.read4Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvMacMaskVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvMacMaskVer14.java161
            return new OFBsnTlvMacMaskVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvMacMask> {
        @Override
        public OFBsnTlvMacMask readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x38
            short type = bb.readShort();
            if(type != (short) 0x38)
                throw new OFParseError("Wrong type: Expected=0x38(0x38), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 10)
                throw new OFParseError("Wrong length: Expected=10(10), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            MacAddress value = MacAddress.read6Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvMacVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvMacVer14.java161
            return new OFBsnTlvMacVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvMac> {
        @Override
        public OFBsnTlvMac readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x1
            short type = bb.readShort();
            if(type != (short) 0x1)
                throw new OFParseError("Wrong type: Expected=0x1(0x1), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 10)
                throw new OFParseError("Wrong length: Expected=10(10), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            MacAddress value = MacAddress.read6Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvPartnerSystemMacVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvPartnerSystemMacVer14.java161
            return new OFBsnTlvPartnerSystemMacVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvPartnerSystemMac> {
        @Override
        public OFBsnTlvPartnerSystemMac readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x30
            short type = bb.readShort();
            if(type != (short) 0x30)
                throw new OFParseError("Wrong type: Expected=0x30(0x30), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 10)
                throw new OFParseError("Wrong length: Expected=10(10), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            MacAddress value = MacAddress.read6Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvPortVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvPortVer14.java161
            return new OFBsnTlvPortVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvPort> {
        @Override
        public OFBsnTlvPort readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x0
            short type = bb.readShort();
            if(type != (short) 0x0)
                throw new OFParseError("Wrong type: Expected=0x0(0x0), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            OFPort value = OFPort.read4Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvVlanVidVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvVlanVidVer14.java161
            return new OFBsnTlvVlanVidVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvVlanVid> {
        @Override
        public OFBsnTlvVlanVid readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x6
            short type = bb.readShort();
            if(type != (short) 0x6)
                throw new OFParseError("Wrong type: Expected=0x6(0x6), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 6)
                throw new OFParseError("Wrong length: Expected=6(6), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            VlanVid value = VlanVid.read2Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsEntryVer13.java462
org/projectfloodlight/openflow/protocol/ver14/OFPortDescVer14.java625
        StringBuilder b = new StringBuilder("OFCalientPortDescStatsEntryVer13(");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("hwAddr=").append(hwAddr);
        b.append(", ");
        b.append("name=").append(name);
        b.append(", ");
        b.append("config=").append(config);
        b.append(", ");
        b.append("state=").append(state);
        b.append(", ");
        b.append("properties=").append(properties);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnVer14.java34
    public final static OFInstructionBsnVer13.Reader READER = new Reader();

    static class Reader implements OFMessageReader<OFInstructionBsn> {
        @Override
        public OFInstructionBsn readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            int subtype = bb.readInt();
            bb.readerIndex(start);
            switch(subtype) {
               case 0x1:
                   // discriminator value 0x1L=0x1L for class OFInstructionBsnArpOffloadVer13
                   return OFInstructionBsnArpOffloadVer13.READER.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnVer14.java34
    public final static OFInstructionIdBsnVer13.Reader READER = new Reader();

    static class Reader implements OFMessageReader<OFInstructionIdBsn> {
        @Override
        public OFInstructionIdBsn readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            int subtype = bb.readInt();
            bb.readerIndex(start);
            switch(subtype) {
               case 0x1:
                   // discriminator value 0x1L=0x1L for class OFInstructionIdBsnArpOffloadVer13
                   return OFInstructionIdBsnArpOffloadVer13.READER.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesVer13.java481
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesVer14.java481
        public void write(ChannelBuffer bb, OFTableFeaturesVer13 message) {
            int startIndex = bb.writerIndex();
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            message.tableId.writeByte(bb);
            // pad: 5 bytes
            bb.writeZero(5);
            ChannelUtils.writeFixedLengthString(bb, message.name, 32);
            bb.writeLong(message.metadataMatch.getValue());
            bb.writeLong(message.metadataWrite.getValue());
            bb.writeInt(U32.t(message.config));
            bb.writeInt(U32.t(message.maxEntries));
            ChannelUtils.writeList(bb, message.properties);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFTableFeaturesVer13(");
FileLine
net/onrc/openvirtex/messages/ver10/OVXFlowAddVer10.java222
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteStrictVer10.java176
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteVer10.java176
net/onrc/openvirtex/messages/ver10/OVXFlowModifyStrictVer10.java176
net/onrc/openvirtex/messages/ver10/OVXFlowModifyVer10.java176
        this.bufferId=OFBufferId.of(bufferId);

        if (ovxInPort == null) {
            if (this.getMatch().isFullyWildcarded(MatchField.IN_PORT)) {
                /* expand match to all ports */
                for (OVXPort iport : sw.getPorts().values()) {
                    int wcard = ((OFMatchV1)this.match).getWildcards()
                            & (~OFMatchV1Ver10.OFPFW_IN_PORT);
                    
                    this.match=((OFMatchV1)this.match).createBuilder().setWildcards(wcard).build();
                    prepAndSendSouth(iport, pflag);
                }
            } else {
                this.log.error(
                        "Unknown virtual port id {}; dropping flowmod {}",
                        inport, this);
                sw.sendMsg(OVXMessageUtil.makeErrorMsg(
                        OFFlowModFailedCode.EPERM, this), sw);
                return;
            }
        } else {
            prepAndSendSouth(ovxInPort, pflag);
        }
    }

    private boolean isActionViolates(List<OFAction> origActions) {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsEntryVer10.java379
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java376
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java376
                    throw new NullPointerException("Property match must not be null");
                long durationSec = this.durationSecSet ? this.durationSec : parentMessage.durationSec;
                long durationNsec = this.durationNsecSet ? this.durationNsec : parentMessage.durationNsec;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                U64 packetCount = this.packetCountSet ? this.packetCount : parentMessage.packetCount;
                if(packetCount == null)
                    throw new NullPointerException("Property packetCount must not be null");
                U64 byteCount = this.byteCountSet ? this.byteCount : parentMessage.byteCount;
                if(byteCount == null)
                    throw new NullPointerException("Property byteCount must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java103
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java103
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java103
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java103
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java103
            throw new NullPointerException("OFFlowAddVer11: property instructions cannot be null");
        }
        this.xid = xid;
        this.cookie = cookie;
        this.cookieMask = cookieMask;
        this.tableId = tableId;
        this.idleTimeout = idleTimeout;
        this.hardTimeout = hardTimeout;
        this.priority = priority;
        this.bufferId = bufferId;
        this.outPort = outPort;
        this.outGroup = outGroup;
        this.flags = flags;
        this.match = match;
        this.instructions = instructions;
    }

    // Accessors for OF message fields
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.ADD;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java615
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java630
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java630
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java630
                throw new OFParseError("Wrong length: Expected=136(136), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            U64 cookie = U64.ofRaw(bb.readLong());
            int priority = U16.f(bb.readShort());
            short reason = U8.f(bb.readByte());
            TableId tableId = TableId.readByte(bb);
            long durationSec = U32.f(bb.readInt());
            long durationNsec = U32.f(bb.readInt());
            int idleTimeout = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsReplyVer11.java278
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsReplyVer12.java278
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsReplyVer13.java278
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsReplyVer14.java278
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 1
            short statsType = bb.readShort();
            if(statsType != (short) 0x1)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.FLOW(1), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsReplyVer11.java278
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsReplyVer12.java278
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsReplyVer13.java278
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsReplyVer14.java278
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 7
            short statsType = bb.readShort();
            if(statsType != (short) 0x7)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.GROUP_DESC(7), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsReplyVer11.java278
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsReplyVer12.java278
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsReplyVer13.java278
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsReplyVer14.java278
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 6
            short statsType = bb.readShort();
            if(statsType != (short) 0x6)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.GROUP(6), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsReplyVer11.java278
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsReplyVer12.java278
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsReplyVer13.java278
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsReplyVer14.java278
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 4
            short statsType = bb.readShort();
            if(statsType != (short) 0x4)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.PORT(4), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsReplyVer11.java278
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsReplyVer12.java278
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsReplyVer13.java278
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsReplyVer14.java278
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 5
            short statsType = bb.readShort();
            if(statsType != (short) 0x5)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.QUEUE(5), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsReplyVer11.java278
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsReplyVer12.java278
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsReplyVer13.java278
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsReplyVer14.java278
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 3
            short statsType = bb.readShort();
            if(statsType != (short) 0x3)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.TABLE(3), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java501
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java501
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java501
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 2
            short statsType = bb.readShort();
            if(statsType != (short) 0x2)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.AGGREGATE(2), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer12.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java103
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java103
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java103
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java103
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java103
            throw new NullPointerException("OFFlowAddVer12: property instructions cannot be null");
        }
        this.xid = xid;
        this.cookie = cookie;
        this.cookieMask = cookieMask;
        this.tableId = tableId;
        this.idleTimeout = idleTimeout;
        this.hardTimeout = hardTimeout;
        this.priority = priority;
        this.bufferId = bufferId;
        this.outPort = outPort;
        this.outGroup = outGroup;
        this.flags = flags;
        this.match = match;
        this.instructions = instructions;
    }

    // Accessors for OF message fields
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.ADD;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java501
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java501
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java501
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 1
            short statsType = bb.readShort();
            if(statsType != (short) 0x1)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.FLOW(1), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer12.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFTypeSerializerVer12.java130
org/projectfloodlight/openflow/protocol/ver13/OFTypeSerializerVer13.java142
                throw new IllegalArgumentException("Illegal wire value for type OFType in version 1.2: " + val);
        }
    }


    public static byte toWireValue(OFType e) {
        switch(e) {
            case HELLO:
                return HELLO_VAL;
            case ERROR:
                return ERROR_VAL;
            case ECHO_REQUEST:
                return ECHO_REQUEST_VAL;
            case ECHO_REPLY:
                return ECHO_REPLY_VAL;
            case EXPERIMENTER:
                return EXPERIMENTER_VAL;
            case FEATURES_REQUEST:
                return FEATURES_REQUEST_VAL;
            case FEATURES_REPLY:
                return FEATURES_REPLY_VAL;
            case GET_CONFIG_REQUEST:
                return GET_CONFIG_REQUEST_VAL;
            case GET_CONFIG_REPLY:
                return GET_CONFIG_REPLY_VAL;
            case SET_CONFIG:
                return SET_CONFIG_VAL;
            case PACKET_IN:
                return PACKET_IN_VAL;
            case FLOW_REMOVED:
                return FLOW_REMOVED_VAL;
            case PORT_STATUS:
                return PORT_STATUS_VAL;
            case PACKET_OUT:
                return PACKET_OUT_VAL;
            case FLOW_MOD:
                return FLOW_MOD_VAL;
            case GROUP_MOD:
                return GROUP_MOD_VAL;
            case PORT_MOD:
                return PORT_MOD_VAL;
            case TABLE_MOD:
                return TABLE_MOD_VAL;
            case STATS_REQUEST:
                return STATS_REQUEST_VAL;
            case STATS_REPLY:
                return STATS_REPLY_VAL;
            case BARRIER_REQUEST:
                return BARRIER_REQUEST_VAL;
            case BARRIER_REPLY:
                return BARRIER_REPLY_VAL;
            case QUEUE_GET_CONFIG_REQUEST:
                return QUEUE_GET_CONFIG_REQUEST_VAL;
            case QUEUE_GET_CONFIG_REPLY:
                return QUEUE_GET_CONFIG_REPLY_VAL;
            case ROLE_REQUEST:
                return ROLE_REQUEST_VAL;
            case ROLE_REPLY:
                return ROLE_REPLY_VAL;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsReplyVer13.java346
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsReplyVer13.java346
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsReplyVer14.java308
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsRequestVer13.java353
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsRequestVer13.java517
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsRequestVer14.java353
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsEntryVer13.java192
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsEntryVer14.java192
            return new OFBsnGentableEntryStatsEntryVer13(
                    key,
                    stats
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnGentableEntryStatsEntry> {
        @Override
        public OFBsnGentableEntryStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int keyLength = U16.f(bb.readShort());
            List<OFBsnTlv> key = ChannelUtils.readList(bb, keyLength, OFBsnTlvVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java37
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java37
    final static int LENGTH = 36;

        private final static OFPort DEFAULT_PORT_NO = OFPort.ANY;
        private final static int DEFAULT_ACTOR_SYS_PRIORITY = 0x0;
        private final static MacAddress DEFAULT_ACTOR_SYS_MAC = MacAddress.NONE;
        private final static int DEFAULT_ACTOR_PORT_PRIORITY = 0x0;
        private final static int DEFAULT_ACTOR_PORT_NUM = 0x0;
        private final static int DEFAULT_ACTOR_KEY = 0x0;
        private final static short DEFAULT_CONVERGENCE_STATUS = (short) 0x0;
        private final static int DEFAULT_PARTNER_SYS_PRIORITY = 0x0;
        private final static MacAddress DEFAULT_PARTNER_SYS_MAC = MacAddress.NONE;
        private final static int DEFAULT_PARTNER_PORT_PRIORITY = 0x0;
        private final static int DEFAULT_PARTNER_PORT_NUM = 0x0;
        private final static int DEFAULT_PARTNER_KEY = 0x0;

    // OF message fields
    private final OFPort portNo;
    private final int actorSysPriority;
    private final MacAddress actorSysMac;
    private final int actorPortPriority;
    private final int actorPortNum;
    private final int actorKey;
    private final short convergenceStatus;
    private final int partnerSysPriority;
    private final MacAddress partnerSysMac;
    private final int partnerPortPriority;
    private final int partnerPortNum;
    private final int partnerKey;
//
    // Immutable default instance
    final static OFBsnLacpStatsEntryVer13 DEFAULT = new OFBsnLacpStatsEntryVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java104
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java104
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java104
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java104
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java104
            throw new NullPointerException("OFFlowAddVer13: property instructions cannot be null");
        }
        this.xid = xid;
        this.cookie = cookie;
        this.cookieMask = cookieMask;
        this.tableId = tableId;
        this.idleTimeout = idleTimeout;
        this.hardTimeout = hardTimeout;
        this.priority = priority;
        this.bufferId = bufferId;
        this.outPort = outPort;
        this.outGroup = outGroup;
        this.flags = flags;
        this.match = match;
        this.instructions = instructions;
    }

    // Accessors for OF message fields
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.ADD;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsReplyVer13.java278
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsReplyVer14.java278
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 10
            short statsType = bb.readShort();
            if(statsType != (short) 0xa)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.METER_CONFIG(10), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsReplyVer13.java278
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsReplyVer14.java278
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 9
            short statsType = bb.readShort();
            if(statsType != (short) 0x9)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.METER(9), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsReplyVer13.java278
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsReplyVer14.java278
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 13
            short statsType = bb.readShort();
            if(statsType != (short) 0xd)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.PORT_DESC(13), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsReplyVer13.java279
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsReplyVer14.java278
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                //System.out.println("Buffer doesnt have all data..but continue");
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 12
            short statsType = bb.readShort();
            if(statsType != (short) 0xc)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.TABLE_FEATURES(12), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsRequestVer13.java278
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsRequestVer14.java278
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 12
            short statsType = bb.readShort();
            if(statsType != (short) 0xc)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.TABLE_FEATURES(12), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwClearDataReplyVer10.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableGetReplyVer11.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableSetRequestVer11.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetMirroringReplyVer11.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetMirroringRequestVer11.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetMirroringVer11.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionReplyVer11.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortRemoveReplyVer11.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortRemoveRequestVer11.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableGetReplyVer12.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableSetRequestVer12.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetMirroringReplyVer12.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetMirroringRequestVer12.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetMirroringVer12.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionReplyVer12.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortRemoveReplyVer12.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortRemoveRequestVer12.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableGetReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableSetRequestVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableGetReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableSetRequestVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetMirroringReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetMirroringRequestVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetAuxCxnsRequestVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetMirroringVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetSwitchPipelineReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortRemoveReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortRemoveRequestVer13.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableGetReplyVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableSetRequestVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableGetReplyVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableSetRequestVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetMirroringReplyVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetMirroringRequestVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetAuxCxnsRequestVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetMirroringVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionReplyVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetSwitchPipelineReplyVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortRemoveReplyVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortRemoveRequestVer14.java238
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x16L
            int subtype = bb.readInt();
            if(subtype != 0x16)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwClearDataRequestVer10.java200
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableGetRequestVer11.java200
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetInterfacesRequestVer11.java200
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableGetRequestVer12.java200
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetInterfacesRequestVer12.java200
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableGetRequestVer13.java200
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionsRequestVer13.java200
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableGetRequestVer13.java200
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetInterfacesRequestVer13.java200
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetSwitchPipelineRequestVer13.java200
org/projectfloodlight/openflow/protocol/ver13/OFBsnTimeRequestVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableGetRequestVer14.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionsRequestVer14.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableGetRequestVer14.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetInterfacesRequestVer14.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetSwitchPipelineRequestVer14.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnTimeRequestVer14.java200
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x15L
            int subtype = bb.readInt();
            if(subtype != 0x15)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableGetReplyVer10.java238
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableSetRequestVer10.java238
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetMirroringReplyVer10.java238
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetMirroringRequestVer10.java238
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetMirroringVer10.java238
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionReplyVer10.java238
org/projectfloodlight/openflow/protocol/ver10/OFBsnShellStatusVer10.java238
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortRemoveReplyVer10.java238
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortRemoveRequestVer10.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwClearDataReplyVer11.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwClearDataReplyVer12.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwClearDataReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwClearDataReplyVer14.java238
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x14L
            int subtype = bb.readInt();
            if(subtype != 0x14)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableGetRequestVer10.java200
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetInterfacesRequestVer10.java200
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetL2TableRequestVer10.java200
org/projectfloodlight/openflow/protocol/ver10/OFBsnHybridGetRequestVer10.java200
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwClearDataRequestVer11.java200
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwClearDataRequestVer12.java200
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwClearDataRequestVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwClearDataRequestVer14.java200
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x13L
            int subtype = bb.readInt();
            if(subtype != 0x13)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableSetReplyVer10.java276
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortCreateReplyVer11.java276
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortCreateReplyVer12.java276
org/projectfloodlight/openflow/protocol/ver13/OFBsnArpIdleVer13.java283
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableSetReplyVer13.java276
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableSetBucketsSizeVer13.java279
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetAuxCxnsReplyVer13.java276
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpReplyVer13.java283
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableSetBucketsSizeVer13.java283
org/projectfloodlight/openflow/protocol/ver13/OFBsnTimeReplyVer13.java245
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortCreateReplyVer13.java276
org/projectfloodlight/openflow/protocol/ver14/OFBsnArpIdleVer14.java283
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableSetReplyVer14.java276
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableSetBucketsSizeVer14.java279
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetAuxCxnsReplyVer14.java276
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpReplyVer14.java283
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableSetBucketsSizeVer14.java283
org/projectfloodlight/openflow/protocol/ver14/OFBsnTimeReplyVer14.java245
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortCreateReplyVer14.java276
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x17L
            int subtype = bb.readInt();
            if(subtype != 0x17)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetIpMaskReplyVer10.java276
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetIpMaskRequestVer10.java238
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetL2TableReplyVer10.java276
org/projectfloodlight/openflow/protocol/ver10/OFBsnHybridGetReplyVer10.java276
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetIpMaskVer10.java276
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetL2TableReplyVer10.java314
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetL2TableRequestVer10.java276
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortCreateReplyVer10.java276
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableSetReplyVer11.java276
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableSetReplyVer12.java276
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableSetReplyVer13.java276
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableSetReplyVer14.java276
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x2L
            int subtype = bb.readInt();
            if(subtype != 0x2)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionRequestVer10.java397
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionRequestVer11.java397
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionRequestVer12.java397
org/projectfloodlight/openflow/protocol/ver13/OFBsnRoleStatusVer13.java331
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionRequestVer14.java397
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 32)
                throw new OFParseError("Wrong length: Expected=32(32), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xbL
            int subtype = bb.readInt();
            if(subtype != 0xb)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPacketQueueVer10.java102
org/projectfloodlight/openflow/protocol/ver10/OFPacketQueueVer10.java163
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFPacketQueue.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public OFPort getPort()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property port not supported in version 1.0");
    }

    @Override
    public OFPacketQueue.Builder setPort(OFPort port) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property port not supported in version 1.0");
    }
    @Override
    public List<OFQueueProp> getProperties() {
        return properties;
    }

    @Override
    public OFPacketQueue.Builder setProperties(List<OFQueueProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }



        @Override
        public OFPacketQueue build() {
                long queueId = this.queueIdSet ? this.queueId : parentMessage.queueId;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFStatsTypeSerializerVer10.java38
org/projectfloodlight/openflow/protocol/ver11/OFStatsTypeSerializerVer11.java40
org/projectfloodlight/openflow/protocol/ver12/OFStatsTypeSerializerVer12.java41
org/projectfloodlight/openflow/protocol/ver13/OFStatsTypeSerializerVer13.java46
org/projectfloodlight/openflow/protocol/ver14/OFStatsTypeSerializerVer14.java49
    public final static short EXPERIMENTER_VAL = (short) 0xffff;

    public static OFStatsType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFStatsType e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFStatsType e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFStatsType ofWireValue(short val) {
        switch(val) {
            case DESC_VAL:
                return OFStatsType.DESC;
            case FLOW_VAL:
                return OFStatsType.FLOW;
            case AGGREGATE_VAL:
                return OFStatsType.AGGREGATE;
            case TABLE_VAL:
                return OFStatsType.TABLE;
            case PORT_VAL:
                return OFStatsType.PORT;
            case QUEUE_VAL:
                return OFStatsType.QUEUE;
            case EXPERIMENTER_VAL:
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxReplyVer11.java321
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxReplyVer12.java321
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxReplyVer13.java321
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxReplyVer14.java321
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 25)
                throw new OFParseError("Wrong length: Expected=25(25), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x22L
            int subtype = bb.readInt();
            if(subtype != 0x22)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxReplyVer11.java321
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxReplyVer12.java321
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxReplyVer13.java321
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxReplyVer14.java321
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 25)
                throw new OFParseError("Wrong length: Expected=25(25), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x20L
            int subtype = bb.readInt();
            if(subtype != 0x20)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPacketQueueVer11.java102
org/projectfloodlight/openflow/protocol/ver11/OFPacketQueueVer11.java163
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFPacketQueue.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public OFPort getPort()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property port not supported in version 1.1");
    }

    @Override
    public OFPacketQueue.Builder setPort(OFPort port) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property port not supported in version 1.1");
    }
    @Override
    public List<OFQueueProp> getProperties() {
        return properties;
    }

    @Override
    public OFPacketQueue.Builder setProperties(List<OFQueueProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }



        @Override
        public OFPacketQueue build() {
                long queueId = this.queueIdSet ? this.queueId : parentMessage.queueId;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnChecksumVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnGentableVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnMirrorVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnSetTunnelDstVer13.java84
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnChecksumVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnGentableVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnMirrorVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnSetTunnelDstVer14.java84
        public OFActionIdBsnChecksum readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x4L
            int subtype = bb.readInt();
            if(subtype != 0x4)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearRequestVer13.java331
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java677
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 52)
                throw new OFParseError("Wrong length: Expected=52(52), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x30L
            int subtype = bb.readInt();
            if(subtype != 0x30)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearRequestVer13.java454
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsRequestVer13.java539
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsRequestVer13.java539
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearRequestVer14.java454
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsRequestVer14.java539
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsRequestVer14.java539
        if( xid != other.xid)
            return false;
        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if (checksum == null) {
            if (other.checksum != null)
                return false;
        } else if (!checksum.equals(other.checksum))
            return false;
        if (checksumMask == null) {
            if (other.checksumMask != null)
                return false;
        } else if (!checksumMask.equals(other.checksumMask))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetSwitchPipelineReplyVer13.java245
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetSwitchPipelineRequestVer14.java245
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 272)
                throw new OFParseError("Wrong length: Expected=272(272), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x34L
            int subtype = bb.readInt();
            if(subtype != 0x34)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java677
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearRequestVer14.java331
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 52)
                throw new OFParseError("Wrong length: Expected=52(52), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x2bL
            int subtype = bb.readInt();
            if(subtype != 0x2b)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpRequestVer13.java85
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpRequestVer14.java85
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x29L;
    }

    @Override
    public short getEnabled() {
        return enabled;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public int getActorSysPriority() {
        return actorSysPriority;
    }

    @Override
    public MacAddress getActorSysMac() {
        return actorSysMac;
    }

    @Override
    public int getActorPortPriority() {
        return actorPortPriority;
    }

    @Override
    public int getActorPortNum() {
        return actorPortNum;
    }

    @Override
    public int getActorKey() {
        return actorKey;
    }



    public OFBsnSetLacpRequest.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnSetLacpRequest.Builder {
        final OFBsnSetLacpRequestVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetSwitchPipelineRequestVer13.java245
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetSwitchPipelineReplyVer14.java245
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 272)
                throw new OFParseError("Wrong length: Expected=272(272), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x35L
            int subtype = bb.readInt();
            if(subtype != 0x35)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnArpOffloadVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnAutoNegotiationVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnDenyVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnDhcpOffloadVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnDisableL3Ver13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnDisableSplitHorizonCheckVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnDisableSrcMacCheckVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnDisableVlanCountersVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnInternalPriorityVer13.java195
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnPacketOfDeathVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnPermitVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnPrioritizePdusVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnRequireVlanXlateVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnSpanDestinationVer13.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnArpOffloadVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnAutoNegotiationVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnDenyVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnDhcpOffloadVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnDisableL3Ver14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnDisableSrcMacCheckVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnDisableVlanCountersVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnInternalPriorityVer14.java195
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnPacketOfDeathVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnPermitVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnPrioritizePdusVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnRequireVlanXlateVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnSpanDestinationVer14.java83
        public OFInstructionBsnArpOffload readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x1L
            int subtype = bb.readInt();
            if(subtype != 0x1)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnArpOffloadVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnAutoNegotiationVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnDenyVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnDhcpOffloadVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnDisableL3Ver13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnDisableSplitHorizonCheckVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnDisableSrcMacCheckVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnDisableVlanCountersVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnInternalPriorityVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnPacketOfDeathVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnPermitVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnPrioritizePdusVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnRequireVlanXlateVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnSpanDestinationVer13.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnArpOffloadVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnAutoNegotiationVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnDenyVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnDhcpOffloadVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnDisableL3Ver14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnDisableSrcMacCheckVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnDisableVlanCountersVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnInternalPriorityVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnPacketOfDeathVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnPermitVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnPrioritizePdusVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnRequireVlanXlateVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnSpanDestinationVer14.java83
        public OFInstructionIdBsnArpOffload readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x1L
            int subtype = bb.readInt();
            if(subtype != 0x1)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsVer13.java233
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsVer14.java233
    }



        @Override
        public OFMeterStats build() {
                long meterId = this.meterIdSet ? this.meterId : parentMessage.meterId;
                long flowCount = this.flowCountSet ? this.flowCount : parentMessage.flowCount;
                U64 packetInCount = this.packetInCountSet ? this.packetInCount : parentMessage.packetInCount;
                if(packetInCount == null)
                    throw new NullPointerException("Property packetInCount must not be null");
                U64 byteInCount = this.byteInCountSet ? this.byteInCount : parentMessage.byteInCount;
                if(byteInCount == null)
                    throw new NullPointerException("Property byteInCount must not be null");
                long durationSec = this.durationSecSet ? this.durationSec : parentMessage.durationSec;
                long durationNsec = this.durationNsecSet ? this.durationNsec : parentMessage.durationNsec;
                List<OFMeterBandStats> bandStats = this.bandStatsSet ? this.bandStats : parentMessage.bandStats;
                if(bandStats == null)
                    throw new NullPointerException("Property bandStats must not be null");

                //
                return new OFMeterStatsVer13(
FileLine
net/onrc/openvirtex/messages/ver10/OVXPacketInVer10.java195
net/onrc/openvirtex/messages/ver13/OVXPacketInVer13.java197
                    link = map.getVirtualSwitch(sw, lUtils.getTenantId())
                            .getMap().getVirtualNetwork(lUtils.getTenantId())
                            .getLink(dstPort, srcPort);
                } catch (SwitchMappingException | NetworkMappingException e) {
                    return; // same as (link == null)
                }
                this.ovxPort = this.port.getOVXPort(lUtils.getTenantId(),
                        link.getLinkId());
                OVXLinkField linkField = OpenVirteXController.getInstance()
                        .getOvxLinkField();
                // TODO: Need to check that the values in linkId and flowId
                // don't exceed their space
                if (linkField == OVXLinkField.MAC_ADDRESS) {
                    try {
                        LinkedList<MACAddress> macList = sw.getMap()
                                .getVirtualNetwork(this.ovxPort.getTenantId())
                                .getFlowManager()
                                .getFlowValues(lUtils.getFlowId());
                        eth.setSourceMACAddress(macList.get(0).toBytes())
                                .setDestinationMACAddress(
                                        macList.get(1).toBytes());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsEntryVer10.java758
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java756
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java756
        b.append("match=").append(match);
        b.append(", ");
        b.append("durationSec=").append(durationSec);
        b.append(", ");
        b.append("durationNsec=").append(durationNsec);
        b.append(", ");
        b.append("priority=").append(priority);
        b.append(", ");
        b.append("idleTimeout=").append(idleTimeout);
        b.append(", ");
        b.append("hardTimeout=").append(hardTimeout);
        b.append(", ");
        b.append("cookie=").append(cookie);
        b.append(", ");
        b.append("packetCount=").append(packetCount);
        b.append(", ");
        b.append("byteCount=").append(byteCount);
        b.append(", ");
        b.append("actions=").append(actions);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFGetConfigReplyVer10.java114
org/projectfloodlight/openflow/protocol/ver11/OFGetConfigReplyVer11.java186
org/projectfloodlight/openflow/protocol/ver12/OFGetConfigReplyVer12.java186
org/projectfloodlight/openflow/protocol/ver13/OFGetConfigReplyVer13.java186
org/projectfloodlight/openflow/protocol/ver14/OFGetConfigReplyVer14.java186
    }

    @Override
    public OFType getType() {
        return OFType.GET_CONFIG_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGetConfigReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public Set<OFConfigFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGetConfigReply.Builder setFlags(Set<OFConfigFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public int getMissSendLen() {
        return missSendLen;
    }

    @Override
    public OFGetConfigReply.Builder setMissSendLen(int missSendLen) {
        this.missSendLen = missSendLen;
        this.missSendLenSet = true;
        return this;
    }


        @Override
        public OFGetConfigReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFGetConfigReplyVer10.java186
org/projectfloodlight/openflow/protocol/ver11/OFGetConfigReplyVer11.java114
org/projectfloodlight/openflow/protocol/ver12/OFGetConfigReplyVer12.java114
org/projectfloodlight/openflow/protocol/ver13/OFGetConfigReplyVer13.java114
org/projectfloodlight/openflow/protocol/ver14/OFGetConfigReplyVer14.java114
    }

    @Override
    public OFType getType() {
        return OFType.GET_CONFIG_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGetConfigReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public Set<OFConfigFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGetConfigReply.Builder setFlags(Set<OFConfigFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public int getMissSendLen() {
        return missSendLen;
    }

    @Override
    public OFGetConfigReply.Builder setMissSendLen(int missSendLen) {
        this.missSendLen = missSendLen;
        this.missSendLenSet = true;
        return this;
    }
//
        @Override
        public OFGetConfigReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java863
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java863
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java863
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java901
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsEntryVer14.java848
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("rxPackets=").append(rxPackets);
        b.append(", ");
        b.append("txPackets=").append(txPackets);
        b.append(", ");
        b.append("rxBytes=").append(rxBytes);
        b.append(", ");
        b.append("txBytes=").append(txBytes);
        b.append(", ");
        b.append("rxDropped=").append(rxDropped);
        b.append(", ");
        b.append("txDropped=").append(txDropped);
        b.append(", ");
        b.append("rxErrors=").append(rxErrors);
        b.append(", ");
        b.append("txErrors=").append(txErrors);
        b.append(", ");
        b.append("rxFrameErr=").append(rxFrameErr);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueGetConfigReplyVer10.java118
org/projectfloodlight/openflow/protocol/ver11/OFQueueGetConfigReplyVer11.java192
org/projectfloodlight/openflow/protocol/ver12/OFQueueGetConfigReplyVer12.java192
org/projectfloodlight/openflow/protocol/ver13/OFQueueGetConfigReplyVer13.java192
    }

    @Override
    public OFType getType() {
        return OFType.QUEUE_GET_CONFIG_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueGetConfigReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFQueueGetConfigReply.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public List<OFPacketQueue> getQueues() {
        return queues;
    }

    @Override
    public OFQueueGetConfigReply.Builder setQueues(List<OFPacketQueue> queues) {
        this.queues = queues;
        this.queuesSet = true;
        return this;
    }


        @Override
        public OFQueueGetConfigReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueGetConfigReplyVer10.java192
org/projectfloodlight/openflow/protocol/ver11/OFQueueGetConfigReplyVer11.java118
org/projectfloodlight/openflow/protocol/ver12/OFQueueGetConfigReplyVer12.java118
org/projectfloodlight/openflow/protocol/ver13/OFQueueGetConfigReplyVer13.java118
    }

    @Override
    public OFType getType() {
        return OFType.QUEUE_GET_CONFIG_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueGetConfigReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFQueueGetConfigReply.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public List<OFPacketQueue> getQueues() {
        return queues;
    }

    @Override
    public OFQueueGetConfigReply.Builder setQueues(List<OFPacketQueue> queues) {
        this.queues = queues;
        this.queuesSet = true;
        return this;
    }
//
        @Override
        public OFQueueGetConfigReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFSetConfigVer10.java114
org/projectfloodlight/openflow/protocol/ver11/OFSetConfigVer11.java186
org/projectfloodlight/openflow/protocol/ver12/OFSetConfigVer12.java186
org/projectfloodlight/openflow/protocol/ver13/OFSetConfigVer13.java186
org/projectfloodlight/openflow/protocol/ver14/OFSetConfigVer14.java186
    }

    @Override
    public OFType getType() {
        return OFType.SET_CONFIG;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFSetConfig.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public Set<OFConfigFlags> getFlags() {
        return flags;
    }

    @Override
    public OFSetConfig.Builder setFlags(Set<OFConfigFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public int getMissSendLen() {
        return missSendLen;
    }

    @Override
    public OFSetConfig.Builder setMissSendLen(int missSendLen) {
        this.missSendLen = missSendLen;
        this.missSendLenSet = true;
        return this;
    }


        @Override
        public OFSetConfig build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFSetConfigVer10.java186
org/projectfloodlight/openflow/protocol/ver11/OFSetConfigVer11.java114
org/projectfloodlight/openflow/protocol/ver12/OFSetConfigVer12.java114
org/projectfloodlight/openflow/protocol/ver13/OFSetConfigVer13.java114
org/projectfloodlight/openflow/protocol/ver14/OFSetConfigVer14.java114
    }

    @Override
    public OFType getType() {
        return OFType.SET_CONFIG;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFSetConfig.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public Set<OFConfigFlags> getFlags() {
        return flags;
    }

    @Override
    public OFSetConfig.Builder setFlags(Set<OFConfigFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public int getMissSendLen() {
        return missSendLen;
    }

    @Override
    public OFSetConfig.Builder setMissSendLen(int missSendLen) {
        this.missSendLen = missSendLen;
        this.missSendLenSet = true;
        return this;
    }
//
        @Override
        public OFSetConfig build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPacketInVer12.java499
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java521
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java521
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 10
            byte type = bb.readByte();
            if(type != (byte) 0xa)
                throw new OFParseError("Wrong type: Expected=OFType.PACKET_IN(10), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            OFBufferId bufferId = OFBufferId.of(bb.readInt());
            int totalLen = U16.f(bb.readShort());
            OFPacketInReason reason = OFPacketInReasonSerializerVer12.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpRequestVer13.java571
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpRequestVer14.java571
            bb.writeByte((byte) 0x4);
            // fixed value property type = 4
            bb.writeByte((byte) 0x4);
            // fixed value property length = 38
            bb.writeShort((short) 0x26);
            bb.writeInt(U32.t(message.xid));
            // fixed value property experimenter = 0x5c16c7L
            bb.writeInt(0x5c16c7);
            // fixed value property subtype = 0x29L
            bb.writeInt(0x29);
            bb.writeByte(U8.t(message.enabled));
            // pad: 3 bytes
            bb.writeZero(3);
            message.portNo.write4Bytes(bb);
            bb.writeShort(U16.t(message.actorSysPriority));
            message.actorSysMac.write6Bytes(bb);
            bb.writeShort(U16.t(message.actorPortPriority));
            bb.writeShort(U16.t(message.actorPortNum));
            bb.writeShort(U16.t(message.actorKey));


        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFBsnSetLacpRequestVer13(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvActorStateVer13.java162
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvActorStateVer14.java162
            return new OFBsnTlvActorStateVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvActorState> {
        @Override
        public OFBsnTlvActorState readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x35
            short type = bb.readShort();
            if(type != (short) 0x35)
                throw new OFParseError("Wrong type: Expected=0x35(0x35), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 5)
                throw new OFParseError("Wrong length: Expected=5(5), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            Set<OFBsnLacpState> value = OFBsnLacpStateSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvPartnerStateVer13.java162
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvPartnerStateVer14.java162
            return new OFBsnTlvPartnerStateVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvPartnerState> {
        @Override
        public OFBsnTlvPartnerState readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x36
            short type = bb.readShort();
            if(type != (short) 0x36)
                throw new OFParseError("Wrong type: Expected=0x36(0x36), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 5)
                throw new OFParseError("Wrong length: Expected=5(5), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            Set<OFBsnLacpState> value = OFBsnLacpStateSerializerVer13.readFrom(bb);
FileLine
net/onrc/openvirtex/api/service/MonitoringService.java42
net/onrc/openvirtex/api/service/TenantService.java42
        this.dispatcher.register(new MonitoringHandler());
    }

    @Override
    public void handle(final HttpServletRequest request,
            final HttpServletResponse response) {
        JSONRPC2Request json = null;
        JSONRPC2Response jsonResp = null;
        try {
            json = this.parseJSONRequest(request);
            jsonResp = this.dispatcher.process(json, null);
            jsonResp.setID(json.getID());
        } catch (final IOException e) {
            jsonResp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.PARSE_ERROR.getCode(),
                    AbstractService.stack2string(e)), 0);
        } catch (final JSONRPC2ParseException e) {
            jsonResp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.PARSE_ERROR.getCode(),
                    AbstractService.stack2string(e)), 0);
        }
        try {
            this.writeJSONObject(response, jsonResp);
        } catch (final IOException e) {
FileLine
net/onrc/openvirtex/messages/ver10/OVXPortStatusVer10.java196
net/onrc/openvirtex/messages/ver13/OVXPortStatusVer13.java188
                            && ((OFPortStateSerializerVer10.toWireValue(plink.getSrcPort().getState()) & OFPortStateSerializerVer10.LINK_DOWN_VAL) == 0)) {
                        log.debug("enabling OVXLink mapped to port {}");
                        /*
                         * try to switch back to original path, if not just
                         * bring up and hope it's working
                         */
                        if (!vlink.tryRevert(plink)) {
                            vlink.getSrcPort().handlePortEnable(this);
                        }
                    }
                }
            }
        }
        if (map.hasSwitchRoutes(plink, tid)) {
            Set<SwitchRoute> routes = new HashSet<SwitchRoute>(
                    map.getSwitchRoutes(plink, tid));
            for (SwitchRoute route : routes) {
                /*
                 * try to recover, remove route if we fail, but don't send any
                 * stat up
                 */
                if ((isReason(OFPortReason.DELETE))
                        || (isReason(OFPortReason.MODIFY) & isState(OFPortState.LINK_DOWN))) {
                    if (!route.tryRecovery(plink)) {
                        route.getSrcPort().handleRouteDisable(this);
                    }
                }
            }
        }
    }

    public boolean isReason(OFPortReason reason) {
        return this.reason == reason;
FileLine
net/onrc/openvirtex/messages/ver13/OVXFlowAddVer13.java328
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteStrictVer13.java196
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteVer13.java199
net/onrc/openvirtex/messages/ver13/OVXFlowModifyStrictVer13.java197
net/onrc/openvirtex/messages/ver13/OVXFlowModifyVer13.java201
                        && (this.getMatch().get(MatchField.ETH_DST) != null || this.getMatch().get(MatchField.ETH_SRC) != null)) {
                    // rewrite the OFMatch with the values of the link
                    OVXPort dstPort = sw.getMap()
                            .getVirtualNetwork(sw.getTenantId())
                            .getNeighborPort(inPort);
                    OVXLink link = sw.getMap()
                            .getVirtualNetwork(sw.getTenantId())
                            .getLink(dstPort, inPort);
                    if (inPort != null && link != null) {
                        try {
                            Integer flowId = sw
                                    .getMap()
                                    .getVirtualNetwork(sw.getTenantId())
                                    .getFlowManager()
                                    .getFlowId(((OFMatchV3)this.match).get(MatchField.ETH_SRC).getBytes(),
                                            ((OFMatchV3)this.match).get(MatchField.ETH_DST).getBytes());
                            OVXLinkUtils lUtils = new OVXLinkUtils(
                                    sw.getTenantId(), link.getLinkId(), flowId);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBadActionErrorMsgVer10.java271
org/projectfloodlight/openflow/protocol/ver11/OFBadActionErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver12/OFBadActionErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver13/OFBadActionErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver14/OFBadActionErrorMsgVer14.java271
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 2
            short errType = bb.readShort();
            if(errType != (short) 0x2)
                throw new OFParseError("Wrong errType: Expected=OFErrorType.BAD_ACTION(2), got="+errType);
            OFBadActionCode code = OFBadActionCodeSerializerVer10.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBadRequestErrorMsgVer10.java271
org/projectfloodlight/openflow/protocol/ver11/OFBadRequestErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver12/OFBadRequestErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver13/OFBadRequestErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver14/OFBadRequestErrorMsgVer14.java271
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 1
            short errType = bb.readShort();
            if(errType != (short) 0x1)
                throw new OFParseError("Wrong errType: Expected=OFErrorType.BAD_REQUEST(1), got="+errType);
            OFBadRequestCode code = OFBadRequestCodeSerializerVer10.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwClearDataReplyVer10.java110
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwClearDataReplyVer11.java110
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwClearDataReplyVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwClearDataReplyVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwClearDataReplyVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwClearDataReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x16L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnBwClearDataReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnBwClearDataReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                long status = this.statusSet ? this.status : parentMessage.status;

                //
                return new OFBsnBwClearDataReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableGetReplyVer10.java110
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableGetReplyVer11.java110
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableGetReplyVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableGetReplyVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableGetReplyVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableGetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x14L;
    }

    @Override
    public long getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnBwEnableGetReply.Builder setEnabled(long enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableGetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                long enabled = this.enabledSet ? this.enabled : parentMessage.enabled;

                //
                return new OFBsnBwEnableGetReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableSetRequestVer10.java110
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableSetRequestVer11.java110
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableSetRequestVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableSetRequestVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableSetRequestVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableSetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x12L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnBwEnableSetRequest.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableSetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                long enable = this.enableSet ? this.enable : parentMessage.enable;

                //
                return new OFBsnBwEnableSetRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetMirroringReplyVer10.java110
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetMirroringReplyVer11.java110
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetMirroringReplyVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetMirroringReplyVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetMirroringReplyVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetMirroringReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnGetMirroringReply.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnGetMirroringReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                short reportMirrorPorts = this.reportMirrorPortsSet ? this.reportMirrorPorts : parentMessage.reportMirrorPorts;

                //
                return new OFBsnGetMirroringReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetMirroringRequestVer10.java110
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetMirroringRequestVer11.java110
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetMirroringRequestVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetMirroringRequestVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetMirroringRequestVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetMirroringRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnGetMirroringRequest.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnGetMirroringRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                short reportMirrorPorts = this.reportMirrorPortsSet ? this.reportMirrorPorts : parentMessage.reportMirrorPorts;

                //
                return new OFBsnGetMirroringRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetMirroringVer10.java110
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetMirroringVer11.java110
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetMirroringVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetMirroringVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetMirroringVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetMirroring.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnSetMirroring.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnSetMirroring build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                short reportMirrorPorts = this.reportMirrorPortsSet ? this.reportMirrorPorts : parentMessage.reportMirrorPorts;

                //
                return new OFBsnSetMirroringVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionReplyVer10.java110
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionReplyVer11.java110
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionReplyVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionReplyVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionReplyVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetPktinSuppressionReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x19L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetPktinSuppressionReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnSetPktinSuppressionReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                long status = this.statusSet ? this.status : parentMessage.status;

                //
                return new OFBsnSetPktinSuppressionReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortRemoveReplyVer10.java110
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortRemoveReplyVer11.java110
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortRemoveReplyVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortRemoveReplyVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortRemoveReplyVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortRemoveReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1aL;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnVirtualPortRemoveReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortRemoveReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                long status = this.statusSet ? this.status : parentMessage.status;

                //
                return new OFBsnVirtualPortRemoveReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortRemoveRequestVer10.java110
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortRemoveRequestVer11.java110
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortRemoveRequestVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortRemoveRequestVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortRemoveRequestVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortRemoveRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x11L;
    }

    @Override
    public long getVportNo() {
        return vportNo;
    }

    @Override
    public OFBsnVirtualPortRemoveRequest.Builder setVportNo(long vportNo) {
        this.vportNo = vportNo;
        this.vportNoSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortRemoveRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                long vportNo = this.vportNoSet ? this.vportNo : parentMessage.vportNo;

                //
                return new OFBsnVirtualPortRemoveRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportStatusSerializerVer10.java30
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportStatusSerializerVer11.java30
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportStatusSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportStatusSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportStatusSerializerVer14.java30
public class OFBsnVportStatusSerializerVer10 {

    public final static short BSN_VPORT_STATUS_OK_VAL = (short) 0x0;
    public final static short BSN_VPORT_STATUS_FAILED_VAL = (short) 0x1;

    public static OFBsnVportStatus readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(U8.f(bb.readByte()));
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBsnVportStatus e) {
        bb.writeByte(U8.t(toWireValue(e)));
    }

    public static void putTo(OFBsnVportStatus e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFBsnVportStatus ofWireValue(short val) {
        switch(val) {
            case BSN_VPORT_STATUS_OK_VAL:
                return OFBsnVportStatus.BSN_VPORT_STATUS_OK;
            case BSN_VPORT_STATUS_FAILED_VAL:
                return OFBsnVportStatus.BSN_VPORT_STATUS_FAILED;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFBsnVportStatus in version 1.0: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowAddVer10.java96
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteStrictVer10.java95
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteVer10.java95
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyStrictVer10.java95
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyVer10.java95
            throw new NullPointerException("OFFlowAddVer10: property actions cannot be null");
        }
        this.xid = xid;
        this.match = match;
        this.cookie = cookie;
        this.idleTimeout = idleTimeout;
        this.hardTimeout = hardTimeout;
        this.priority = priority;
        this.bufferId = bufferId;
        this.outPort = outPort;
        this.flags = flags;
        this.actions = actions;
    }

    // Accessors for OF message fields
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public U64 getCookieMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property cookieMask not supported in version 1.0");
    }

    @Override
    public TableId getTableId()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property tableId not supported in version 1.0");
    }

    @Override
    public OFFlowModCommand getCommand() {
        return OFFlowModCommand.ADD;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFHelloFailedErrorMsgVer10.java271
org/projectfloodlight/openflow/protocol/ver11/OFHelloFailedErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver12/OFHelloFailedErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver13/OFHelloFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver14/OFHelloFailedErrorMsgVer14.java271
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 0
            short errType = bb.readShort();
            if(errType != (short) 0x0)
                throw new OFParseError("Wrong errType: Expected=OFErrorType.HELLO_FAILED(0), got="+errType);
            OFHelloFailedCode code = OFHelloFailedCodeSerializerVer10.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBadInstructionErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver12/OFBadInstructionErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver13/OFBadInstructionErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver14/OFBadInstructionErrorMsgVer14.java271
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 3
            short errType = bb.readShort();
            if(errType != (short) 0x3)
                throw new OFParseError("Wrong errType: Expected=OFErrorType.BAD_INSTRUCTION(3), got="+errType);
            OFBadInstructionCode code = OFBadInstructionCodeSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBadMatchErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver12/OFBadMatchErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver13/OFBadMatchErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver14/OFBadMatchErrorMsgVer14.java271
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 4
            short errType = bb.readShort();
            if(errType != (short) 0x4)
                throw new OFParseError("Wrong errType: Expected=OFErrorType.BAD_MATCH(4), got="+errType);
            OFBadMatchCode code = OFBadMatchCodeSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModFailedErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver12/OFFlowModFailedErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver13/OFFlowModFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver14/OFFlowModFailedErrorMsgVer14.java271
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 5
            short errType = bb.readShort();
            if(errType != (short) 0x5)
                throw new OFParseError("Wrong errType: Expected=OFErrorType.FLOW_MOD_FAILED(5), got="+errType);
            OFFlowModFailedCode code = OFFlowModFailedCodeSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupAddVer11.java318
org/projectfloodlight/openflow/protocol/ver12/OFGroupAddVer12.java318
org/projectfloodlight/openflow/protocol/ver13/OFGroupAddVer13.java318
org/projectfloodlight/openflow/protocol/ver14/OFGroupAddVer14.java318
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 15
            byte type = bb.readByte();
            if(type != (byte) 0xf)
                throw new OFParseError("Wrong type: Expected=OFType.GROUP_MOD(15), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property command == 0
            short command = bb.readShort();
            if(command != (short) 0x0)
                throw new OFParseError("Wrong command: Expected=OFGroupModCommand.ADD(0), got="+command);
            OFGroupType groupType = OFGroupTypeSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDeleteVer11.java318
org/projectfloodlight/openflow/protocol/ver12/OFGroupDeleteVer12.java318
org/projectfloodlight/openflow/protocol/ver13/OFGroupDeleteVer13.java318
org/projectfloodlight/openflow/protocol/ver14/OFGroupDeleteVer14.java318
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 15
            byte type = bb.readByte();
            if(type != (byte) 0xf)
                throw new OFParseError("Wrong type: Expected=OFType.GROUP_MOD(15), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property command == 2
            short command = bb.readShort();
            if(command != (short) 0x2)
                throw new OFParseError("Wrong command: Expected=OFGroupModCommand.DELETE(2), got="+command);
            OFGroupType groupType = OFGroupTypeSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupModFailedErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver12/OFGroupModFailedErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver13/OFGroupModFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver14/OFGroupModFailedErrorMsgVer14.java271
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 6
            short errType = bb.readShort();
            if(errType != (short) 0x6)
                throw new OFParseError("Wrong errType: Expected=OFErrorType.GROUP_MOD_FAILED(6), got="+errType);
            OFGroupModFailedCode code = OFGroupModFailedCodeSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupModifyVer11.java318
org/projectfloodlight/openflow/protocol/ver12/OFGroupModifyVer12.java318
org/projectfloodlight/openflow/protocol/ver13/OFGroupModifyVer13.java318
org/projectfloodlight/openflow/protocol/ver14/OFGroupModifyVer14.java318
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 15
            byte type = bb.readByte();
            if(type != (byte) 0xf)
                throw new OFParseError("Wrong type: Expected=OFType.GROUP_MOD(15), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property command == 1
            short command = bb.readShort();
            if(command != (short) 0x1)
                throw new OFParseError("Wrong command: Expected=OFGroupModCommand.MODIFY(1), got="+command);
            OFGroupType groupType = OFGroupTypeSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortModFailedErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver12/OFPortModFailedErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver13/OFPortModFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver14/OFPortModFailedErrorMsgVer14.java271
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 7
            short errType = bb.readShort();
            if(errType != (short) 0x7)
                throw new OFParseError("Wrong errType: Expected=OFErrorType.PORT_MOD_FAILED(7), got="+errType);
            OFPortModFailedCode code = OFPortModFailedCodeSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFQueueOpFailedErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver12/OFQueueOpFailedErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver13/OFQueueOpFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver14/OFQueueOpFailedErrorMsgVer14.java271
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 9
            short errType = bb.readShort();
            if(errType != (short) 0x9)
                throw new OFParseError("Wrong errType: Expected=OFErrorType.QUEUE_OP_FAILED(9), got="+errType);
            OFQueueOpFailedCode code = OFQueueOpFailedCodeSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFSwitchConfigFailedErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver12/OFSwitchConfigFailedErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver13/OFSwitchConfigFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver14/OFSwitchConfigFailedErrorMsgVer14.java271
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 10
            short errType = bb.readShort();
            if(errType != (short) 0xa)
                throw new OFParseError("Wrong errType: Expected=OFErrorType.SWITCH_CONFIG_FAILED(10), got="+errType);
            OFSwitchConfigFailedCode code = OFSwitchConfigFailedCodeSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableModFailedErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver12/OFTableModFailedErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver13/OFTableModFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver14/OFTableModFailedErrorMsgVer14.java271
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 8
            short errType = bb.readShort();
            if(errType != (short) 0x8)
                throw new OFParseError("Wrong errType: Expected=OFErrorType.TABLE_MOD_FAILED(8), got="+errType);
            OFTableModFailedCode code = OFTableModFailedCodeSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPacketQueueVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFPacketQueueVer12.java179
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFPacketQueue.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFPacketQueue.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public List<OFQueueProp> getProperties() {
        return properties;
    }

    @Override
    public OFPacketQueue.Builder setProperties(List<OFQueueProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFPacketQueue build() {
                long queueId = this.queueIdSet ? this.queueId : parentMessage.queueId;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestFailedErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestFailedErrorMsgVer14.java271
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 11
            short errType = bb.readShort();
            if(errType != (short) 0xb)
                throw new OFParseError("Wrong errType: Expected=OFErrorType.ROLE_REQUEST_FAILED(11), got="+errType);
            OFRoleRequestFailedCode code = OFRoleRequestFailedCodeSerializerVer12.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsRequestVer14.java191
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xdL;
    }



        @Override
        public OFBsnDebugCounterDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsRequestVer13.java191
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsRequestVer14.java119
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xdL;
    }

//
        @Override
        public OFBsnDebugCounterDescStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsRequestVer14.java191
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xcL;
    }



        @Override
        public OFBsnDebugCounterStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsRequestVer13.java191
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsRequestVer14.java119
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnDebugCounterStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnDebugCounterStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xcL;
    }

//
        @Override
        public OFBsnDebugCounterStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableGetReplyVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableGetReplyVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdleEnableGetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x27L;
    }

    @Override
    public long getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnFlowIdleEnableGetReply.Builder setEnabled(long enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }


        @Override
        public OFBsnFlowIdleEnableGetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                long enabled = this.enabledSet ? this.enabled : parentMessage.enabled;

                //
                return new OFBsnFlowIdleEnableGetReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableSetRequestVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableSetRequestVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdleEnableSetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x24L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnFlowIdleEnableSetRequest.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }


        @Override
        public OFBsnFlowIdleEnableSetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                long enable = this.enableSet ? this.enable : parentMessage.enable;

                //
                return new OFBsnFlowIdleEnableSetRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsRequestVer14.java191
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }



        @Override
        public OFBsnGentableDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsRequestVer13.java191
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsRequestVer14.java119
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

//
        @Override
        public OFBsnGentableDescStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsRequestVer14.java191
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x7L;
    }



        @Override
        public OFBsnGentableStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsRequestVer13.java191
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsRequestVer14.java119
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGentableStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnGentableStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x7L;
    }

//
        @Override
        public OFBsnGentableStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsRequestVer14.java191
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnImageDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnImageDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xeL;
    }



        @Override
        public OFBsnImageDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsRequestVer13.java191
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsRequestVer14.java119
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnImageDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnImageDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xeL;
    }

//
        @Override
        public OFBsnImageDescStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsRequestVer14.java191
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLacpStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnLacpStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }



        @Override
        public OFBsnLacpStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsRequestVer13.java191
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsRequestVer14.java119
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLacpStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnLacpStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }

//
        @Override
        public OFBsnLacpStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetAuxCxnsRequestVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetAuxCxnsRequestVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetAuxCxnsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3aL;
    }

    @Override
    public long getNumAux() {
        return numAux;
    }

    @Override
    public OFBsnSetAuxCxnsRequest.Builder setNumAux(long numAux) {
        this.numAux = numAux;
        this.numAuxSet = true;
        return this;
    }


        @Override
        public OFBsnSetAuxCxnsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                long numAux = this.numAuxSet ? this.numAux : parentMessage.numAux;

                //
                return new OFBsnSetAuxCxnsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetSwitchPipelineReplyVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetSwitchPipelineReplyVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetSwitchPipelineReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x36L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetSwitchPipelineReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnSetSwitchPipelineReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                long status = this.statusSet ? this.status : parentMessage.status;

                //
                return new OFBsnSetSwitchPipelineReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsRequestVer14.java191
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSwitchPipelineStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnSwitchPipelineStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x6L;
    }



        @Override
        public OFBsnSwitchPipelineStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsRequestVer13.java191
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsRequestVer14.java119
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSwitchPipelineStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnSwitchPipelineStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x6L;
    }

//
        @Override
        public OFBsnSwitchPipelineStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsRequestVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsRequestVer14.java191
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTableChecksumStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnTableChecksumStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }



        @Override
        public OFBsnTableChecksumStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsRequestVer13.java191
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsRequestVer14.java119
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTableChecksumStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFBsnTableChecksumStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }

//
        @Override
        public OFBsnTableChecksumStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java369
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java369
    }

//
        @Override
        public OFGroupStatsEntry build() {
            OFGroup group = this.groupSet ? this.group : DEFAULT_GROUP_ID;
            if(group == null)
                throw new NullPointerException("Property group must not be null");
            long refCount = this.refCountSet ? this.refCount : DEFAULT_REF_COUNT;
            U64 packetCount = this.packetCountSet ? this.packetCount : DEFAULT_PACKET_COUNT;
            if(packetCount == null)
                throw new NullPointerException("Property packetCount must not be null");
            U64 byteCount = this.byteCountSet ? this.byteCount : DEFAULT_BYTE_COUNT;
            if(byteCount == null)
                throw new NullPointerException("Property byteCount must not be null");
            long durationSec = this.durationSecSet ? this.durationSec : DEFAULT_DURATION_SEC;
            long durationNsec = this.durationNsecSet ? this.durationNsec : DEFAULT_DURATION_NSEC;
            List<OFBucketCounter> bucketStats = this.bucketStatsSet ? this.bucketStats : DEFAULT_BUCKET_STATS;
            if(bucketStats == null)
                throw new NullPointerException("Property bucketStats must not be null");


            return new OFGroupStatsEntryVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigVer13.java107
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigVer13.java174
    @Override
    public int getFlags() {
        return flags;
    }

    @Override
    public OFMeterConfig.Builder setFlags(int flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterConfig.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }
    @Override
    public List<OFMeterBand> getEntries() {
        return entries;
    }

    @Override
    public OFMeterConfig.Builder setEntries(List<OFMeterBand> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFMeterConfig build() {
                int flags = this.flagsSet ? this.flags : parentMessage.flags;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterModFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver14/OFMeterModFailedErrorMsgVer14.java271
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 12
            short errType = bb.readShort();
            if(errType != (short) 0xc)
                throw new OFParseError("Wrong errType: Expected=OFErrorType.METER_MOD_FAILED(12), got="+errType);
            OFMeterModFailedCode code = OFMeterModFailedCodeSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPacketQueueVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFPacketQueueVer13.java179
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFPacketQueue.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFPacketQueue.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public List<OFQueueProp> getProperties() {
        return properties;
    }

    @Override
    public OFPacketQueue.Builder setProperties(List<OFQueueProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFPacketQueue build() {
                long queueId = this.queueIdSet ? this.queueId : parentMessage.queueId;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesFailedErrorMsgVer14.java271
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 13
            short errType = bb.readShort();
            if(errType != (short) 0xd)
                throw new OFParseError("Wrong errType: Expected=OFErrorType.TABLE_FEATURES_FAILED(13), got="+errType);
            OFTableFeaturesFailedCode code = OFTableFeaturesFailedCodeSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigVer14.java107
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigVer14.java174
    @Override
    public int getFlags() {
        return flags;
    }

    @Override
    public OFMeterConfig.Builder setFlags(int flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterConfig.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }
    @Override
    public List<OFMeterBand> getEntries() {
        return entries;
    }

    @Override
    public OFMeterConfig.Builder setEntries(List<OFMeterBand> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFMeterConfig build() {
                int flags = this.flagsSet ? this.flags : parentMessage.flags;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFPacketQueueVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFPacketQueueVer14.java179
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFPacketQueue.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFPacketQueue.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public List<OFQueueProp> getProperties() {
        return properties;
    }

    @Override
    public OFPacketQueue.Builder setProperties(List<OFQueueProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFPacketQueue build() {
                long queueId = this.queueIdSet ? this.queueId : parentMessage.queueId;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFQueueDescVer14.java107
org/projectfloodlight/openflow/protocol/ver14/OFQueueDescVer14.java174
    @Override
    public long getPortNo() {
        return portNo;
    }

    @Override
    public OFQueueDesc.Builder setPortNo(long portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFQueueDesc.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public List<OFQueueDescProp> getProperties() {
        return properties;
    }

    @Override
    public OFQueueDesc.Builder setProperties(List<OFQueueDescProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFQueueDesc build() {
                long portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
net/onrc/openvirtex/core/io/OVXMessageDecoder.java224
net/onrc/openvirtex/elements/datapath/OVXSwitch.java991
            else if(of_message_type.equals("OFFlowRemovedVer13"))
                ovxmessage=OVXFactoryInst.myOVXFactory.buildOVXFlowRemoved(((OFFlowRemoved)message).getXid(), ((OFFlowRemoved)message).getCookie(), ((OFFlowRemoved)message).getPriority(), ((OFFlowRemoved)message).getReason(), ((OFFlowRemoved)message).getTableId(), ((OFFlowRemoved)message).getDurationSec(), ((OFFlowRemoved)message).getDurationNsec(), ((OFFlowRemoved)message).getIdleTimeout(), ((OFFlowRemoved)message).getHardTimeout(),((OFFlowRemoved)message).getPacketCount(), ((OFFlowRemoved)message).getByteCount(), ((OFFlowRemoved)message).getMatch());
            else if(of_message_type.equals("OFGetConfigReplyVer13"))
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetInterfacesReplyVer10.java112
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetInterfacesReplyVer10.java179
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetInterfacesReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public List<OFBsnInterface> getInterfaces() {
        return interfaces;
    }

    @Override
    public OFBsnGetInterfacesReply.Builder setInterfaces(List<OFBsnInterface> interfaces) {
        this.interfaces = interfaces;
        this.interfacesSet = true;
        return this;
    }


        @Override
        public OFBsnGetInterfacesReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFeaturesReplyVer10.java624
org/projectfloodlight/openflow/protocol/ver11/OFFeaturesReplyVer11.java614
org/projectfloodlight/openflow/protocol/ver12/OFFeaturesReplyVer12.java614
        } else if (!actions.equals(other.actions))
            return false;
        if (ports == null) {
            if (other.ports != null)
                return false;
        } else if (!ports.equals(other.ports))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((datapathId == null) ? 0 : datapathId.hashCode());
        result = prime *  (int) (nBuffers ^ (nBuffers >>> 32));
        result = prime * result + nTables;
        result = prime * result + ((capabilities == null) ? 0 : capabilities.hashCode());
        result = prime * result + ((actions == null) ? 0 : actions.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java345
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java359
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java359
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java359
org/projectfloodlight/openflow/protocol/ver14/OFPortDescVer14.java316
    }



        @Override
        public OFPortDesc build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : parentMessage.hwAddr;
                if(hwAddr == null)
                    throw new NullPointerException("Property hwAddr must not be null");
                String name = this.nameSet ? this.name : parentMessage.name;
                if(name == null)
                    throw new NullPointerException("Property name must not be null");
                Set<OFPortConfig> config = this.configSet ? this.config : parentMessage.config;
                if(config == null)
                    throw new NullPointerException("Property config must not be null");
                Set<OFPortState> state = this.stateSet ? this.state : parentMessage.state;
                if(state == null)
                    throw new NullPointerException("Property state must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java842
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java878
            bb.writeZero(6);
            bb.writeLong(message.rxPackets.getValue());
            bb.writeLong(message.txPackets.getValue());
            bb.writeLong(message.rxBytes.getValue());
            bb.writeLong(message.txBytes.getValue());
            bb.writeLong(message.rxDropped.getValue());
            bb.writeLong(message.txDropped.getValue());
            bb.writeLong(message.rxErrors.getValue());
            bb.writeLong(message.txErrors.getValue());
            bb.writeLong(message.rxFrameErr.getValue());
            bb.writeLong(message.rxOverErr.getValue());
            bb.writeLong(message.rxCrcErr.getValue());
            bb.writeLong(message.collisions.getValue());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsReplyVer11.java359
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsReplyVer12.java359
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsReplyVer13.java359
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsReplyVer14.java359
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 40)
                throw new OFParseError("Wrong length: Expected=40(40), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 2
            short statsType = bb.readShort();
            if(statsType != (short) 0x2)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.AGGREGATE(2), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetInterfacesReplyVer11.java112
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetInterfacesReplyVer11.java179
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetInterfacesReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public List<OFBsnInterface> getInterfaces() {
        return interfaces;
    }

    @Override
    public OFBsnGetInterfacesReply.Builder setInterfaces(List<OFBsnInterface> interfaces) {
        this.interfaces = interfaces;
        this.interfacesSet = true;
        return this;
    }


        @Override
        public OFBsnGetInterfacesReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFDescStatsReplyVer11.java456
org/projectfloodlight/openflow/protocol/ver12/OFDescStatsReplyVer12.java456
org/projectfloodlight/openflow/protocol/ver13/OFDescStatsReplyVer13.java456
org/projectfloodlight/openflow/protocol/ver14/OFDescStatsReplyVer14.java456
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 1072)
                throw new OFParseError("Wrong length: Expected=1072(1072), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 0
            short statsType = bb.readShort();
            if(statsType != (short) 0x0)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.DESC(0), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFDescStatsRequestVer11.java231
org/projectfloodlight/openflow/protocol/ver12/OFDescStatsRequestVer12.java231
org/projectfloodlight/openflow/protocol/ver13/OFDescStatsRequestVer13.java231
org/projectfloodlight/openflow/protocol/ver14/OFDescStatsRequestVer14.java231
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 0
            short statsType = bb.readShort();
            if(statsType != (short) 0x0)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.DESC(0), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsRequestVer11.java231
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsRequestVer12.java231
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsRequestVer13.java231
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsRequestVer14.java231
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 7
            short statsType = bb.readShort();
            if(statsType != (short) 0x7)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.GROUP_DESC(7), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsRequestVer11.java276
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsRequestVer12.java276
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsRequestVer13.java276
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsRequestVer14.java276
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 6
            short statsType = bb.readShort();
            if(statsType != (short) 0x6)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.GROUP(6), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsRequestVer11.java276
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsRequestVer12.java276
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsRequestVer13.java276
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsRequestVer14.java276
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 4
            short statsType = bb.readShort();
            if(statsType != (short) 0x4)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.PORT(4), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsRequestVer11.java314
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsRequestVer12.java314
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsRequestVer13.java314
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsRequestVer14.java314
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 5
            short statsType = bb.readShort();
            if(statsType != (short) 0x5)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.QUEUE(5), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsRequestVer11.java231
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsRequestVer12.java231
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsRequestVer13.java231
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsRequestVer14.java231
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 3
            short statsType = bb.readShort();
            if(statsType != (short) 0x3)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.TABLE(3), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFActionTypeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFActionTypeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFActionTypeSerializerVer14.java30
public class OFActionTypeSerializerVer12 {

    public final static short OUTPUT_VAL = (short) 0x0;
    public final static short COPY_TTL_OUT_VAL = (short) 0xb;
    public final static short COPY_TTL_IN_VAL = (short) 0xc;
    public final static short SET_MPLS_TTL_VAL = (short) 0xf;
    public final static short DEC_MPLS_TTL_VAL = (short) 0x10;
    public final static short PUSH_VLAN_VAL = (short) 0x11;
    public final static short POP_VLAN_VAL = (short) 0x12;
    public final static short PUSH_MPLS_VAL = (short) 0x13;
    public final static short POP_MPLS_VAL = (short) 0x14;
    public final static short SET_QUEUE_VAL = (short) 0x15;
    public final static short GROUP_VAL = (short) 0x16;
    public final static short SET_NW_TTL_VAL = (short) 0x17;
    public final static short DEC_NW_TTL_VAL = (short) 0x18;
    public final static short SET_FIELD_VAL = (short) 0x19;
    public final static short EXPERIMENTER_VAL = (short) 0xffff;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetInterfacesReplyVer12.java112
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetInterfacesReplyVer12.java179
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetInterfacesReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public List<OFBsnInterface> getInterfaces() {
        return interfaces;
    }

    @Override
    public OFBsnGetInterfacesReply.Builder setInterfaces(List<OFBsnInterface> interfaces) {
        this.interfaces = interfaces;
        this.interfacesSet = true;
        return this;
    }


        @Override
        public OFBsnGetInterfacesReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsReplyVer12.java611
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsReplyVer13.java611
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsReplyVer14.java611
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 56)
                throw new OFParseError("Wrong length: Expected=56(56), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 8
            short statsType = bb.readShort();
            if(statsType != (short) 0x8)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.GROUP_FEATURES(8), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer12.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsRequestVer12.java231
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsRequestVer13.java231
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsRequestVer14.java231
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 8
            short statsType = bb.readShort();
            if(statsType != (short) 0x8)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.GROUP_FEATURES(8), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer12.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnGentableVer13.java112
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnGentableVer13.java179
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public long getTableId() {
        return tableId;
    }

    @Override
    public OFActionBsnGentable.Builder setTableId(long tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFActionBsnGentable.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFActionBsnGentable build() {
                long tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionsReplyVer13.java112
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionsReplyVer13.java179
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnControllerConnectionsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x39L;
    }

    @Override
    public List<OFBsnControllerConnection> getConnections() {
        return connections;
    }

    @Override
    public OFBsnControllerConnectionsReply.Builder setConnections(List<OFBsnControllerConnection> connections) {
        this.connections = connections;
        this.connectionsSet = true;
        return this;
    }


        @Override
        public OFBsnControllerConnectionsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortsRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsRequestVer14.java261
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsRequestVer14.java261
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsRequestVer14.java261
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsRequestVer14.java261
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsRequestVer14.java261
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsRequestVer14.java261
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsRequestVer14.java261
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsRequestVer14.java261
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsRequestVer13.java306
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsRequestVer14.java306
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 25)
                throw new OFParseError("Wrong length: Expected=25(25), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsRequestVer13.java302
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsRequestVer13.java299
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsRequestVer14.java302
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsRequestVer14.java299
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 26)
                throw new OFParseError("Wrong length: Expected=26(26), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsRequestVer13.java392
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsRequestVer13.java392
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsRequestVer14.java392
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsRequestVer14.java392
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 60)
                throw new OFParseError("Wrong length: Expected=60(60), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetInterfacesReplyVer13.java112
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetInterfacesReplyVer13.java179
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetInterfacesReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public List<OFBsnInterface> getInterfaces() {
        return interfaces;
    }

    @Override
    public OFBsnGetInterfacesReply.Builder setInterfaces(List<OFBsnInterface> interfaces) {
        this.interfaces = interfaces;
        this.interfacesSet = true;
        return this;
    }


        @Override
        public OFBsnGetInterfacesReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsReplyVer13.java351
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsReplyVer14.java351
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 536)
                throw new OFParseError("Wrong length: Expected=536(536), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsRequestVer13.java306
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsRequestVer13.java299
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsRequestVer14.java306
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsRequestVer14.java299
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 28)
                throw new OFParseError("Wrong length: Expected=28(28), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFErrorTypeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFErrorTypeSerializerVer14.java30
public class OFErrorTypeSerializerVer13 {

    public final static short HELLO_FAILED_VAL = (short) 0x0;
    public final static short BAD_REQUEST_VAL = (short) 0x1;
    public final static short BAD_ACTION_VAL = (short) 0x2;
    public final static short BAD_INSTRUCTION_VAL = (short) 0x3;
    public final static short BAD_MATCH_VAL = (short) 0x4;
    public final static short FLOW_MOD_FAILED_VAL = (short) 0x5;
    public final static short GROUP_MOD_FAILED_VAL = (short) 0x6;
    public final static short PORT_MOD_FAILED_VAL = (short) 0x7;
    public final static short TABLE_MOD_FAILED_VAL = (short) 0x8;
    public final static short QUEUE_OP_FAILED_VAL = (short) 0x9;
    public final static short SWITCH_CONFIG_FAILED_VAL = (short) 0xa;
    public final static short ROLE_REQUEST_FAILED_VAL = (short) 0xb;
    public final static short METER_MOD_FAILED_VAL = (short) 0xc;
    public final static short TABLE_FEATURES_FAILED_VAL = (short) 0xd;
    public final static short EXPERIMENTER_VAL = (short) 0xffff;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFHelloVer13.java105
org/projectfloodlight/openflow/protocol/ver14/OFHelloVer14.java105
    }

    @Override
    public OFType getType() {
        return OFType.HELLO;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFHello.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public List<OFHelloElem> getElements() {
        return elements;
    }

    @Override
    public OFHello.Builder setElements(List<OFHelloElem> elements) {
        this.elements = elements;
        this.elementsSet = true;
        return this;
    }


        @Override
        public OFHello build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                List<OFHelloElem> elements = this.elementsSet ? this.elements : parentMessage.elements;
                if(elements == null)
                    throw new NullPointerException("Property elements must not be null");

                //
                return new OFHelloVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsRequestVer13.java269
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsRequestVer14.java269
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 10
            short statsType = bb.readShort();
            if(statsType != (short) 0xa)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.METER_CONFIG(10), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesStatsReplyVer13.java272
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesStatsReplyVer14.java272
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 32)
                throw new OFParseError("Wrong length: Expected=32(32), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 11
            short statsType = bb.readShort();
            if(statsType != (short) 0xb)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.METER_FEATURES(11), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesStatsRequestVer13.java231
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesStatsRequestVer14.java231
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 11
            short statsType = bb.readShort();
            if(statsType != (short) 0xb)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.METER_FEATURES(11), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsRequestVer13.java269
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsRequestVer14.java269
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 9
            short statsType = bb.readShort();
            if(statsType != (short) 0x9)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.METER(9), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsRequestVer13.java231
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsRequestVer14.java231
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 13
            short statsType = bb.readShort();
            if(statsType != (short) 0xd)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.PORT_DESC(13), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFStatsTypeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFStatsTypeSerializerVer14.java30
public class OFStatsTypeSerializerVer13 {

    public final static short DESC_VAL = (short) 0x0;
    public final static short FLOW_VAL = (short) 0x1;
    public final static short AGGREGATE_VAL = (short) 0x2;
    public final static short TABLE_VAL = (short) 0x3;
    public final static short PORT_VAL = (short) 0x4;
    public final static short QUEUE_VAL = (short) 0x5;
    public final static short GROUP_VAL = (short) 0x6;
    public final static short GROUP_DESC_VAL = (short) 0x7;
    public final static short GROUP_FEATURES_VAL = (short) 0x8;
    public final static short METER_VAL = (short) 0x9;
    public final static short METER_CONFIG_VAL = (short) 0xa;
    public final static short METER_FEATURES_VAL = (short) 0xb;
    public final static short TABLE_FEATURES_VAL = (short) 0xc;
    public final static short PORT_DESC_VAL = (short) 0xd;
    public final static short EXPERIMENTER_VAL = (short) 0xffff;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropTypeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropTypeSerializerVer14.java30
public class OFTableFeaturePropTypeSerializerVer13 {

    public final static short INSTRUCTIONS_VAL = (short) 0x0;
    public final static short INSTRUCTIONS_MISS_VAL = (short) 0x1;
    public final static short NEXT_TABLES_VAL = (short) 0x2;
    public final static short NEXT_TABLES_MISS_VAL = (short) 0x3;
    public final static short WRITE_ACTIONS_VAL = (short) 0x4;
    public final static short WRITE_ACTIONS_MISS_VAL = (short) 0x5;
    public final static short APPLY_ACTIONS_VAL = (short) 0x6;
    public final static short APPLY_ACTIONS_MISS_VAL = (short) 0x7;
    public final static short MATCH_VAL = (short) 0x8;
    public final static short WILDCARDS_VAL = (short) 0xa;
    public final static short WRITE_SETFIELD_VAL = (short) 0xc;
    public final static short WRITE_SETFIELD_MISS_VAL = (short) 0xd;
    public final static short APPLY_SETFIELD_VAL = (short) 0xe;
    public final static short APPLY_SETFIELD_MISS_VAL = (short) 0xf;
    public final static short EXPERIMENTER_VAL = (short) 0xfffe;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnGentableVer14.java112
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnGentableVer14.java179
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public long getTableId() {
        return tableId;
    }

    @Override
    public OFActionBsnGentable.Builder setTableId(long tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFActionBsnGentable.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFActionBsnGentable build() {
                long tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionsReplyVer14.java112
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionsReplyVer14.java179
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnControllerConnectionsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x39L;
    }

    @Override
    public List<OFBsnControllerConnection> getConnections() {
        return connections;
    }

    @Override
    public OFBsnControllerConnectionsReply.Builder setConnections(List<OFBsnControllerConnection> connections) {
        this.connections = connections;
        this.connectionsSet = true;
        return this;
    }


        @Override
        public OFBsnControllerConnectionsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetInterfacesReplyVer14.java112
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetInterfacesReplyVer14.java179
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetInterfacesReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public List<OFBsnInterface> getInterfaces() {
        return interfaces;
    }

    @Override
    public OFBsnGetInterfacesReply.Builder setInterfaces(List<OFBsnInterface> interfaces) {
        this.interfaces = interfaces;
        this.interfacesSet = true;
        return this;
    }


        @Override
        public OFBsnGetInterfacesReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
net/onrc/openvirtex/messages/ver10/OVXFlowAddVer10.java110
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteStrictVer10.java103
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteVer10.java103
net/onrc/openvirtex/messages/ver10/OVXFlowModifyStrictVer10.java103
net/onrc/openvirtex/messages/ver10/OVXFlowModifyVer10.java103
    private List<OFAction> approvedActions = new LinkedList<OFAction>();

    private long ovxCookie = -1;

    @Override
    public void devirtualize(final OVXSwitch sw) {
        /* Drop LLDP-matching messages sent by some applications */
        if (((OFMatchV1)this.match).getEthType().getValue() == Ethernet.TYPE_LLDP) {
            return;
        }

        this.sw = sw;
        FlowTable ft = this.sw.getFlowTable();

        int bufferId = OFBufferId.NO_BUFFER.getInt();
        if (sw.getFromBufferMap(this.bufferId.getInt()) != null) {
            bufferId = sw.getFromBufferMap(this.bufferId.getInt()).getBufferId().getInt();
        }
        final short inport = ((OFMatchV1)this.getMatch()).getInPort().getShortPortNumber();
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFMatchV1Ver10.java2369
org/projectfloodlight/openflow/protocol/ver12/OFMatchV3Ver12.java631
org/projectfloodlight/openflow/protocol/ver13/OFMatchV3Ver13.java633
org/projectfloodlight/openflow/protocol/ver14/OFMatchV3Ver14.java631
        StringBuilder b = new StringBuilder("OFMatchV1Ver10(");
        boolean first = true;
        for(MatchField<?> field : getMatchFields()) {
            if(first)
                first = false;
            else
                b.append(", ");
            String name = field.getName();
            b.append(name).append('=').append(this.get(field));
            if(isPartiallyMasked(field)) {
                b.append('/').append(this.getMasked(field).getMask());
            }
        }
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPacketInVer10.java477
org/projectfloodlight/openflow/protocol/ver12/OFPacketInVer12.java499
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java521
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java521
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 10
            byte type = bb.readByte();
            if(type != (byte) 0xa)
                throw new OFParseError("Wrong type: Expected=OFType.PACKET_IN(10), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            OFBufferId bufferId = OFBufferId.of(bb.readInt());
            int totalLen = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java813
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java813
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java813
        public void funnel(OFPortStatsEntryVer10 message, PrimitiveSink sink) {
            message.portNo.putTo(sink);
            // skip pad (6 bytes)
            message.rxPackets.putTo(sink);
            message.txPackets.putTo(sink);
            message.rxBytes.putTo(sink);
            message.txBytes.putTo(sink);
            message.rxDropped.putTo(sink);
            message.txDropped.putTo(sink);
            message.rxErrors.putTo(sink);
            message.txErrors.putTo(sink);
            message.rxFrameErr.putTo(sink);
            message.rxOverErr.putTo(sink);
            message.rxCrcErr.putTo(sink);
            message.collisions.putTo(sink);
        }
    }


    public void writeTo(ChannelBuffer bb) {
        WRITER.write(bb, this);
    }

    final static Writer WRITER = new Writer();
    static class Writer implements OFMessageWriter<OFPortStatsEntryVer10> {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsEntryVer10.java485
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsEntryVer11.java480
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsEntryVer12.java480
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsEntryVer13.java522
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsEntryVer14.java576
        OFQueueStatsEntryVer10 other = (OFQueueStatsEntryVer10) obj;

        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if( queueId != other.queueId)
            return false;
        if (txBytes == null) {
            if (other.txBytes != null)
                return false;
        } else if (!txBytes.equals(other.txBytes))
            return false;
        if (txPackets == null) {
            if (other.txPackets != null)
                return false;
        } else if (!txPackets.equals(other.txPackets))
            return false;
        if (txErrors == null) {
            if (other.txErrors != null)
                return false;
        } else if (!txErrors.equals(other.txErrors))
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java154
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java154
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java154
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java154
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java154
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
    }

    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.1");
    }



    public OFFlowAdd.Builder createBuilder() {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModFailedCodeSerializerVer11.java40
org/projectfloodlight/openflow/protocol/ver12/OFFlowModFailedCodeSerializerVer12.java41
org/projectfloodlight/openflow/protocol/ver13/OFFlowModFailedCodeSerializerVer13.java41
org/projectfloodlight/openflow/protocol/ver14/OFFlowModFailedCodeSerializerVer14.java43
    public static OFFlowModFailedCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFFlowModFailedCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFFlowModFailedCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFFlowModFailedCode ofWireValue(short val) {
        switch(val) {
            case UNKNOWN_VAL:
                return OFFlowModFailedCode.UNKNOWN;
            case TABLE_FULL_VAL:
                return OFFlowModFailedCode.TABLE_FULL;
            case BAD_TABLE_ID_VAL:
                return OFFlowModFailedCode.BAD_TABLE_ID;
            case OVERLAP_VAL:
                return OFFlowModFailedCode.OVERLAP;
            case EPERM_VAL:
                return OFFlowModFailedCode.EPERM;
            case BAD_TIMEOUT_VAL:
                return OFFlowModFailedCode.BAD_TIMEOUT;
            case BAD_COMMAND_VAL:
                return OFFlowModFailedCode.BAD_COMMAND;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java154
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java154
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java154
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java154
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java154
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.2");
    }

    @Override
    public int getImportance()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property importance not supported in version 1.2");
    }



    public OFFlowAdd.Builder createBuilder() {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsEntryVer13.java148
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsEntryVer14.java148
            return new OFBsnGenericStatsEntryVer13(
                    tlvs
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnGenericStatsEntry> {
        @Override
        public OFBsnGenericStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<OFBsnTlv> tlvs = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFBsnTlvVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvUdfAnchorVer13.java157
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvUdfAnchorVer14.java157
            return new OFBsnTlvUdfAnchorVer13(
                    value
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnTlvUdfAnchor> {
        @Override
        public OFBsnTlvUdfAnchor readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x10
            short type = bb.readShort();
            if(type != (short) 0x10)
                throw new OFParseError("Wrong type: Expected=0x10(0x10), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 6)
                throw new OFParseError("Wrong length: Expected=6(6), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            OFBsnUdfAnchor value = OFBsnUdfAnchorSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesVer13.java387
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesVer14.java387
        OFMeterFeaturesVer13 other = (OFMeterFeaturesVer13) obj;

        if( maxMeter != other.maxMeter)
            return false;
        if( bandTypes != other.bandTypes)
            return false;
        if( capabilities != other.capabilities)
            return false;
        if( maxBands != other.maxBands)
            return false;
        if( maxColor != other.maxColor)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (maxMeter ^ (maxMeter >>> 32));
        result = prime *  (int) (bandTypes ^ (bandTypes >>> 32));
        result = prime *  (int) (capabilities ^ (capabilities >>> 32));
        result = prime * result + maxBands;
        result = prime * result + maxColor;
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnShellOutputVer10.java111
org/projectfloodlight/openflow/protocol/ver10/OFBsnShellOutputVer10.java178
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnShellOutput.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x7L;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnShellOutput.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnShellOutput build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreVer11.java733
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreVer12.java733
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreVer13.java733
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreVer14.java733
            OFBsnVportL2GreFlagsSerializerVer11.writeTo(bb, message.flags);
            message.portNo.write4Bytes(bb);
            message.loopbackPortNo.write4Bytes(bb);
            message.localMac.write6Bytes(bb);
            message.nhMac.write6Bytes(bb);
            message.srcIp.write4Bytes(bb);
            message.dstIp.write4Bytes(bb);
            bb.writeByte(U8.t(message.dscp));
            bb.writeByte(U8.t(message.ttl));
            // pad: 2 bytes
            bb.writeZero(2);
            bb.writeInt(U32.t(message.vpn));
            bb.writeInt(U32.t(message.rateLimit));
            ChannelUtils.writeFixedLengthString(bb, message.ifName, 16);


        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFBsnVportL2GreVer11(");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpOpVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpOpVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80002a02L;
    }

    @Override
    public ArpOpcode getValue() {
        return value;
    }

    @Override
    public OFOxmArpOp.Builder setValue(ArpOpcode value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ArpOpcode> getMatchField() {
        return MatchField.ARP_OP;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ArpOpcode> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public ArpOpcode getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmArpOp build() {
                ArpOpcode value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpShaVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpShaVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80003006L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpSha.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_SHA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmArpSha build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpSpaVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpSpaVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80002c04L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpSpa.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_SPA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public IPv4Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmArpSpa build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpThaVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpThaVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80003206L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpTha.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_THA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmArpTha build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpTpaVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpTpaVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80002e04L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpTpa.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_TPA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public IPv4Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmArpTpa build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnEgrPortGroupIdVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnEgrPortGroupIdVer12.java172
    @Override
    public long getTypeLen() {
        return 0x30e04L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnEgrPortGroupId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_EGR_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public ClassId getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnEgrPortGroupId build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnGlobalVrfAllowedVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnGlobalVrfAllowedVer12.java172
    @Override
    public long getTypeLen() {
        return 0x30601L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmBsnGlobalVrfAllowed.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.BSN_GLOBAL_VRF_ALLOWED;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFBooleanValue getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnGlobalVrfAllowed build() {
                OFBooleanValue value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts128Ver12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts128Ver12.java172
    @Override
    public long getTypeLen() {
        return 0x30010L;
    }

    @Override
    public OFBitMask128 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts128.Builder setValue(OFBitMask128 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask128> getMatchField() {
        return MatchField.BSN_IN_PORTS_128;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBitMask128> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFBitMask128 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnInPorts128 build() {
                OFBitMask128 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts512Ver12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts512Ver12.java172
    @Override
    public long getTypeLen() {
        return 0x32640L;
    }

    @Override
    public OFBitMask512 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts512.Builder setValue(OFBitMask512 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask512> getMatchField() {
        return MatchField.BSN_IN_PORTS_512;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBitMask512> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFBitMask512 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnInPorts512 build() {
                OFBitMask512 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnIngressPortGroupIdVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnIngressPortGroupIdVer12.java172
    @Override
    public long getTypeLen() {
        return 0x32804L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnIngressPortGroupId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_INGRESS_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public ClassId getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnIngressPortGroupId build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL2CacheHitVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL2CacheHitVer12.java172
    @Override
    public long getTypeLen() {
        return 0x32401L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL2CacheHit.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.BSN_L2_CACHE_HIT;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFBooleanValue getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnL2CacheHit build() {
                OFBooleanValue value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3DstClassIdVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3DstClassIdVer12.java172
    @Override
    public long getTypeLen() {
        return 0x30c04L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3DstClassId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_DST_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public ClassId getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnL3DstClassId build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3InterfaceClassIdVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3InterfaceClassIdVer12.java172
    @Override
    public long getTypeLen() {
        return 0x30804L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3InterfaceClassId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_INTERFACE_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public ClassId getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnL3InterfaceClassId build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3SrcClassIdVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3SrcClassIdVer12.java172
    @Override
    public long getTypeLen() {
        return 0x30a04L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3SrcClassId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_SRC_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public ClassId getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnL3SrcClassId build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnLagIdVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnLagIdVer12.java172
    @Override
    public long getTypeLen() {
        return 0x30204L;
    }

    @Override
    public LagId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnLagId.Builder setValue(LagId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<LagId> getMatchField() {
        return MatchField.BSN_LAG_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<LagId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public LagId getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnLagId build() {
                LagId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnTcpFlagsVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnTcpFlagsVer12.java172
    @Override
    public long getTypeLen() {
        return 0x32002L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnTcpFlags.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.BSN_TCP_FLAGS;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public U16 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnTcpFlags build() {
                U16 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf0Ver12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf0Ver12.java172
    @Override
    public long getTypeLen() {
        return 0x31004L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf0.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF0;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnUdf0 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf1Ver12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf1Ver12.java172
    @Override
    public long getTypeLen() {
        return 0x31204L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf1.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF1;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnUdf1 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf2Ver12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf2Ver12.java172
    @Override
    public long getTypeLen() {
        return 0x31404L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf2.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF2;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnUdf2 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf3Ver12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf3Ver12.java172
    @Override
    public long getTypeLen() {
        return 0x31604L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf3.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF3;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnUdf3 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf4Ver12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf4Ver12.java172
    @Override
    public long getTypeLen() {
        return 0x31804L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf4.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF4;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnUdf4 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf5Ver12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf5Ver12.java172
    @Override
    public long getTypeLen() {
        return 0x31a04L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf5.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF5;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnUdf5 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf6Ver12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf6Ver12.java172
    @Override
    public long getTypeLen() {
        return 0x31c04L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf6.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF6;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnUdf6 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf7Ver12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf7Ver12.java172
    @Override
    public long getTypeLen() {
        return 0x31e04L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf7.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF7;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnUdf7 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVlanXlatePortGroupIdVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVlanXlatePortGroupIdVer12.java172
    @Override
    public long getTypeLen() {
        return 0x32204L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVlanXlatePortGroupId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_VLAN_XLATE_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public ClassId getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnVlanXlatePortGroupId build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVrfVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVrfVer12.java172
    @Override
    public long getTypeLen() {
        return 0x30404L;
    }

    @Override
    public VRF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVrf.Builder setValue(VRF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<VRF> getMatchField() {
        return MatchField.BSN_VRF;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<VRF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public VRF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmBsnVrf build() {
                VRF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthDstVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthDstVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80000606L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthDst.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmEthDst build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthSrcVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthSrcVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80000806L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthSrc.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmEthSrc build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthTypeVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthTypeVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80000a02L;
    }

    @Override
    public EthType getValue() {
        return value;
    }

    @Override
    public OFOxmEthType.Builder setValue(EthType value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<EthType> getMatchField() {
        return MatchField.ETH_TYPE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<EthType> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public EthType getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmEthType build() {
                EthType value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4CodeVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4CodeVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80002801L;
    }

    @Override
    public ICMPv4Code getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4Code.Builder setValue(ICMPv4Code value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Code> getMatchField() {
        return MatchField.ICMPV4_CODE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ICMPv4Code> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public ICMPv4Code getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIcmpv4Code build() {
                ICMPv4Code value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4TypeVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4TypeVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80002601L;
    }

    @Override
    public ICMPv4Type getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4Type.Builder setValue(ICMPv4Type value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Type> getMatchField() {
        return MatchField.ICMPV4_TYPE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ICMPv4Type> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public ICMPv4Type getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIcmpv4Type build() {
                ICMPv4Type value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6CodeVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6CodeVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80003c01L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6Code.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_CODE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public U8 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIcmpv6Code build() {
                U8 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6TypeVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6TypeVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80003a01L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6Type.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_TYPE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public U8 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIcmpv6Type build() {
                U8 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPhyPortVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPhyPortVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80000204L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPhyPort.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PHY_PORT;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmInPhyPort build() {
                OFPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPortVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPortVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80000004L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPort.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PORT;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmInPort build() {
                OFPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpDscpVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpDscpVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80001001L;
    }

    @Override
    public IpDscp getValue() {
        return value;
    }

    @Override
    public OFOxmIpDscp.Builder setValue(IpDscp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IpDscp> getMatchField() {
        return MatchField.IP_DSCP;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IpDscp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public IpDscp getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpDscp build() {
                IpDscp value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpEcnVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpEcnVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80001201L;
    }

    @Override
    public IpEcn getValue() {
        return value;
    }

    @Override
    public OFOxmIpEcn.Builder setValue(IpEcn value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IpEcn> getMatchField() {
        return MatchField.IP_ECN;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IpEcn> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public IpEcn getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpEcn build() {
                IpEcn value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpProtoVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpProtoVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80001401L;
    }

    @Override
    public IpProtocol getValue() {
        return value;
    }

    @Override
    public OFOxmIpProto.Builder setValue(IpProtocol value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IpProtocol> getMatchField() {
        return MatchField.IP_PROTO;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IpProtocol> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public IpProtocol getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpProto build() {
                IpProtocol value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4DstVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4DstVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80001804L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4Dst.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public IPv4Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpv4Dst build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4SrcVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4SrcVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80001604L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4Src.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public IPv4Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpv4Src build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6DstVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6DstVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80003610L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6Dst.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public IPv6Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpv6Dst build() {
                IPv6Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6FlabelVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6FlabelVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80003804L;
    }

    @Override
    public IPv6FlowLabel getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6Flabel.Builder setValue(IPv6FlowLabel value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6FlowLabel> getMatchField() {
        return MatchField.IPV6_FLABEL;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv6FlowLabel> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public IPv6FlowLabel getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpv6Flabel build() {
                IPv6FlowLabel value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdSllVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdSllVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80004006L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdSll.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_SLL;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpv6NdSll build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTargetVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTargetVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80003e10L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTarget.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_ND_TARGET;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public IPv6Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpv6NdTarget build() {
                IPv6Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTllVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTllVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80004206L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTll.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_TLL;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpv6NdTll build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6SrcVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6SrcVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80003410L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6Src.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public IPv6Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmIpv6Src build() {
                IPv6Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMetadataVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmMetadataVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80000408L;
    }

    @Override
    public OFMetadata getValue() {
        return value;
    }

    @Override
    public OFOxmMetadata.Builder setValue(OFMetadata value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFMetadata> getMatchField() {
        return MatchField.METADATA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFMetadata> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFMetadata getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmMetadata build() {
                OFMetadata value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsLabelVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsLabelVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80004404L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsLabel.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.MPLS_LABEL;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public U32 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmMplsLabel build() {
                U32 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsTcVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsTcVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80004601L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsTc.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.MPLS_TC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public U8 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmMplsTc build() {
                U8 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpDstVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpDstVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80002402L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpDst.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public TransportPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmSctpDst build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpSrcVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpSrcVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80002202L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpSrc.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public TransportPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmSctpSrc build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpDstVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpDstVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80001c02L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpDst.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public TransportPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmTcpDst build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpSrcVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpSrcVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80001a02L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpSrc.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public TransportPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmTcpSrc build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4DstVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4DstVer12.java172
    @Override
    public long getTypeLen() {
        return 0x14004L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4Dst.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public IPv4Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmTunnelIpv4Dst build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4SrcVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4SrcVer12.java172
    @Override
    public long getTypeLen() {
        return 0x13e04L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4Src.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public IPv4Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmTunnelIpv4Src build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpDstVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpDstVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80002002L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpDst.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public TransportPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmUdpDst build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpSrcVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpSrcVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80001e02L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpSrc.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public TransportPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmUdpSrc build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanPcpVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanPcpVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80000e01L;
    }

    @Override
    public VlanPcp getValue() {
        return value;
    }

    @Override
    public OFOxmVlanPcp.Builder setValue(VlanPcp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<VlanPcp> getMatchField() {
        return MatchField.VLAN_PCP;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<VlanPcp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public VlanPcp getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmVlanPcp build() {
                VlanPcp value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanVidVer12.java110
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanVidVer12.java172
    @Override
    public long getTypeLen() {
        return 0x80000c02L;
    }

    @Override
    public OFVlanVidMatch getValue() {
        return value;
    }

    @Override
    public OFOxmVlanVid.Builder setValue(OFVlanVidMatch value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFVlanVidMatch> getMatchField() {
        return MatchField.VLAN_VID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFVlanVidMatch> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
    }

    @Override
    public OFVlanVidMatch getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.2");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFOxmVlanVid build() {
                OFVlanVidMatch value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaCommandReplyVer13.java111
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaCommandReplyVer13.java178
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaCommandReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x42L;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaCommandReply.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnLuaCommandReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaCommandRequestVer13.java111
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaCommandRequestVer13.java178
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaCommandRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x41L;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaCommandRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnLuaCommandRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaNotificationVer13.java111
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaNotificationVer13.java178
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaNotification.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x43L;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaNotification.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnLuaNotification build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpOpVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpOpVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80002a02L;
    }

    @Override
    public ArpOpcode getValue() {
        return value;
    }

    @Override
    public OFOxmArpOp.Builder setValue(ArpOpcode value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ArpOpcode> getMatchField() {
        return MatchField.ARP_OP;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ArpOpcode> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public ArpOpcode getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmArpOp build() {
                ArpOpcode value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpShaVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpShaVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80003006L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpSha.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_SHA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmArpSha build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpSpaVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpSpaVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80002c04L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpSpa.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_SPA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public IPv4Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmArpSpa build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpThaVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpThaVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80003206L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpTha.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_THA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmArpTha build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpTpaVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpTpaVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80002e04L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpTpa.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_TPA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public IPv4Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmArpTpa build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnEgrPortGroupIdVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnEgrPortGroupIdVer13.java172
    @Override
    public long getTypeLen() {
        return 0x30e04L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnEgrPortGroupId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_EGR_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public ClassId getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnEgrPortGroupId build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnGlobalVrfAllowedVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnGlobalVrfAllowedVer13.java172
    @Override
    public long getTypeLen() {
        return 0x30601L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmBsnGlobalVrfAllowed.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.BSN_GLOBAL_VRF_ALLOWED;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFBooleanValue getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnGlobalVrfAllowed build() {
                OFBooleanValue value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts128Ver13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts128Ver13.java172
    @Override
    public long getTypeLen() {
        return 0x30010L;
    }

    @Override
    public OFBitMask128 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts128.Builder setValue(OFBitMask128 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask128> getMatchField() {
        return MatchField.BSN_IN_PORTS_128;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBitMask128> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFBitMask128 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnInPorts128 build() {
                OFBitMask128 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts512Ver13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts512Ver13.java172
    @Override
    public long getTypeLen() {
        return 0x32640L;
    }

    @Override
    public OFBitMask512 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts512.Builder setValue(OFBitMask512 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask512> getMatchField() {
        return MatchField.BSN_IN_PORTS_512;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBitMask512> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFBitMask512 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnInPorts512 build() {
                OFBitMask512 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnIngressPortGroupIdVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnIngressPortGroupIdVer13.java172
    @Override
    public long getTypeLen() {
        return 0x32804L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnIngressPortGroupId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_INGRESS_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public ClassId getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnIngressPortGroupId build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthDstVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthDstVer13.java172
    @Override
    public long getTypeLen() {
        return 0x32c06L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInnerEthDst.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.BSN_INNER_ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnInnerEthDst build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthSrcVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthSrcVer13.java172
    @Override
    public long getTypeLen() {
        return 0x32e06L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInnerEthSrc.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.BSN_INNER_ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnInnerEthSrc build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL2CacheHitVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL2CacheHitVer13.java172
    @Override
    public long getTypeLen() {
        return 0x32401L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL2CacheHit.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.BSN_L2_CACHE_HIT;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFBooleanValue getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnL2CacheHit build() {
                OFBooleanValue value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3DstClassIdVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3DstClassIdVer13.java172
    @Override
    public long getTypeLen() {
        return 0x30c04L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3DstClassId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_DST_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public ClassId getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnL3DstClassId build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3InterfaceClassIdVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3InterfaceClassIdVer13.java172
    @Override
    public long getTypeLen() {
        return 0x30804L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3InterfaceClassId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_INTERFACE_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public ClassId getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnL3InterfaceClassId build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3SrcClassIdVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3SrcClassIdVer13.java172
    @Override
    public long getTypeLen() {
        return 0x30a04L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3SrcClassId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_SRC_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public ClassId getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnL3SrcClassId build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnLagIdVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnLagIdVer13.java172
    @Override
    public long getTypeLen() {
        return 0x30204L;
    }

    @Override
    public LagId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnLagId.Builder setValue(LagId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<LagId> getMatchField() {
        return MatchField.BSN_LAG_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<LagId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public LagId getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnLagId build() {
                LagId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnTcpFlagsVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnTcpFlagsVer13.java172
    @Override
    public long getTypeLen() {
        return 0x32002L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnTcpFlags.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.BSN_TCP_FLAGS;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public U16 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnTcpFlags build() {
                U16 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf0Ver13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf0Ver13.java172
    @Override
    public long getTypeLen() {
        return 0x31004L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf0.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF0;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnUdf0 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf1Ver13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf1Ver13.java172
    @Override
    public long getTypeLen() {
        return 0x31204L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf1.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF1;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnUdf1 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf2Ver13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf2Ver13.java172
    @Override
    public long getTypeLen() {
        return 0x31404L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf2.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF2;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnUdf2 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf3Ver13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf3Ver13.java172
    @Override
    public long getTypeLen() {
        return 0x31604L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf3.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF3;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnUdf3 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf4Ver13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf4Ver13.java172
    @Override
    public long getTypeLen() {
        return 0x31804L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf4.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF4;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnUdf4 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf5Ver13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf5Ver13.java172
    @Override
    public long getTypeLen() {
        return 0x31a04L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf5.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF5;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnUdf5 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf6Ver13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf6Ver13.java172
    @Override
    public long getTypeLen() {
        return 0x31c04L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf6.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF6;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnUdf6 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf7Ver13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf7Ver13.java172
    @Override
    public long getTypeLen() {
        return 0x31e04L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf7.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF7;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnUdf7 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVlanXlatePortGroupIdVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVlanXlatePortGroupIdVer13.java172
    @Override
    public long getTypeLen() {
        return 0x32204L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVlanXlatePortGroupId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_VLAN_XLATE_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public ClassId getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnVlanXlatePortGroupId build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVrfVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVrfVer13.java172
    @Override
    public long getTypeLen() {
        return 0x30404L;
    }

    @Override
    public VRF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVrf.Builder setValue(VRF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<VRF> getMatchField() {
        return MatchField.BSN_VRF;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<VRF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public VRF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnVrf build() {
                VRF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVxlanNetworkIdVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVxlanNetworkIdVer13.java172
    @Override
    public long getTypeLen() {
        return 0x32a04L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVxlanNetworkId.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.BSN_VXLAN_NETWORK_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public U32 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmBsnVxlanNetworkId build() {
                U32 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthDstVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthDstVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80000606L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthDst.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmEthDst build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthSrcVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthSrcVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80000806L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthSrc.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmEthSrc build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthTypeVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthTypeVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80000a02L;
    }

    @Override
    public EthType getValue() {
        return value;
    }

    @Override
    public OFOxmEthType.Builder setValue(EthType value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<EthType> getMatchField() {
        return MatchField.ETH_TYPE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<EthType> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public EthType getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmEthType build() {
                EthType value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4CodeVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4CodeVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80002801L;
    }

    @Override
    public ICMPv4Code getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4Code.Builder setValue(ICMPv4Code value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Code> getMatchField() {
        return MatchField.ICMPV4_CODE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ICMPv4Code> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public ICMPv4Code getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIcmpv4Code build() {
                ICMPv4Code value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4TypeVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4TypeVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80002601L;
    }

    @Override
    public ICMPv4Type getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4Type.Builder setValue(ICMPv4Type value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Type> getMatchField() {
        return MatchField.ICMPV4_TYPE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ICMPv4Type> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public ICMPv4Type getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIcmpv4Type build() {
                ICMPv4Type value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6CodeVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6CodeVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80003c01L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6Code.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_CODE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public U8 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIcmpv6Code build() {
                U8 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6TypeVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6TypeVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80003a01L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6Type.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_TYPE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public U8 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIcmpv6Type build() {
                U8 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPhyPortVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPhyPortVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80000204L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPhyPort.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PHY_PORT;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmInPhyPort build() {
                OFPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPortVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPortVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80000004L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPort.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PORT;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmInPort build() {
                OFPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpDscpVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpDscpVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80001001L;
    }

    @Override
    public IpDscp getValue() {
        return value;
    }

    @Override
    public OFOxmIpDscp.Builder setValue(IpDscp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IpDscp> getMatchField() {
        return MatchField.IP_DSCP;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IpDscp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public IpDscp getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpDscp build() {
                IpDscp value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpEcnVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpEcnVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80001201L;
    }

    @Override
    public IpEcn getValue() {
        return value;
    }

    @Override
    public OFOxmIpEcn.Builder setValue(IpEcn value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IpEcn> getMatchField() {
        return MatchField.IP_ECN;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IpEcn> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public IpEcn getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpEcn build() {
                IpEcn value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpProtoVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpProtoVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80001401L;
    }

    @Override
    public IpProtocol getValue() {
        return value;
    }

    @Override
    public OFOxmIpProto.Builder setValue(IpProtocol value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IpProtocol> getMatchField() {
        return MatchField.IP_PROTO;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IpProtocol> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public IpProtocol getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpProto build() {
                IpProtocol value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4DstVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4DstVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80001804L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4Dst.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public IPv4Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpv4Dst build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4SrcVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4SrcVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80001604L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4Src.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public IPv4Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpv4Src build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6DstVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6DstVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80003610L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6Dst.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public IPv6Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpv6Dst build() {
                IPv6Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6ExthdrVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6ExthdrVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80004e02L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6Exthdr.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.IPV6_EXTHDR;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public U16 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpv6Exthdr build() {
                U16 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6FlabelVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6FlabelVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80003804L;
    }

    @Override
    public IPv6FlowLabel getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6Flabel.Builder setValue(IPv6FlowLabel value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6FlowLabel> getMatchField() {
        return MatchField.IPV6_FLABEL;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv6FlowLabel> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public IPv6FlowLabel getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpv6Flabel build() {
                IPv6FlowLabel value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdSllVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdSllVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80004006L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdSll.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_SLL;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpv6NdSll build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTargetVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTargetVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80003e10L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTarget.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_ND_TARGET;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public IPv6Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpv6NdTarget build() {
                IPv6Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTllVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTllVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80004206L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTll.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_TLL;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpv6NdTll build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6SrcVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6SrcVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80003410L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6Src.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public IPv6Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmIpv6Src build() {
                IPv6Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmMetadataVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmMetadataVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80000408L;
    }

    @Override
    public OFMetadata getValue() {
        return value;
    }

    @Override
    public OFOxmMetadata.Builder setValue(OFMetadata value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFMetadata> getMatchField() {
        return MatchField.METADATA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFMetadata> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFMetadata getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmMetadata build() {
                OFMetadata value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsBosVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsBosVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80004801L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmMplsBos.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.MPLS_BOS;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFBooleanValue getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmMplsBos build() {
                OFBooleanValue value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsLabelVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsLabelVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80004404L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsLabel.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.MPLS_LABEL;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public U32 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmMplsLabel build() {
                U32 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsTcVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsTcVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80004601L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsTc.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.MPLS_TC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public U8 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmMplsTc build() {
                U8 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmOchSigidBasicVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmOchSigidBasicVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80005a06L;
    }

    @Override
    public CircuitSignalID getValue() {
        return value;
    }

    @Override
    public OFOxmOchSigidBasic.Builder setValue(CircuitSignalID value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<CircuitSignalID> getMatchField() {
        return MatchField.OCH_SIGID_BASIC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<CircuitSignalID> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public CircuitSignalID getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmOchSigidBasic build() {
                CircuitSignalID value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmOchSigidVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmOchSigidVer13.java172
    @Override
    public long getTypeLen() {
        return 0x85a06L;
    }

    @Override
    public CircuitSignalID getValue() {
        return value;
    }

    @Override
    public OFOxmOchSigid.Builder setValue(CircuitSignalID value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<CircuitSignalID> getMatchField() {
        return MatchField.OCH_SIGID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<CircuitSignalID> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public CircuitSignalID getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmOchSigid build() {
                CircuitSignalID value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmOchSigtypeBasicVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmOchSigtypeBasicVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80005801L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmOchSigtypeBasic.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.OCH_SIGTYPE_BASIC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public U8 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmOchSigtypeBasic build() {
                U8 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmOchSigtypeVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmOchSigtypeVer13.java172
    @Override
    public long getTypeLen() {
        return 0x85801L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmOchSigtype.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.OCH_SIGTYPE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public U8 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmOchSigtype build() {
                U8 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpDstVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpDstVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80002402L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpDst.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public TransportPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmSctpDst build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpSrcVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpSrcVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80002202L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpSrc.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public TransportPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmSctpSrc build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpDstVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpDstVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80001c02L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpDst.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public TransportPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmTcpDst build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpSrcVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpSrcVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80001a02L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpSrc.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public TransportPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmTcpSrc build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIdVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIdVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80004c08L;
    }

    @Override
    public U64 getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelId.Builder setValue(U64 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U64> getMatchField() {
        return MatchField.TUNNEL_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U64> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public U64 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmTunnelId build() {
                U64 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4DstVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4DstVer13.java172
    @Override
    public long getTypeLen() {
        return 0x14004L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4Dst.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public IPv4Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmTunnelIpv4Dst build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4SrcVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4SrcVer13.java172
    @Override
    public long getTypeLen() {
        return 0x13e04L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4Src.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public IPv4Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmTunnelIpv4Src build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpDstVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpDstVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80002002L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpDst.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public TransportPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmUdpDst build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpSrcVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpSrcVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80001e02L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpSrc.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public TransportPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmUdpSrc build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanPcpVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanPcpVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80000e01L;
    }

    @Override
    public VlanPcp getValue() {
        return value;
    }

    @Override
    public OFOxmVlanPcp.Builder setValue(VlanPcp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<VlanPcp> getMatchField() {
        return MatchField.VLAN_PCP;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<VlanPcp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public VlanPcp getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmVlanPcp build() {
                VlanPcp value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanVidVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanVidVer13.java172
    @Override
    public long getTypeLen() {
        return 0x80000c02L;
    }

    @Override
    public OFVlanVidMatch getValue() {
        return value;
    }

    @Override
    public OFOxmVlanVid.Builder setValue(OFVlanVidMatch value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFVlanVidMatch> getMatchField() {
        return MatchField.VLAN_VID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFVlanVidMatch> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
    }

    @Override
    public OFVlanVidMatch getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.3");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFOxmVlanVid build() {
                OFVlanVidMatch value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaCommandReplyVer14.java111
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaCommandReplyVer14.java178
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaCommandReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x42L;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaCommandReply.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnLuaCommandReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaCommandRequestVer14.java111
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaCommandRequestVer14.java178
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaCommandRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x41L;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaCommandRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnLuaCommandRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaNotificationVer14.java111
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaNotificationVer14.java178
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaNotification.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x43L;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaNotification.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnLuaNotification build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java880
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java880
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java880
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java880
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java880
            bb.writeByte((short) 0x0);
            bb.writeShort(U16.t(message.idleTimeout));
            bb.writeShort(U16.t(message.hardTimeout));
            bb.writeShort(U16.t(message.priority));
            bb.writeInt(message.bufferId.getInt());
            message.outPort.write4Bytes(bb);
            message.outGroup.write4Bytes(bb);
            OFFlowModFlagsSerializerVer14.writeTo(bb, message.flags);
            bb.writeShort(U16.t(message.importance));
            message.match.writeTo(bb);
            ChannelUtils.writeList(bb, message.instructions);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFFlowAddVer14(");
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpOpVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpOpVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80002a02L;
    }

    @Override
    public ArpOpcode getValue() {
        return value;
    }

    @Override
    public OFOxmArpOp.Builder setValue(ArpOpcode value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ArpOpcode> getMatchField() {
        return MatchField.ARP_OP;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ArpOpcode> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public ArpOpcode getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmArpOp build() {
                ArpOpcode value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpShaVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpShaVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80003006L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpSha.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_SHA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmArpSha build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpSpaVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpSpaVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80002c04L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpSpa.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_SPA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public IPv4Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmArpSpa build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpThaVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpThaVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80003206L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpTha.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_THA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmArpTha build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpTpaVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpTpaVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80002e04L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpTpa.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_TPA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public IPv4Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmArpTpa build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnEgrPortGroupIdVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnEgrPortGroupIdVer14.java172
    @Override
    public long getTypeLen() {
        return 0x30e04L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnEgrPortGroupId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_EGR_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public ClassId getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnEgrPortGroupId build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts128Ver14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts128Ver14.java172
    @Override
    public long getTypeLen() {
        return 0x30010L;
    }

    @Override
    public OFBitMask128 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts128.Builder setValue(OFBitMask128 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask128> getMatchField() {
        return MatchField.BSN_IN_PORTS_128;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBitMask128> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFBitMask128 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnInPorts128 build() {
                OFBitMask128 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts512Ver14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts512Ver14.java172
    @Override
    public long getTypeLen() {
        return 0x32640L;
    }

    @Override
    public OFBitMask512 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts512.Builder setValue(OFBitMask512 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask512> getMatchField() {
        return MatchField.BSN_IN_PORTS_512;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBitMask512> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFBitMask512 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnInPorts512 build() {
                OFBitMask512 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnIngressPortGroupIdVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnIngressPortGroupIdVer14.java172
    @Override
    public long getTypeLen() {
        return 0x32804L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnIngressPortGroupId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_INGRESS_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public ClassId getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnIngressPortGroupId build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthDstVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthDstVer14.java172
    @Override
    public long getTypeLen() {
        return 0x32c06L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInnerEthDst.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.BSN_INNER_ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnInnerEthDst build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthSrcVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthSrcVer14.java172
    @Override
    public long getTypeLen() {
        return 0x32e06L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInnerEthSrc.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.BSN_INNER_ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnInnerEthSrc build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3InterfaceClassIdVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3InterfaceClassIdVer14.java172
    @Override
    public long getTypeLen() {
        return 0x30804L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3InterfaceClassId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_INTERFACE_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public ClassId getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnL3InterfaceClassId build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3SrcClassIdVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3SrcClassIdVer14.java172
    @Override
    public long getTypeLen() {
        return 0x30a04L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3SrcClassId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_SRC_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public ClassId getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnL3SrcClassId build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnLagIdVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnLagIdVer14.java172
    @Override
    public long getTypeLen() {
        return 0x30204L;
    }

    @Override
    public LagId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnLagId.Builder setValue(LagId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<LagId> getMatchField() {
        return MatchField.BSN_LAG_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<LagId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public LagId getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnLagId build() {
                LagId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnTcpFlagsVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnTcpFlagsVer14.java172
    @Override
    public long getTypeLen() {
        return 0x32002L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnTcpFlags.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.BSN_TCP_FLAGS;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public U16 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnTcpFlags build() {
                U16 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf0Ver14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf0Ver14.java172
    @Override
    public long getTypeLen() {
        return 0x31004L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf0.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF0;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnUdf0 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf1Ver14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf1Ver14.java172
    @Override
    public long getTypeLen() {
        return 0x31204L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf1.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF1;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnUdf1 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf2Ver14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf2Ver14.java172
    @Override
    public long getTypeLen() {
        return 0x31404L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf2.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF2;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnUdf2 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf3Ver14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf3Ver14.java172
    @Override
    public long getTypeLen() {
        return 0x31604L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf3.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF3;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnUdf3 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf4Ver14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf4Ver14.java172
    @Override
    public long getTypeLen() {
        return 0x31804L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf4.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF4;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnUdf4 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf5Ver14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf5Ver14.java172
    @Override
    public long getTypeLen() {
        return 0x31a04L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf5.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF5;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnUdf5 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf6Ver14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf6Ver14.java172
    @Override
    public long getTypeLen() {
        return 0x31c04L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf6.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF6;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnUdf6 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf7Ver14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf7Ver14.java172
    @Override
    public long getTypeLen() {
        return 0x31e04L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf7.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF7;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public UDF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnUdf7 build() {
                UDF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVlanXlatePortGroupIdVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVlanXlatePortGroupIdVer14.java172
    @Override
    public long getTypeLen() {
        return 0x32204L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVlanXlatePortGroupId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_VLAN_XLATE_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public ClassId getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnVlanXlatePortGroupId build() {
                ClassId value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVrfVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVrfVer14.java172
    @Override
    public long getTypeLen() {
        return 0x30404L;
    }

    @Override
    public VRF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVrf.Builder setValue(VRF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<VRF> getMatchField() {
        return MatchField.BSN_VRF;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<VRF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public VRF getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnVrf build() {
                VRF value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVxlanNetworkIdVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVxlanNetworkIdVer14.java172
    @Override
    public long getTypeLen() {
        return 0x32a04L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVxlanNetworkId.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.BSN_VXLAN_NETWORK_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public U32 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmBsnVxlanNetworkId build() {
                U32 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthDstVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthDstVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80000606L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthDst.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmEthDst build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthSrcVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthSrcVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80000806L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthSrc.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmEthSrc build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthTypeVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthTypeVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80000a02L;
    }

    @Override
    public EthType getValue() {
        return value;
    }

    @Override
    public OFOxmEthType.Builder setValue(EthType value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<EthType> getMatchField() {
        return MatchField.ETH_TYPE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<EthType> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public EthType getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmEthType build() {
                EthType value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4CodeVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4CodeVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80002801L;
    }

    @Override
    public ICMPv4Code getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4Code.Builder setValue(ICMPv4Code value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Code> getMatchField() {
        return MatchField.ICMPV4_CODE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ICMPv4Code> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public ICMPv4Code getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIcmpv4Code build() {
                ICMPv4Code value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4TypeVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4TypeVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80002601L;
    }

    @Override
    public ICMPv4Type getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4Type.Builder setValue(ICMPv4Type value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Type> getMatchField() {
        return MatchField.ICMPV4_TYPE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ICMPv4Type> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public ICMPv4Type getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIcmpv4Type build() {
                ICMPv4Type value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6CodeVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6CodeVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80003c01L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6Code.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_CODE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public U8 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIcmpv6Code build() {
                U8 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6TypeVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6TypeVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80003a01L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6Type.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_TYPE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public U8 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIcmpv6Type build() {
                U8 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPhyPortVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPhyPortVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80000204L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPhyPort.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PHY_PORT;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmInPhyPort build() {
                OFPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPortVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPortVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80000004L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPort.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PORT;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmInPort build() {
                OFPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpDscpVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpDscpVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80001001L;
    }

    @Override
    public IpDscp getValue() {
        return value;
    }

    @Override
    public OFOxmIpDscp.Builder setValue(IpDscp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IpDscp> getMatchField() {
        return MatchField.IP_DSCP;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IpDscp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public IpDscp getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpDscp build() {
                IpDscp value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpEcnVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpEcnVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80001201L;
    }

    @Override
    public IpEcn getValue() {
        return value;
    }

    @Override
    public OFOxmIpEcn.Builder setValue(IpEcn value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IpEcn> getMatchField() {
        return MatchField.IP_ECN;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IpEcn> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public IpEcn getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpEcn build() {
                IpEcn value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpProtoVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpProtoVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80001401L;
    }

    @Override
    public IpProtocol getValue() {
        return value;
    }

    @Override
    public OFOxmIpProto.Builder setValue(IpProtocol value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IpProtocol> getMatchField() {
        return MatchField.IP_PROTO;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IpProtocol> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public IpProtocol getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpProto build() {
                IpProtocol value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4DstVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4DstVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80001804L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4Dst.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public IPv4Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpv4Dst build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4SrcVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4SrcVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80001604L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4Src.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public IPv4Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpv4Src build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6DstVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6DstVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80003610L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6Dst.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public IPv6Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpv6Dst build() {
                IPv6Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6ExthdrVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6ExthdrVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80004e02L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6Exthdr.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.IPV6_EXTHDR;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public U16 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpv6Exthdr build() {
                U16 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6FlabelVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6FlabelVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80003804L;
    }

    @Override
    public IPv6FlowLabel getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6Flabel.Builder setValue(IPv6FlowLabel value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6FlowLabel> getMatchField() {
        return MatchField.IPV6_FLABEL;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv6FlowLabel> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public IPv6FlowLabel getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpv6Flabel build() {
                IPv6FlowLabel value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdSllVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdSllVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80004006L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdSll.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_SLL;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpv6NdSll build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTargetVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTargetVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80003e10L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTarget.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_ND_TARGET;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public IPv6Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpv6NdTarget build() {
                IPv6Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTllVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTllVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80004206L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTll.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_TLL;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public MacAddress getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpv6NdTll build() {
                MacAddress value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6SrcVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6SrcVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80003410L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6Src.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public IPv6Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmIpv6Src build() {
                IPv6Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmMetadataVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmMetadataVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80000408L;
    }

    @Override
    public OFMetadata getValue() {
        return value;
    }

    @Override
    public OFOxmMetadata.Builder setValue(OFMetadata value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFMetadata> getMatchField() {
        return MatchField.METADATA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFMetadata> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFMetadata getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmMetadata build() {
                OFMetadata value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsBosVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsBosVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80004801L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmMplsBos.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.MPLS_BOS;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFBooleanValue getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmMplsBos build() {
                OFBooleanValue value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsLabelVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsLabelVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80004404L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsLabel.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.MPLS_LABEL;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public U32 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmMplsLabel build() {
                U32 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsTcVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsTcVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80004601L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsTc.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.MPLS_TC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public U8 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmMplsTc build() {
                U8 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmPbbUcaVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmPbbUcaVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80005201L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmPbbUca.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.PBB_UCA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFBooleanValue getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmPbbUca build() {
                OFBooleanValue value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpDstVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpDstVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80002402L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpDst.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public TransportPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmSctpDst build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpSrcVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpSrcVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80002202L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpSrc.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public TransportPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmSctpSrc build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpDstVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpDstVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80001c02L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpDst.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public TransportPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmTcpDst build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpSrcVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpSrcVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80001a02L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpSrc.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public TransportPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmTcpSrc build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIdVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIdVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80004c08L;
    }

    @Override
    public U64 getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelId.Builder setValue(U64 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U64> getMatchField() {
        return MatchField.TUNNEL_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U64> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public U64 getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmTunnelId build() {
                U64 value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4DstVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4DstVer14.java172
    @Override
    public long getTypeLen() {
        return 0x14004L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4Dst.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public IPv4Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmTunnelIpv4Dst build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4SrcVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4SrcVer14.java172
    @Override
    public long getTypeLen() {
        return 0x13e04L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4Src.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public IPv4Address getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmTunnelIpv4Src build() {
                IPv4Address value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpDstVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpDstVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80002002L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpDst.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public TransportPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmUdpDst build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpSrcVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpSrcVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80001e02L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpSrc.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public TransportPort getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmUdpSrc build() {
                TransportPort value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanPcpVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanPcpVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80000e01L;
    }

    @Override
    public VlanPcp getValue() {
        return value;
    }

    @Override
    public OFOxmVlanPcp.Builder setValue(VlanPcp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<VlanPcp> getMatchField() {
        return MatchField.VLAN_PCP;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<VlanPcp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public VlanPcp getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmVlanPcp build() {
                VlanPcp value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanVidVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanVidVer14.java172
    @Override
    public long getTypeLen() {
        return 0x80000c02L;
    }

    @Override
    public OFVlanVidMatch getValue() {
        return value;
    }

    @Override
    public OFOxmVlanVid.Builder setValue(OFVlanVidMatch value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFVlanVidMatch> getMatchField() {
        return MatchField.VLAN_VID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFVlanVidMatch> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.4");
    }

    @Override
    public OFVlanVidMatch getMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property mask not supported in version 1.4");
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFOxmVlanVid build() {
                OFVlanVidMatch value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwClearDataReplyVer10.java175
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwClearDataReplyVer11.java175
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwClearDataReplyVer12.java175
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwClearDataReplyVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwClearDataReplyVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwClearDataReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x16L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnBwClearDataReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
//
        @Override
        public OFBsnBwClearDataReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            long status = this.statusSet ? this.status : DEFAULT_STATUS;


            return new OFBsnBwClearDataReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableGetReplyVer10.java175
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableGetReplyVer11.java175
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableGetReplyVer12.java175
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableGetReplyVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableGetReplyVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableGetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x14L;
    }

    @Override
    public long getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnBwEnableGetReply.Builder setEnabled(long enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }
//
        @Override
        public OFBsnBwEnableGetReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            long enabled = this.enabledSet ? this.enabled : DEFAULT_ENABLED;


            return new OFBsnBwEnableGetReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableSetRequestVer10.java175
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableSetRequestVer11.java175
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableSetRequestVer12.java175
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableSetRequestVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableSetRequestVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableSetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x12L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnBwEnableSetRequest.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }
//
        @Override
        public OFBsnBwEnableSetRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            long enable = this.enableSet ? this.enable : DEFAULT_ENABLE;


            return new OFBsnBwEnableSetRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetMirroringReplyVer10.java175
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetMirroringReplyVer11.java175
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetMirroringReplyVer12.java175
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetMirroringReplyVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetMirroringReplyVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetMirroringReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnGetMirroringReply.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }
//
        @Override
        public OFBsnGetMirroringReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            short reportMirrorPorts = this.reportMirrorPortsSet ? this.reportMirrorPorts : DEFAULT_REPORT_MIRROR_PORTS;


            return new OFBsnGetMirroringReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetMirroringRequestVer10.java175
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetMirroringRequestVer11.java175
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetMirroringRequestVer12.java175
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetMirroringRequestVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetMirroringRequestVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetMirroringRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnGetMirroringRequest.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }
//
        @Override
        public OFBsnGetMirroringRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            short reportMirrorPorts = this.reportMirrorPortsSet ? this.reportMirrorPorts : DEFAULT_REPORT_MIRROR_PORTS;


            return new OFBsnGetMirroringRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetMirroringVer10.java175
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetMirroringVer11.java175
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetMirroringVer12.java175
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetMirroringVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetMirroringVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetMirroring.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnSetMirroring.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }
//
        @Override
        public OFBsnSetMirroring build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            short reportMirrorPorts = this.reportMirrorPortsSet ? this.reportMirrorPorts : DEFAULT_REPORT_MIRROR_PORTS;


            return new OFBsnSetMirroringVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionReplyVer10.java175
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionReplyVer11.java175
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionReplyVer12.java175
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionReplyVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionReplyVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetPktinSuppressionReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x19L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetPktinSuppressionReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
//
        @Override
        public OFBsnSetPktinSuppressionReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            long status = this.statusSet ? this.status : DEFAULT_STATUS;


            return new OFBsnSetPktinSuppressionReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortRemoveReplyVer10.java175
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortRemoveReplyVer11.java175
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortRemoveReplyVer12.java175
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortRemoveReplyVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortRemoveReplyVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortRemoveReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1aL;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnVirtualPortRemoveReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
//
        @Override
        public OFBsnVirtualPortRemoveReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            long status = this.statusSet ? this.status : DEFAULT_STATUS;


            return new OFBsnVirtualPortRemoveReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortRemoveRequestVer10.java175
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortRemoveRequestVer11.java175
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortRemoveRequestVer12.java175
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortRemoveRequestVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortRemoveRequestVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortRemoveRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x11L;
    }

    @Override
    public long getVportNo() {
        return vportNo;
    }

    @Override
    public OFBsnVirtualPortRemoveRequest.Builder setVportNo(long vportNo) {
        this.vportNo = vportNo;
        this.vportNoSet = true;
        return this;
    }
//
        @Override
        public OFBsnVirtualPortRemoveRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            long vportNo = this.vportNoSet ? this.vportNo : DEFAULT_VPORT_NO;


            return new OFBsnVirtualPortRemoveRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFEchoReplyVer10.java104
org/projectfloodlight/openflow/protocol/ver11/OFEchoReplyVer11.java104
org/projectfloodlight/openflow/protocol/ver12/OFEchoReplyVer12.java104
org/projectfloodlight/openflow/protocol/ver13/OFEchoReplyVer13.java104
org/projectfloodlight/openflow/protocol/ver14/OFEchoReplyVer14.java104
    }

    @Override
    public OFType getType() {
        return OFType.ECHO_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFEchoReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFEchoReply.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFEchoReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                byte[] data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFEchoReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFEchoRequestVer10.java104
org/projectfloodlight/openflow/protocol/ver11/OFEchoRequestVer11.java104
org/projectfloodlight/openflow/protocol/ver12/OFEchoRequestVer12.java104
org/projectfloodlight/openflow/protocol/ver13/OFEchoRequestVer13.java104
org/projectfloodlight/openflow/protocol/ver14/OFEchoRequestVer14.java104
    }

    @Override
    public OFType getType() {
        return OFType.ECHO_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFEchoRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFEchoRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFEchoRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                byte[] data = this.dataSet ? this.data : parentMessage.data;
                if(data == null)
                    throw new NullPointerException("Property data must not be null");

                //
                return new OFEchoRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsRequestVer11.java101
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java101
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java101
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java101
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public Match getMatch() {
        return match;
    }



    public OFAggregateStatsRequest.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFAggregateStatsRequest.Builder {
        final OFAggregateStatsRequestVer11 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsRequestVer11.java101
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java101
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java101
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java101
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.FLOW;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public U64 getCookieMask() {
        return cookieMask;
    }

    @Override
    public Match getMatch() {
        return match;
    }



    public OFFlowStatsRequest.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFFlowStatsRequest.Builder {
        final OFFlowStatsRequestVer11 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableModVer11.java277
org/projectfloodlight/openflow/protocol/ver12/OFTableModVer12.java277
org/projectfloodlight/openflow/protocol/ver13/OFTableModVer13.java277
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 17
            byte type = bb.readByte();
            if(type != (byte) 0x11)
                throw new OFParseError("Wrong type: Expected=OFType.TABLE_MOD(17), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            TableId tableId = TableId.readByte(bb);
            // pad: 3 bytes
            bb.skipBytes(3);
            long config = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBadRequestCodeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFBadRequestCodeSerializerVer14.java30
public class OFBadRequestCodeSerializerVer13 {

    public final static short BAD_VERSION_VAL = (short) 0x0;
    public final static short BAD_TYPE_VAL = (short) 0x1;
    public final static short BAD_STAT_VAL = (short) 0x2;
    public final static short BAD_EXPERIMENTER_VAL = (short) 0x3;
    public final static short BAD_EXPERIMENTER_TYPE_VAL = (short) 0x4;
    public final static short EPERM_VAL = (short) 0x5;
    public final static short BAD_LEN_VAL = (short) 0x6;
    public final static short BUFFER_EMPTY_VAL = (short) 0x7;
    public final static short BUFFER_UNKNOWN_VAL = (short) 0x8;
    public final static short BAD_TABLE_ID_VAL = (short) 0x9;
    public final static short IS_SLAVE_VAL = (short) 0xa;
    public final static short BAD_PORT_VAL = (short) 0xb;
    public final static short BAD_PACKET_VAL = (short) 0xc;
    public final static short MULTIPART_BUFFER_OVERFLOW_VAL = (short) 0xd;

    public static OFBadRequestCode readFrom(ChannelBuffer bb) throws OFParseError {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableGetReplyVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableGetReplyVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdleEnableGetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x27L;
    }

    @Override
    public long getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnFlowIdleEnableGetReply.Builder setEnabled(long enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }
//
        @Override
        public OFBsnFlowIdleEnableGetReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            long enabled = this.enabledSet ? this.enabled : DEFAULT_ENABLED;


            return new OFBsnFlowIdleEnableGetReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableSetRequestVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableSetRequestVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdleEnableSetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x24L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnFlowIdleEnableSetRequest.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }
//
        @Override
        public OFBsnFlowIdleEnableSetRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            long enable = this.enableSet ? this.enable : DEFAULT_ENABLE;


            return new OFBsnFlowIdleEnableSetRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetAuxCxnsRequestVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetAuxCxnsRequestVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetAuxCxnsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3aL;
    }

    @Override
    public long getNumAux() {
        return numAux;
    }

    @Override
    public OFBsnSetAuxCxnsRequest.Builder setNumAux(long numAux) {
        this.numAux = numAux;
        this.numAuxSet = true;
        return this;
    }
//
        @Override
        public OFBsnSetAuxCxnsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            long numAux = this.numAuxSet ? this.numAux : DEFAULT_NUM_AUX;


            return new OFBsnSetAuxCxnsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetSwitchPipelineReplyVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetSwitchPipelineReplyVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetSwitchPipelineReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x36L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetSwitchPipelineReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
//
        @Override
        public OFBsnSetSwitchPipelineReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            long status = this.statusSet ? this.status : DEFAULT_STATUS;


            return new OFBsnSetSwitchPipelineReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFHelloVer13.java218
org/projectfloodlight/openflow/protocol/ver14/OFHelloVer14.java217
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 0
            byte type = bb.readByte();
            if(type != (byte) 0x0)
                throw new OFParseError("Wrong type: Expected=OFType.HELLO(0), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            List<OFHelloElem> elements = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFHelloElemVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortOpticalVer13.java227
org/projectfloodlight/openflow/protocol/ver14/OFPortDescVer14.java321
        public OFPortOptical build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : parentMessage.hwAddr;
                if(hwAddr == null)
                    throw new NullPointerException("Property hwAddr must not be null");
                String name = this.nameSet ? this.name : parentMessage.name;
                if(name == null)
                    throw new NullPointerException("Property name must not be null");
                Set<OFPortConfig> config = this.configSet ? this.config : parentMessage.config;
                if(config == null)
                    throw new NullPointerException("Property config must not be null");
                Set<OFPortState> state = this.stateSet ? this.state : parentMessage.state;
                if(state == null)
                    throw new NullPointerException("Property state must not be null");
                List<OFPortDescPropOpticalTransport> desc = this.descSet ? this.desc : parentMessage.desc;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFEchoReplyVer10.java216
org/projectfloodlight/openflow/protocol/ver11/OFEchoReplyVer11.java216
org/projectfloodlight/openflow/protocol/ver12/OFEchoReplyVer12.java216
org/projectfloodlight/openflow/protocol/ver13/OFEchoReplyVer13.java216
org/projectfloodlight/openflow/protocol/ver14/OFEchoReplyVer14.java216
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 3
            byte type = bb.readByte();
            if(type != (byte) 0x3)
                throw new OFParseError("Wrong type: Expected=OFType.ECHO_REPLY(3), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            byte[] data = ChannelUtils.readBytes(bb, length - (bb.readerIndex() - start));
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFEchoRequestVer10.java216
org/projectfloodlight/openflow/protocol/ver11/OFEchoRequestVer11.java216
org/projectfloodlight/openflow/protocol/ver12/OFEchoRequestVer12.java216
org/projectfloodlight/openflow/protocol/ver13/OFEchoRequestVer13.java216
org/projectfloodlight/openflow/protocol/ver14/OFEchoRequestVer14.java216
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 2
            byte type = bb.readByte();
            if(type != (byte) 0x2)
                throw new OFParseError("Wrong type: Expected=OFType.ECHO_REQUEST(2), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            byte[] data = ChannelUtils.readBytes(bb, length - (bb.readerIndex() - start));
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatusVer10.java110
org/projectfloodlight/openflow/protocol/ver11/OFPortStatusVer11.java184
org/projectfloodlight/openflow/protocol/ver12/OFPortStatusVer12.java184
org/projectfloodlight/openflow/protocol/ver13/OFPortStatusVer13.java184
org/projectfloodlight/openflow/protocol/ver14/OFPortStatusVer14.java184
    }

    @Override
    public OFType getType() {
        return OFType.PORT_STATUS;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatus.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPortReason getReason() {
        return reason;
    }

    @Override
    public OFPortStatus.Builder setReason(OFPortReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public OFPortDesc getDesc() {
        return desc;
    }

    @Override
    public OFPortStatus.Builder setDesc(OFPortDesc desc) {
        this.desc = desc;
        this.descSet = true;
        return this;
    }


        @Override
        public OFPortStatus build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatusVer10.java184
org/projectfloodlight/openflow/protocol/ver11/OFPortStatusVer11.java110
org/projectfloodlight/openflow/protocol/ver12/OFPortStatusVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFPortStatusVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFPortStatusVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.PORT_STATUS;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortStatus.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPortReason getReason() {
        return reason;
    }

    @Override
    public OFPortStatus.Builder setReason(OFPortReason reason) {
        this.reason = reason;
        this.reasonSet = true;
        return this;
    }
    @Override
    public OFPortDesc getDesc() {
        return desc;
    }

    @Override
    public OFPortStatus.Builder setDesc(OFPortDesc desc) {
        this.desc = desc;
        this.descSet = true;
        return this;
    }
//
        @Override
        public OFPortStatus build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java721
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java740
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java740
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java740
        StringBuilder b = new StringBuilder("OFFlowRemovedVer11(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("cookie=").append(cookie);
        b.append(", ");
        b.append("priority=").append(priority);
        b.append(", ");
        b.append("reason=").append(reason);
        b.append(", ");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("durationSec=").append(durationSec);
        b.append(", ");
        b.append("durationNsec=").append(durationNsec);
        b.append(", ");
        b.append("idleTimeout=").append(idleTimeout);
        b.append(", ");
        b.append("packetCount=").append(packetCount);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java505
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java505
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java551
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java551
        } else if (!byteCount.equals(other.byteCount))
            return false;
        if (bucketStats == null) {
            if (other.bucketStats != null)
                return false;
        } else if (!bucketStats.equals(other.bucketStats))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((group == null) ? 0 : group.hashCode());
        result = prime *  (int) (refCount ^ (refCount >>> 32));
        result = prime * result + ((packetCount == null) ? 0 : packetCount.hashCode());
        result = prime * result + ((byteCount == null) ? 0 : byteCount.hashCode());
        result = prime * result + ((bucketStats == null) ? 0 : bucketStats.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsReplyVer12.java631
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsReplyVer13.java631
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsReplyVer14.java631
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer12.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            long types = U32.f(bb.readInt());
            long capabilities = U32.f(bb.readInt());
            long maxGroupsAll = U32.f(bb.readInt());
            long maxGroupsSelect = U32.f(bb.readInt());
            long maxGroupsIndirect = U32.f(bb.readInt());
            long maxGroupsFf = U32.f(bb.readInt());
            long actionsAll = U32.f(bb.readInt());
            long actionsSelect = U32.f(bb.readInt());
            long actionsIndirect = U32.f(bb.readInt());
            long actionsFf = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleReplyVer12.java111
org/projectfloodlight/openflow/protocol/ver13/OFRoleReplyVer13.java185
org/projectfloodlight/openflow/protocol/ver14/OFRoleReplyVer14.java185
    }

    @Override
    public OFType getType() {
        return OFType.ROLE_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFRoleReply.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public U64 getGenerationId() {
        return generationId;
    }

    @Override
    public OFRoleReply.Builder setGenerationId(U64 generationId) {
        this.generationId = generationId;
        this.generationIdSet = true;
        return this;
    }


        @Override
        public OFRoleReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleReplyVer12.java185
org/projectfloodlight/openflow/protocol/ver13/OFRoleReplyVer13.java111
org/projectfloodlight/openflow/protocol/ver14/OFRoleReplyVer14.java111
    }

    @Override
    public OFType getType() {
        return OFType.ROLE_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFRoleReply.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public U64 getGenerationId() {
        return generationId;
    }

    @Override
    public OFRoleReply.Builder setGenerationId(U64 generationId) {
        this.generationId = generationId;
        this.generationIdSet = true;
        return this;
    }
//
        @Override
        public OFRoleReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestVer12.java111
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestVer13.java185
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestVer14.java185
    }

    @Override
    public OFType getType() {
        return OFType.ROLE_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFRoleRequest.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public U64 getGenerationId() {
        return generationId;
    }

    @Override
    public OFRoleRequest.Builder setGenerationId(U64 generationId) {
        this.generationId = generationId;
        this.generationIdSet = true;
        return this;
    }


        @Override
        public OFRoleRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestVer12.java185
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestVer13.java111
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestVer14.java111
    }

    @Override
    public OFType getType() {
        return OFType.ROLE_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFRoleRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFControllerRole getRole() {
        return role;
    }

    @Override
    public OFRoleRequest.Builder setRole(OFControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }
    @Override
    public U64 getGenerationId() {
        return generationId;
    }

    @Override
    public OFRoleRequest.Builder setGenerationId(U64 generationId) {
        this.generationId = generationId;
        this.generationIdSet = true;
        return this;
    }
//
        @Override
        public OFRoleRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java940
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java783
        StringBuilder b = new StringBuilder("OFCalientFlowStatsEntryVer13(");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("durationSec=").append(durationSec);
        b.append(", ");
        b.append("durationNsec=").append(durationNsec);
        b.append(", ");
        b.append("priority=").append(priority);
        b.append(", ");
        b.append("idleTimeout=").append(idleTimeout);
        b.append(", ");
        b.append("hardTimeout=").append(hardTimeout);
        b.append(", ");
        b.append("flags=").append(flags);
        b.append(", ");
        b.append("cookie=").append(cookie);
        b.append(", ");
        b.append("adminStatus=").append(adminStatus);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFHelloVer13.java162
org/projectfloodlight/openflow/protocol/ver14/OFHelloVer14.java162
    }

    @Override
    public OFType getType() {
        return OFType.HELLO;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFHello.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public List<OFHelloElem> getElements() {
        return elements;
    }

    @Override
    public OFHello.Builder setElements(List<OFHelloElem> elements) {
        this.elements = elements;
        this.elementsSet = true;
        return this;
    }
//
        @Override
        public OFHello build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            List<OFHelloElem> elements = this.elementsSet ? this.elements : DEFAULT_ELEMENTS;
            if(elements == null)
                throw new NullPointerException("Property elements must not be null");


            return new OFHelloVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsEntryVer13.java391
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsEntryVer14.java410
    }

//
        @Override
        public OFQueueStatsEntry build() {
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            long queueId = this.queueIdSet ? this.queueId : DEFAULT_QUEUE_ID;
            U64 txBytes = this.txBytesSet ? this.txBytes : DEFAULT_TX_BYTES;
            if(txBytes == null)
                throw new NullPointerException("Property txBytes must not be null");
            U64 txPackets = this.txPacketsSet ? this.txPackets : DEFAULT_TX_PACKETS;
            if(txPackets == null)
                throw new NullPointerException("Property txPackets must not be null");
            U64 txErrors = this.txErrorsSet ? this.txErrors : DEFAULT_TX_ERRORS;
            if(txErrors == null)
                throw new NullPointerException("Property txErrors must not be null");
            long durationSec = this.durationSecSet ? this.durationSec : DEFAULT_DURATION_SEC;
            long durationNsec = this.durationNsecSet ? this.durationNsec : DEFAULT_DURATION_NSEC;
FileLine
net/onrc/openvirtex/messages/ver10/OVXPacketOutVer10.java96
net/onrc/openvirtex/messages/ver13/OVXPacketOutVer13.java79
    public OVXPacketOutVer10(final byte[] pktData, final OFPort inPort,
            final OFPort outPort) {
    	super(DEFAULT_XID,
    			OFBufferId.NO_BUFFER,
    			inPort, 
    			(ArrayList<OFAction>)Arrays.asList(
    					   new OFAction[]
    					   {OVXFactoryInst.myFactory.actions()
    						.buildOutput().setPort(outPort).build()}
    					   ),
    					pktData);
    	
    	
    	
       
    }

	private final Logger log = LogManager.getLogger(OVXPacketOut.class
            .getName());
    private Match match = null;
    private final List<OFAction> approvedActions = new LinkedList<OFAction>();

    @Override
    public void devirtualize(final OVXSwitch sw) {
     short OFPP_MAX_SHORT = (short) 0xFF00;
       
        final OVXPort inport = sw.getPort(this.getInPort().getShortPortNumber());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java350
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java364
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java364
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java364
org/projectfloodlight/openflow/protocol/ver13/OFPortOpticalVer13.java227
        public OFPortDesc build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : parentMessage.hwAddr;
                if(hwAddr == null)
                    throw new NullPointerException("Property hwAddr must not be null");
                String name = this.nameSet ? this.name : parentMessage.name;
                if(name == null)
                    throw new NullPointerException("Property name must not be null");
                Set<OFPortConfig> config = this.configSet ? this.config : parentMessage.config;
                if(config == null)
                    throw new NullPointerException("Property config must not be null");
                Set<OFPortState> state = this.stateSet ? this.state : parentMessage.state;
                if(state == null)
                    throw new NullPointerException("Property state must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java681
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java681
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java681
            sink.putByte((byte) 0x3);
            // fixed value property type = 11
            sink.putByte((byte) 0xb);
            // FIXME: skip funnel of length
            sink.putLong(message.xid);
            message.cookie.putTo(sink);
            sink.putInt(message.priority);
            sink.putShort(message.reason);
            message.tableId.putTo(sink);
            sink.putLong(message.durationSec);
            sink.putLong(message.durationNsec);
            sink.putInt(message.idleTimeout);
            sink.putInt(message.hardTimeout);
            message.packetCount.putTo(sink);
            message.byteCount.putTo(sink);
            message.match.putTo(sink);
        }
    }


    public void writeTo(ChannelBuffer bb) {
        WRITER.write(bb, this);
    }

    final static Writer WRITER = new Writer();
    static class Writer implements OFMessageWriter<OFFlowRemovedVer12> {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsEntryVer13.java111
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsEntryVer13.java182
    @Override
    public U64 getCounterId() {
        return counterId;
    }

    @Override
    public OFBsnDebugCounterDescStatsEntry.Builder setCounterId(U64 counterId) {
        this.counterId = counterId;
        this.counterIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnDebugCounterDescStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public String getDescription() {
        return description;
    }

    @Override
    public OFBsnDebugCounterDescStatsEntry.Builder setDescription(String description) {
        this.description = description;
        this.descriptionSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFBsnDebugCounterDescStatsEntry build() {
                U64 counterId = this.counterIdSet ? this.counterId : parentMessage.counterId;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsEntryVer13.java109
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsEntryVer14.java109
        BuilderWithParent(OFBsnGentableEntryDescStatsEntryVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryDescStatsEntry.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryDescStatsEntry.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getValue() {
        return value;
    }

    @Override
    public OFBsnGentableEntryDescStatsEntry.Builder setValue(List<OFBsnTlv> value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortOpticalTransportApplicationCodeVer13.java105
org/projectfloodlight/openflow/protocol/ver13/OFPortOpticalTransportApplicationCodeVer13.java172
    @Override
    public int getFeatureType() {
        return featureType;
    }

    @Override
    public OFPortOpticalTransportApplicationCode.Builder setFeatureType(int featureType) {
        this.featureType = featureType;
        this.featureTypeSet = true;
        return this;
    }
    @Override
    public short getOicType() {
        return oicType;
    }

    @Override
    public OFPortOpticalTransportApplicationCode.Builder setOicType(short oicType) {
        this.oicType = oicType;
        this.oicTypeSet = true;
        return this;
    }
    @Override
    public String getAppCode() {
        return appCode;
    }

    @Override
    public OFPortOpticalTransportApplicationCode.Builder setAppCode(String appCode) {
        this.appCode = appCode;
        this.appCodeSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFPortOpticalTransportApplicationCode build() {
                int featureType = this.featureTypeSet ? this.featureType : parentMessage.featureType;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortOpticalTransportLayerEntryVer13.java102
org/projectfloodlight/openflow/protocol/ver13/OFPortOpticalTransportLayerEntryVer13.java167
    @Override
    public short getLayerClass() {
        return layerClass;
    }

    @Override
    public OFPortOpticalTransportLayerEntry.Builder setLayerClass(short layerClass) {
        this.layerClass = layerClass;
        this.layerClassSet = true;
        return this;
    }
    @Override
    public short getSignalType() {
        return signalType;
    }

    @Override
    public OFPortOpticalTransportLayerEntry.Builder setSignalType(short signalType) {
        this.signalType = signalType;
        this.signalTypeSet = true;
        return this;
    }
    @Override
    public short getAdaptation() {
        return adaptation;
    }

    @Override
    public OFPortOpticalTransportLayerEntry.Builder setAdaptation(short adaptation) {
        this.adaptation = adaptation;
        this.adaptationSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFPortOpticalTransportLayerEntry build() {
                short layerClass = this.layerClassSet ? this.layerClass : parentMessage.layerClass;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortOpticalVer13.java385
org/projectfloodlight/openflow/protocol/ver14/OFPortDescVer14.java533
        public OFPortOptical readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            OFPort portNo = OFPort.read4Bytes(bb);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 2 bytes
            bb.skipBytes(2);
            MacAddress hwAddr = MacAddress.read6Bytes(bb);
            // pad: 2 bytes
            bb.skipBytes(2);
            String name = ChannelUtils.readFixedLengthString(bb, 16);
            Set<OFPortConfig> config = OFPortConfigSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsEntryVer14.java111
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsEntryVer14.java182
    @Override
    public U64 getCounterId() {
        return counterId;
    }

    @Override
    public OFBsnDebugCounterDescStatsEntry.Builder setCounterId(U64 counterId) {
        this.counterId = counterId;
        this.counterIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnDebugCounterDescStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public String getDescription() {
        return description;
    }

    @Override
    public OFBsnDebugCounterDescStatsEntry.Builder setDescription(String description) {
        this.description = description;
        this.descriptionSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFBsnDebugCounterDescStatsEntry build() {
                U64 counterId = this.counterIdSet ? this.counterId : parentMessage.counterId;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwClearDataReplyVer10.java107
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwClearDataReplyVer10.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwClearDataReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x16L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnBwClearDataReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnBwClearDataReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableGetReplyVer10.java107
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableGetReplyVer10.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableGetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x14L;
    }

    @Override
    public long getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnBwEnableGetReply.Builder setEnabled(long enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableGetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableSetRequestVer10.java107
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableSetRequestVer10.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableSetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x12L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnBwEnableSetRequest.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableSetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetIpMaskRequestVer10.java107
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetIpMaskRequestVer10.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetIpMaskRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }

    @Override
    public short getIndex() {
        return index;
    }

    @Override
    public OFBsnGetIpMaskRequest.Builder setIndex(short index) {
        this.index = index;
        this.indexSet = true;
        return this;
    }


        @Override
        public OFBsnGetIpMaskRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetMirroringReplyVer10.java107
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetMirroringReplyVer10.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetMirroringReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnGetMirroringReply.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnGetMirroringReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetMirroringRequestVer10.java107
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetMirroringRequestVer10.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetMirroringRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnGetMirroringRequest.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnGetMirroringRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetMirroringVer10.java107
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetMirroringVer10.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetMirroring.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnSetMirroring.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnSetMirroring build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionReplyVer10.java107
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionReplyVer10.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetPktinSuppressionReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x19L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetPktinSuppressionReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnSetPktinSuppressionReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnShellStatusVer10.java107
org/projectfloodlight/openflow/protocol/ver10/OFBsnShellStatusVer10.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnShellStatus.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x8L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnShellStatus.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnShellStatus build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortCreateRequestVer10.java105
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortCreateRequestVer10.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortCreateRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public OFBsnVport getVport() {
        return vport;
    }

    @Override
    public OFBsnVirtualPortCreateRequest.Builder setVport(OFBsnVport vport) {
        this.vport = vport;
        this.vportSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortCreateRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortRemoveReplyVer10.java107
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortRemoveReplyVer10.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortRemoveReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1aL;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnVirtualPortRemoveReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortRemoveReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortRemoveRequestVer10.java107
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortRemoveRequestVer10.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortRemoveRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x11L;
    }

    @Override
    public long getVportNo() {
        return vportNo;
    }

    @Override
    public OFBsnVirtualPortRemoveRequest.Builder setVportNo(long vportNo) {
        this.vportNo = vportNo;
        this.vportNoSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortRemoveRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowModFailedErrorMsgVer10.java271
org/projectfloodlight/openflow/protocol/ver11/OFBadInstructionErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver12/OFBadInstructionErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver13/OFBadInstructionErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver14/OFBadInstructionErrorMsgVer14.java271
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 3
            short errType = bb.readShort();
            if(errType != (short) 0x3)
                throw new OFParseError("Wrong errType: Expected=OFErrorType.FLOW_MOD_FAILED(3), got="+errType);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFNiciraControllerRoleReplyVer10.java105
org/projectfloodlight/openflow/protocol/ver10/OFNiciraControllerRoleReplyVer10.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFNiciraControllerRoleReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x2320L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }

    @Override
    public OFNiciraControllerRole getRole() {
        return role;
    }

    @Override
    public OFNiciraControllerRoleReply.Builder setRole(OFNiciraControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }


        @Override
        public OFNiciraControllerRoleReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFNiciraControllerRoleRequestVer10.java105
org/projectfloodlight/openflow/protocol/ver10/OFNiciraControllerRoleRequestVer10.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFNiciraControllerRoleRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x2320L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public OFNiciraControllerRole getRole() {
        return role;
    }

    @Override
    public OFNiciraControllerRoleRequest.Builder setRole(OFNiciraControllerRole role) {
        this.role = role;
        this.roleSet = true;
        return this;
    }


        @Override
        public OFNiciraControllerRoleRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortModFailedErrorMsgVer10.java271
org/projectfloodlight/openflow/protocol/ver11/OFBadMatchErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver12/OFBadMatchErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver13/OFBadMatchErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver14/OFBadMatchErrorMsgVer14.java271
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 4
            short errType = bb.readShort();
            if(errType != (short) 0x4)
                throw new OFParseError("Wrong errType: Expected=OFErrorType.PORT_MOD_FAILED(4), got="+errType);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStateSerializerVer10.java43
org/projectfloodlight/openflow/protocol/ver11/OFPortStateSerializerVer11.java40
org/projectfloodlight/openflow/protocol/ver12/OFPortStateSerializerVer12.java40
org/projectfloodlight/openflow/protocol/ver13/OFPortStateSerializerVer13.java40
org/projectfloodlight/openflow/protocol/ver14/OFPortStateSerializerVer14.java40
    public static Set<OFPortState> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFPortState> set) {
        bb.writeInt(toWireValue(set));
    }

    public static void putTo(Set<OFPortState> set, PrimitiveSink sink) {
        sink.putInt(toWireValue(set));
    }


    public static Set<OFPortState> ofWireValue(int val) {
        EnumSet<OFPortState> set = EnumSet.noneOf(OFPortState.class);

        if((val & LINK_DOWN_VAL) != 0)
            set.add(OFPortState.LINK_DOWN);
        if((val & STP_MASK_VAL) == STP_LISTEN_VAL)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueOpFailedErrorMsgVer10.java271
org/projectfloodlight/openflow/protocol/ver11/OFFlowModFailedErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver12/OFFlowModFailedErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver13/OFFlowModFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver14/OFFlowModFailedErrorMsgVer14.java271
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 5
            short errType = bb.readShort();
            if(errType != (short) 0x5)
                throw new OFParseError("Wrong errType: Expected=OFErrorType.QUEUE_OP_FAILED(5), got="+errType);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwClearDataReplyVer11.java107
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwClearDataReplyVer11.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwClearDataReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x16L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnBwClearDataReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnBwClearDataReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableGetReplyVer11.java107
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableGetReplyVer11.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableGetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x14L;
    }

    @Override
    public long getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnBwEnableGetReply.Builder setEnabled(long enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableGetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableSetRequestVer11.java107
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableSetRequestVer11.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableSetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x12L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnBwEnableSetRequest.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableSetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetMirroringReplyVer11.java107
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetMirroringReplyVer11.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetMirroringReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnGetMirroringReply.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnGetMirroringReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetMirroringRequestVer11.java107
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetMirroringRequestVer11.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetMirroringRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnGetMirroringRequest.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnGetMirroringRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetMirroringVer11.java107
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetMirroringVer11.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetMirroring.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnSetMirroring.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnSetMirroring build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionReplyVer11.java107
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionReplyVer11.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetPktinSuppressionReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x19L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetPktinSuppressionReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnSetPktinSuppressionReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortCreateRequestVer11.java105
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortCreateRequestVer11.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortCreateRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public OFBsnVport getVport() {
        return vport;
    }

    @Override
    public OFBsnVirtualPortCreateRequest.Builder setVport(OFBsnVport vport) {
        this.vport = vport;
        this.vportSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortCreateRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortRemoveReplyVer11.java107
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortRemoveReplyVer11.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortRemoveReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1aL;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnVirtualPortRemoveReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortRemoveReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortRemoveRequestVer11.java107
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortRemoveRequestVer11.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortRemoveRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x11L;
    }

    @Override
    public long getVportNo() {
        return vportNo;
    }

    @Override
    public OFBsnVirtualPortRemoveRequest.Builder setVportNo(long vportNo) {
        this.vportNo = vportNo;
        this.vportNoSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortRemoveRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java766
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java766
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java796
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java816
        b.append("hardTimeout=").append(hardTimeout);
        b.append(", ");
        b.append("cookie=").append(cookie);
        b.append(", ");
        b.append("packetCount=").append(packetCount);
        b.append(", ");
        b.append("byteCount=").append(byteCount);
        b.append(", ");
        b.append("match=").append(match);
        b.append(", ");
        b.append("instructions=").append(instructions);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFMatchV2Ver11.java261
org/projectfloodlight/openflow/protocol/ver11/OFMatchV2Ver11.java682
org/projectfloodlight/openflow/protocol/ver11/OFMatchV2Ver11.java1114
    }



    @Override
    public <F extends OFValueType<F>> F get(MatchField<F> field)
            throws UnsupportedOperationException {
        // FIXME yotam - please replace with real implementation
        return null;
    }

    @Override
    public <F extends OFValueType<F>> Masked<F> getMasked(MatchField<F> field)
            throws UnsupportedOperationException {
        // FIXME yotam - please replace with real implementation
        return null;
    }

    @Override
    public boolean supports(MatchField<?> field) {
        // FIXME yotam - please replace with real implementation
        return false;
    }

    @Override
    public boolean supportsMasked(MatchField<?> field) {
        // FIXME yotam - please replace with real implementation
        return false;
    }

    @Override
    public boolean isExact(MatchField<?> field) {
        // FIXME yotam - please replace with real implementation
        return false;
    }

    @Override
    public boolean isFullyWildcarded(MatchField<?> field) {
        // FIXME yotam - please replace with real implementation
        return false;
    }

    @Override
    public boolean isPartiallyMasked(MatchField<?> field) {
        // FIXME yotam - please replace with real implementation
        return false;
    }

    @Override
    public Iterable<MatchField<?>> getMatchFields() {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableModVer11.java119
org/projectfloodlight/openflow/protocol/ver11/OFTableModVer11.java200
org/projectfloodlight/openflow/protocol/ver12/OFTableModVer12.java119
org/projectfloodlight/openflow/protocol/ver12/OFTableModVer12.java200
org/projectfloodlight/openflow/protocol/ver13/OFTableModVer13.java119
org/projectfloodlight/openflow/protocol/ver13/OFTableModVer13.java200
    }

    @Override
    public OFType getType() {
        return OFType.TABLE_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableMod.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableMod.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFTableMod.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public List<OFTableModProp> getProperties()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property properties not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsEntryVer11.java795
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsEntryVer12.java907
        b.append("applyActions=").append(applyActions);
        b.append(", ");
        b.append("config=").append(config);
        b.append(", ");
        b.append("maxEntries=").append(maxEntries);
        b.append(", ");
        b.append("activeCount=").append(activeCount);
        b.append(", ");
        b.append("lookupCount=").append(lookupCount);
        b.append(", ");
        b.append("matchedCount=").append(matchedCount);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTypeSerializerVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFTypeSerializerVer12.java130
org/projectfloodlight/openflow/protocol/ver13/OFTypeSerializerVer13.java142
                throw new IllegalArgumentException("Illegal wire value for type OFType in version 1.1: " + val);
        }
    }


    public static byte toWireValue(OFType e) {
        switch(e) {
            case HELLO:
                return HELLO_VAL;
            case ERROR:
                return ERROR_VAL;
            case ECHO_REQUEST:
                return ECHO_REQUEST_VAL;
            case ECHO_REPLY:
                return ECHO_REPLY_VAL;
            case EXPERIMENTER:
                return EXPERIMENTER_VAL;
            case FEATURES_REQUEST:
                return FEATURES_REQUEST_VAL;
            case FEATURES_REPLY:
                return FEATURES_REPLY_VAL;
            case GET_CONFIG_REQUEST:
                return GET_CONFIG_REQUEST_VAL;
            case GET_CONFIG_REPLY:
                return GET_CONFIG_REPLY_VAL;
            case SET_CONFIG:
                return SET_CONFIG_VAL;
            case PACKET_IN:
                return PACKET_IN_VAL;
            case FLOW_REMOVED:
                return FLOW_REMOVED_VAL;
            case PORT_STATUS:
                return PORT_STATUS_VAL;
            case PACKET_OUT:
                return PACKET_OUT_VAL;
            case FLOW_MOD:
                return FLOW_MOD_VAL;
            case GROUP_MOD:
                return GROUP_MOD_VAL;
            case PORT_MOD:
                return PORT_MOD_VAL;
            case TABLE_MOD:
                return TABLE_MOD_VAL;
            case STATS_REQUEST:
                return STATS_REQUEST_VAL;
            case STATS_REPLY:
                return STATS_REPLY_VAL;
            case BARRIER_REQUEST:
                return BARRIER_REQUEST_VAL;
            case BARRIER_REPLY:
                return BARRIER_REPLY_VAL;
            case QUEUE_GET_CONFIG_REQUEST:
                return QUEUE_GET_CONFIG_REQUEST_VAL;
            case QUEUE_GET_CONFIG_REPLY:
                return QUEUE_GET_CONFIG_REPLY_VAL;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwClearDataReplyVer12.java107
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwClearDataReplyVer12.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwClearDataReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x16L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnBwClearDataReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnBwClearDataReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableGetReplyVer12.java107
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableGetReplyVer12.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableGetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x14L;
    }

    @Override
    public long getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnBwEnableGetReply.Builder setEnabled(long enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableGetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableSetRequestVer12.java107
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableSetRequestVer12.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableSetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x12L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnBwEnableSetRequest.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableSetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetMirroringReplyVer12.java107
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetMirroringReplyVer12.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetMirroringReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnGetMirroringReply.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnGetMirroringReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetMirroringRequestVer12.java107
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetMirroringRequestVer12.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetMirroringRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnGetMirroringRequest.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnGetMirroringRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetMirroringVer12.java107
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetMirroringVer12.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetMirroring.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnSetMirroring.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnSetMirroring build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionReplyVer12.java107
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionReplyVer12.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetPktinSuppressionReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x19L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetPktinSuppressionReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnSetPktinSuppressionReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortCreateRequestVer12.java105
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortCreateRequestVer12.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortCreateRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public OFBsnVport getVport() {
        return vport;
    }

    @Override
    public OFBsnVirtualPortCreateRequest.Builder setVport(OFBsnVport vport) {
        this.vport = vport;
        this.vportSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortCreateRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortRemoveReplyVer12.java107
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortRemoveReplyVer12.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortRemoveReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1aL;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnVirtualPortRemoveReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortRemoveReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortRemoveRequestVer12.java107
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortRemoveRequestVer12.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortRemoveRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x11L;
    }

    @Override
    public long getVportNo() {
        return vportNo;
    }

    @Override
    public OFBsnVirtualPortRemoveRequest.Builder setVportNo(long vportNo) {
        this.vportNo = vportNo;
        this.vportNoSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortRemoveRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFMatchV3Ver12.java393
org/projectfloodlight/openflow/protocol/ver13/OFMatchV3Ver13.java395
org/projectfloodlight/openflow/protocol/ver14/OFMatchV3Ver14.java393
        OFOxm<F> oxm = OFFactories.getFactory(OFVersion.OF_12).oxms().fromMasked(valueWithMask, field);
        this.oxmListBuilder.set(oxm);
        updateOxmList();
        return this;
    }

    @Override
    public <F extends OFValueType<F>> Match.Builder wildcard(MatchField<F> field) {
        initBuilder();
        this.oxmListBuilder.unset(field);
        updateOxmList();
        return this;
    }

    }

    static class Builder implements OFMatchV3.Builder {
        // OF message fields
        private boolean oxmListSet;
        private OFOxmList oxmList;

    @Override
    public int getType() {
        return 0x1;
    }

    @Override
    public OFOxmList getOxmList() {
        return oxmList;
    }

    @Override
    public OFMatchV3.Builder setOxmList(OFOxmList oxmList) {
        this.oxmList = oxmList;
        this.oxmListSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwClearDataReplyVer13.java107
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwClearDataReplyVer13.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwClearDataReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x16L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnBwClearDataReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnBwClearDataReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableGetReplyVer13.java107
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableGetReplyVer13.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableGetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x14L;
    }

    @Override
    public long getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnBwEnableGetReply.Builder setEnabled(long enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableGetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableSetRequestVer13.java107
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableSetRequestVer13.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableSetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x12L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnBwEnableSetRequest.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableSetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsReplyVer13.java315
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsReplyVer13.java315
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsReplyVer13.java315
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsReplyVer13.java315
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsReplyVer13.java315
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsReplyVer13.java315
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsReplyVer13.java315
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsReplyVer13.java315
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsReplyVer13.java315
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsReplyVer13.java358
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsReplyVer13.java315
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsReplyVer13.java315
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsReplyVer13.java315
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsReplyVer13.java315
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsReplyVer13.java315
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsReplyVer13.java315
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer13.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xdL
            int subtype = bb.readInt();
            if(subtype != 0xd)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsRequestVer13.java268
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsRequestVer13.java268
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsRequestVer13.java313
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsRequestVer13.java360
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsRequestVer13.java309
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsRequestVer13.java268
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsRequestVer13.java399
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsRequestVer13.java399
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsRequestVer13.java268
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsRequestVer13.java268
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsRequestVer13.java268
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsRequestVer13.java313
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsRequestVer13.java268
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsRequestVer13.java268
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsRequestVer13.java306
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsRequestVer13.java306
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer13.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xdL
            int subtype = bb.readInt();
            if(subtype != 0xd)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableGetReplyVer13.java107
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableGetReplyVer13.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdleEnableGetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x27L;
    }

    @Override
    public long getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnFlowIdleEnableGetReply.Builder setEnabled(long enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }


        @Override
        public OFBsnFlowIdleEnableGetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableSetRequestVer13.java107
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableSetRequestVer13.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdleEnableSetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x24L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnFlowIdleEnableSetRequest.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }


        @Override
        public OFBsnFlowIdleEnableSetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetMirroringReplyVer13.java107
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetMirroringReplyVer13.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetMirroringReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnGetMirroringReply.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnGetMirroringReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetMirroringRequestVer13.java107
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetMirroringRequestVer13.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetMirroringRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnGetMirroringRequest.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnGetMirroringRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetSwitchPipelineReplyVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetSwitchPipelineReplyVer13.java177
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetSwitchPipelineReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x34L;
    }

    @Override
    public String getPipeline() {
        return pipeline;
    }

    @Override
    public OFBsnGetSwitchPipelineReply.Builder setPipeline(String pipeline) {
        this.pipeline = pipeline;
        this.pipelineSet = true;
        return this;
    }


        @Override
        public OFBsnGetSwitchPipelineReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java829
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java698
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java829
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java698
        b.append("actorKey=").append(actorKey);
        b.append(", ");
        b.append("partnerSysPriority=").append(partnerSysPriority);
        b.append(", ");
        b.append("partnerSysMac=").append(partnerSysMac);
        b.append(", ");
        b.append("partnerPortPriority=").append(partnerPortPriority);
        b.append(", ");
        b.append("partnerPortNum=").append(partnerPortNum);
        b.append(", ");
        b.append("partnerKey=").append(partnerKey);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetAuxCxnsRequestVer13.java107
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetAuxCxnsRequestVer13.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetAuxCxnsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3aL;
    }

    @Override
    public long getNumAux() {
        return numAux;
    }

    @Override
    public OFBsnSetAuxCxnsRequest.Builder setNumAux(long numAux) {
        this.numAux = numAux;
        this.numAuxSet = true;
        return this;
    }


        @Override
        public OFBsnSetAuxCxnsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetMirroringVer13.java107
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetMirroringVer13.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetMirroring.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnSetMirroring.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnSetMirroring build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionReplyVer13.java107
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionReplyVer13.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetPktinSuppressionReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x19L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetPktinSuppressionReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnSetPktinSuppressionReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetSwitchPipelineReplyVer13.java107
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetSwitchPipelineReplyVer13.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetSwitchPipelineReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x36L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetSwitchPipelineReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnSetSwitchPipelineReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetSwitchPipelineRequestVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetSwitchPipelineRequestVer13.java177
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetSwitchPipelineRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x35L;
    }

    @Override
    public String getPipeline() {
        return pipeline;
    }

    @Override
    public OFBsnSetSwitchPipelineRequest.Builder setPipeline(String pipeline) {
        this.pipeline = pipeline;
        this.pipelineSet = true;
        return this;
    }


        @Override
        public OFBsnSetSwitchPipelineRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTimeReplyVer13.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnTimeReplyVer13.java177
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTimeReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2dL;
    }

    @Override
    public U64 getTimeMs() {
        return timeMs;
    }

    @Override
    public OFBsnTimeReply.Builder setTimeMs(U64 timeMs) {
        this.timeMs = timeMs;
        this.timeMsSet = true;
        return this;
    }


        @Override
        public OFBsnTimeReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortCreateRequestVer13.java105
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortCreateRequestVer13.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortCreateRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public OFBsnVport getVport() {
        return vport;
    }

    @Override
    public OFBsnVirtualPortCreateRequest.Builder setVport(OFBsnVport vport) {
        this.vport = vport;
        this.vportSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortCreateRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortRemoveReplyVer13.java107
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortRemoveReplyVer13.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortRemoveReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1aL;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnVirtualPortRemoveReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortRemoveReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortRemoveRequestVer13.java107
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortRemoveRequestVer13.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortRemoveRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x11L;
    }

    @Override
    public long getVportNo() {
        return vportNo;
    }

    @Override
    public OFBsnVirtualPortRemoveRequest.Builder setVportNo(long vportNo) {
        this.vportNo = vportNo;
        this.vportNoSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortRemoveRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java731
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java615
        public OFCalientFlowStatsEntry build() {
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            long durationSec = this.durationSecSet ? this.durationSec : DEFAULT_DURATION_SEC;
            long durationNsec = this.durationNsecSet ? this.durationNsec : DEFAULT_DURATION_NSEC;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsRequestVer13.java524
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsRequestVer13.java268
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsRequestVer13.java313
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer13.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x80f958L
            int experimenter = bb.readInt();
            if(experimenter != 0x80f958)
                throw new OFParseError("Wrong experimenter: Expected=0x80f958L(0x80f958L), got="+experimenter);
            // fixed value property subtype == 0x2L
            int subtype = bb.readInt();
            if(subtype != 0x2)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandDscpRemarkVer13.java103
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandDscpRemarkVer14.java103
        BuilderWithParent(OFMeterBandDscpRemarkVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public int getType() {
        return 0x2;
    }

    @Override
    public long getRate() {
        return rate;
    }

    @Override
    public OFMeterBandDscpRemark.Builder setRate(long rate) {
        this.rate = rate;
        this.rateSet = true;
        return this;
    }
    @Override
    public long getBurstSize() {
        return burstSize;
    }

    @Override
    public OFMeterBandDscpRemark.Builder setBurstSize(long burstSize) {
        this.burstSize = burstSize;
        this.burstSizeSet = true;
        return this;
    }
    @Override
    public short getPrecLevel() {
        return precLevel;
    }

    @Override
    public OFMeterBandDscpRemark.Builder setPrecLevel(short precLevel) {
        this.precLevel = precLevel;
        this.precLevelSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandExperimenterVer13.java103
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandExperimenterVer14.java103
        BuilderWithParent(OFMeterBandExperimenterVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public int getType() {
        return 0xffff;
    }

    @Override
    public long getRate() {
        return rate;
    }

    @Override
    public OFMeterBandExperimenter.Builder setRate(long rate) {
        this.rate = rate;
        this.rateSet = true;
        return this;
    }
    @Override
    public long getBurstSize() {
        return burstSize;
    }

    @Override
    public OFMeterBandExperimenter.Builder setBurstSize(long burstSize) {
        this.burstSize = burstSize;
        this.burstSizeSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return experimenter;
    }

    @Override
    public OFMeterBandExperimenter.Builder setExperimenter(long experimenter) {
        this.experimenter = experimenter;
        this.experimenterSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwClearDataReplyVer14.java107
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwClearDataReplyVer14.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwClearDataReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x16L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnBwClearDataReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnBwClearDataReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableGetReplyVer14.java107
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableGetReplyVer14.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableGetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x14L;
    }

    @Override
    public long getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnBwEnableGetReply.Builder setEnabled(long enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableGetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableSetRequestVer14.java107
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableSetRequestVer14.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableSetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x12L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnBwEnableSetRequest.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableSetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsReplyVer14.java315
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsReplyVer14.java315
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsReplyVer14.java315
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsReplyVer14.java315
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsReplyVer14.java315
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsReplyVer14.java315
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsReplyVer14.java315
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsReplyVer14.java315
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsReplyVer14.java315
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsReplyVer14.java358
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsReplyVer14.java315
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsReplyVer14.java315
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsReplyVer14.java315
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsReplyVer14.java315
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsReplyVer14.java315
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsReplyVer14.java315
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer14.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xdL
            int subtype = bb.readInt();
            if(subtype != 0xd)
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsRequestVer14.java268
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsRequestVer14.java268
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsRequestVer14.java313
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsRequestVer14.java360
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsRequestVer14.java309
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsRequestVer14.java268
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsRequestVer14.java399
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsRequestVer14.java399
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsRequestVer14.java268
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsRequestVer14.java268
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsRequestVer14.java268
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsRequestVer14.java313
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsRequestVer14.java268
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsRequestVer14.java268
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsRequestVer14.java306
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsRequestVer14.java306
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer14.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0xdL
            int subtype = bb.readInt();
            if(subtype != 0xd)
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableGetReplyVer14.java107
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableGetReplyVer14.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdleEnableGetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x27L;
    }

    @Override
    public long getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnFlowIdleEnableGetReply.Builder setEnabled(long enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }


        @Override
        public OFBsnFlowIdleEnableGetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableSetRequestVer14.java107
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableSetRequestVer14.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdleEnableSetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x24L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnFlowIdleEnableSetRequest.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }


        @Override
        public OFBsnFlowIdleEnableSetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetMirroringReplyVer14.java107
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetMirroringReplyVer14.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetMirroringReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnGetMirroringReply.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnGetMirroringReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetMirroringRequestVer14.java107
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetMirroringRequestVer14.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetMirroringRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnGetMirroringRequest.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnGetMirroringRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetSwitchPipelineReplyVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetSwitchPipelineReplyVer14.java177
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetSwitchPipelineReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x34L;
    }

    @Override
    public String getPipeline() {
        return pipeline;
    }

    @Override
    public OFBsnGetSwitchPipelineReply.Builder setPipeline(String pipeline) {
        this.pipeline = pipeline;
        this.pipelineSet = true;
        return this;
    }


        @Override
        public OFBsnGetSwitchPipelineReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetAuxCxnsRequestVer14.java107
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetAuxCxnsRequestVer14.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetAuxCxnsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3aL;
    }

    @Override
    public long getNumAux() {
        return numAux;
    }

    @Override
    public OFBsnSetAuxCxnsRequest.Builder setNumAux(long numAux) {
        this.numAux = numAux;
        this.numAuxSet = true;
        return this;
    }


        @Override
        public OFBsnSetAuxCxnsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetMirroringVer14.java107
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetMirroringVer14.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetMirroring.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnSetMirroring.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnSetMirroring build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionReplyVer14.java107
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionReplyVer14.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetPktinSuppressionReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x19L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetPktinSuppressionReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnSetPktinSuppressionReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetSwitchPipelineReplyVer14.java107
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetSwitchPipelineReplyVer14.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetSwitchPipelineReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x36L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetSwitchPipelineReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnSetSwitchPipelineReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetSwitchPipelineRequestVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetSwitchPipelineRequestVer14.java177
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetSwitchPipelineRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x35L;
    }

    @Override
    public String getPipeline() {
        return pipeline;
    }

    @Override
    public OFBsnSetSwitchPipelineRequest.Builder setPipeline(String pipeline) {
        this.pipeline = pipeline;
        this.pipelineSet = true;
        return this;
    }


        @Override
        public OFBsnSetSwitchPipelineRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnTimeReplyVer14.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnTimeReplyVer14.java177
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTimeReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2dL;
    }

    @Override
    public U64 getTimeMs() {
        return timeMs;
    }

    @Override
    public OFBsnTimeReply.Builder setTimeMs(U64 timeMs) {
        this.timeMs = timeMs;
        this.timeMsSet = true;
        return this;
    }


        @Override
        public OFBsnTimeReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortCreateRequestVer14.java105
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortCreateRequestVer14.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortCreateRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public OFBsnVport getVport() {
        return vport;
    }

    @Override
    public OFBsnVirtualPortCreateRequest.Builder setVport(OFBsnVport vport) {
        this.vport = vport;
        this.vportSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortCreateRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortRemoveReplyVer14.java107
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortRemoveReplyVer14.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortRemoveReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1aL;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnVirtualPortRemoveReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortRemoveReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortRemoveRequestVer14.java107
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortRemoveRequestVer14.java172
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortRemoveRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x11L;
    }

    @Override
    public long getVportNo() {
        return vportNo;
    }

    @Override
    public OFBsnVirtualPortRemoveRequest.Builder setVportNo(long vportNo) {
        this.vportNo = vportNo;
        this.vportNoSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortRemoveRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
net/onrc/openvirtex/messages/ver10/OVXPacketInVer10.java350
net/onrc/openvirtex/messages/ver13/OVXPacketInVer13.java407
                        ((OFMatchV1)match).getIpv4Dst().getInt());
            }
        }
    }

    private void installDropRule(final PhysicalSwitch sw, final Match match) {
    	final U64 DEFAULT_COOKIE = U64.ZERO;
    	final OFPort DEFAULT_OUT_PORT = OFPort.ANY;
    	 final Set<OFFlowModFlags> DEFAULT_FLAGS = ImmutableSet.<OFFlowModFlags>of();
    	 final List<OFAction> DEFAULT_ACTIONS = ImmutableList.<OFAction>of();
    	 final OVXFlowMod fm =OVXFactoryInst.myOVXFactory.buildOVXFlowAdd(0, match, DEFAULT_COOKIE, 0, (short) 1, 0, this.getBufferId(), DEFAULT_OUT_PORT, DEFAULT_FLAGS, DEFAULT_ACTIONS);		
        sw.sendMsg(fm, sw);
    }

    private Integer fetchTenantId(final Match match, final Mappable map,
            final boolean useMAC) {
        MACAddress mac = MACAddress.valueOf(((OFMatchV1)match).getEthSrc().toString());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxRequestVer10.java477
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxRequestVer11.java477
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxRequestVer12.java477
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxRequestVer13.java477
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxRequestVer14.java477
        StringBuilder b = new StringBuilder("OFBsnPduRxRequestVer10(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("timeoutMs=").append(timeoutMs);
        b.append(", ");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("slotNum=").append(slotNum);
        b.append(", ");
        b.append("data=").append(Arrays.toString(data));
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxRequestVer10.java477
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxRequestVer11.java477
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxRequestVer12.java477
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxRequestVer13.java477
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxRequestVer14.java477
        StringBuilder b = new StringBuilder("OFBsnPduTxRequestVer10(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("txIntervalMs=").append(txIntervalMs);
        b.append(", ");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("slotNum=").append(slotNum);
        b.append(", ");
        b.append("data=").append(Arrays.toString(data));
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFEchoReplyVer10.java161
org/projectfloodlight/openflow/protocol/ver11/OFEchoReplyVer11.java161
org/projectfloodlight/openflow/protocol/ver12/OFEchoReplyVer12.java161
org/projectfloodlight/openflow/protocol/ver13/OFEchoReplyVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFEchoReplyVer14.java161
    }

    @Override
    public OFType getType() {
        return OFType.ECHO_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFEchoReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFEchoReply.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFEchoReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            byte[] data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFEchoReplyVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFEchoRequestVer10.java161
org/projectfloodlight/openflow/protocol/ver11/OFEchoRequestVer11.java161
org/projectfloodlight/openflow/protocol/ver12/OFEchoRequestVer12.java161
org/projectfloodlight/openflow/protocol/ver13/OFEchoRequestVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFEchoRequestVer14.java161
    }

    @Override
    public OFType getType() {
        return OFType.ECHO_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFEchoRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFEchoRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFEchoRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            byte[] data = this.dataSet ? this.data : DEFAULT_DATA;
            if(data == null)
                throw new NullPointerException("Property data must not be null");


            return new OFEchoRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPacketOutVer10.java452
org/projectfloodlight/openflow/protocol/ver11/OFPacketOutVer11.java457
org/projectfloodlight/openflow/protocol/ver12/OFPacketOutVer12.java457
org/projectfloodlight/openflow/protocol/ver13/OFPacketOutVer13.java457
org/projectfloodlight/openflow/protocol/ver14/OFPacketOutVer14.java457
        StringBuilder b = new StringBuilder("OFPacketOutVer10(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("bufferId=").append(bufferId);
        b.append(", ");
        b.append("inPort=").append(inPort);
        b.append(", ");
        b.append("actions=").append(actions);
        b.append(", ");
        b.append("data=").append(Arrays.toString(data));
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFeaturesReplyVer11.java426
org/projectfloodlight/openflow/protocol/ver12/OFFeaturesReplyVer12.java426
            throw new UnsupportedOperationException("Property auxiliaryId not supported in version 1.1");
    }
//
        @Override
        public OFFeaturesReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            DatapathId datapathId = this.datapathIdSet ? this.datapathId : DEFAULT_DATAPATH_ID;
            if(datapathId == null)
                throw new NullPointerException("Property datapathId must not be null");
            long nBuffers = this.nBuffersSet ? this.nBuffers : DEFAULT_N_BUFFERS;
            short nTables = this.nTablesSet ? this.nTables : DEFAULT_N_TABLES;
            Set<OFCapabilities> capabilities = this.capabilitiesSet ? this.capabilities : DEFAULT_CAPABILITIES;
            if(capabilities == null)
                throw new NullPointerException("Property capabilities must not be null");
            long reserved = this.reservedSet ? this.reserved : DEFAULT_RESERVED;
            List<OFPortDesc> ports = this.portsSet ? this.ports : DEFAULT_PORTS;
            if(ports == null)
                throw new NullPointerException("Property ports must not be null");


            return new OFFeaturesReplyVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java157
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java157
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java157
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java157
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java157
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.4");
    }

    @Override
    public int getImportance() {
        return importance;
    }



    public OFFlowAdd.Builder createBuilder() {
FileLine
net/onrc/openvirtex/api/service/handlers/tenant/ConnectHost.java94
net/onrc/openvirtex/api/service/handlers/tenant/CreateOVXPort.java108
                            + ": Unable to connect host : " + e.getMessage()),
                    0);
        } catch (final InvalidPortException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Invalid port : " + e.getMessage()), 0);
        } catch (final InvalidTenantIdException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Invalid tenant id : " + e.getMessage()), 0);
        } catch (final IndexOutOfBoundException e) {
            resp = new JSONRPC2Response(
                    new JSONRPC2Error(
                            JSONRPC2Error.INVALID_PARAMS.getCode(),
                            this.cmdName()
                                    + ": Impossible to create the virtual port, too many ports on this virtual switch : "
                                    + e.getMessage()), 0);
        } catch (final NetworkMappingException e) {
FileLine
net/onrc/openvirtex/messages/ver10/OVXFlowRemovedVer10.java43
net/onrc/openvirtex/messages/ver13/OVXFlowRemovedVer13.java47
				idleTimeout, packetCount, byteCount);
		// TODO Auto-generated constructor stub
	}

	Logger log = LogManager.getLogger(OVXFlowRemoved.class.getName());

    @Override
    public void virtualize(final PhysicalSwitch sw) {

        int tid = (int) (this.cookie.getValue()>> 32);

        /* a PhysSwitch can be a OVXLink */
        if (!(sw.getMap().hasVirtualSwitch(sw, tid))) {
            return;
        }
        try {
            OVXSwitch vsw = sw.getMap().getVirtualSwitch(sw, tid);
            /*
             * If we are a Big Switch we might receive multiple same-cookie FR's
             * from multiple PhysicalSwitches. Only handle if the FR's newly
             * seen
             */
            if (vsw.getFlowTable().hasFlowMod(this.cookie.getValue())) {
                OVXFlowMod fm = vsw.getFlowMod(this.cookie.getValue());
                /*
                 * send north ONLY if tenant controller wanted a FlowRemoved for
                 * the FlowMod
                 */
                vsw.deleteFlowMod(this.cookie.getValue());
                if (fm.hasFlag(OFFlowModFlagsSerializerVer10.SEND_FLOW_REM_VAL)) {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java707
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java759
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java759
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortStatusVer13.java725
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java759
org/projectfloodlight/openflow/protocol/ver13/OFPortOpticalVer13.java506
org/projectfloodlight/openflow/protocol/ver14/OFPortDescVer14.java654
        } else if (!portNo.equals(other.portNo))
            return false;
        if (hwAddr == null) {
            if (other.hwAddr != null)
                return false;
        } else if (!hwAddr.equals(other.hwAddr))
            return false;
        if (name == null) {
            if (other.name != null)
                return false;
        } else if (!name.equals(other.name))
            return false;
        if (config == null) {
            if (other.config != null)
                return false;
        } else if (!config.equals(other.config))
            return false;
        if (state == null) {
            if (other.state != null)
                return false;
        } else if (!state.equals(other.state))
            return false;
        if (curr == null) {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java747
org/projectfloodlight/openflow/protocol/ver13/OFPortOpticalVer13.java531
org/projectfloodlight/openflow/protocol/ver14/OFPortDescVer14.java679
        } else if (!peer.equals(other.peer))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime * result + ((hwAddr == null) ? 0 : hwAddr.hashCode());
        result = prime * result + ((name == null) ? 0 : name.hashCode());
        result = prime * result + ((config == null) ? 0 : config.hashCode());
        result = prime * result + ((state == null) ? 0 : state.hashCode());
        result = prime * result + ((curr == null) ? 0 : curr.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java900
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java751
        public void write(ChannelBuffer bb, OFCalientFlowStatsEntryVer13 message) {
            int startIndex = bb.writerIndex();
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            message.tableId.writeByte(bb);
            // pad: 1 bytes
            bb.writeZero(1);
            bb.writeInt(U32.t(message.durationSec));
            bb.writeInt(U32.t(message.durationNsec));
            bb.writeShort(U16.t(message.priority));
            bb.writeShort(U16.t(message.idleTimeout));
            bb.writeShort(U16.t(message.hardTimeout));
            OFFlowModFlagsSerializerVer13.writeTo(bb, message.flags);
            // pad: 4 bytes
            bb.writeZero(4);
            bb.writeLong(message.cookie.getValue());
FileLine
org/projectfloodlight/openflow/types/OFVlanVidMatch.java151
org/projectfloodlight/openflow/types/VlanVid.java67
    }


    @Override
    public int getLength() {
        return LENGTH;
    }


    private volatile byte[] bytesCache = null;

    public byte[] getBytes() {
        if (bytesCache == null) {
            synchronized (this) {
                if (bytesCache == null) {
                    bytesCache =
                            new byte[] { (byte) ((vid >>> 8) & 0xFF),
                                         (byte) ((vid >>> 0) & 0xFF) };
                }
            }
        }
        return Arrays.copyOf(bytesCache, bytesCache.length);
    }

    public void write2Bytes(ChannelBuffer c) {
        c.writeShort(this.vid);
    }

    public void write2BytesOF10(ChannelBuffer c) {
        c.writeShort(this.getVlan());
    }

    public static OFVlanVidMatch read2Bytes(ChannelBuffer c) throws OFParseError {
FileLine
net/onrc/openvirtex/api/service/handlers/tenant/AddController.java87
net/onrc/openvirtex/api/service/handlers/tenant/CreateOVXSwitch.java100
                                    + e.getMessage()), 0);
        } catch (final InvalidDPIDException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Invalid DPID : " + e.getMessage()), 0);
        } catch (final InvalidTenantIdException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Invalid tenant id : " + e.getMessage()), 0);
        } catch (final NetworkMappingException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": " + e.getMessage()), 0);
        } catch (ControllerUnavailableException e) {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFDescStatsRequestVer10.java106
org/projectfloodlight/openflow/protocol/ver10/OFDescStatsRequestVer10.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFHelloFailedCodeSerializerVer10.java30
org/projectfloodlight/openflow/protocol/ver11/OFHelloFailedCodeSerializerVer11.java30
org/projectfloodlight/openflow/protocol/ver12/OFHelloFailedCodeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFHelloFailedCodeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFHelloFailedCodeSerializerVer14.java30
public class OFHelloFailedCodeSerializerVer10 {

    public final static short INCOMPATIBLE_VAL = (short) 0x0;
    public final static short EPERM_VAL = (short) 0x1;

    public static OFHelloFailedCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFHelloFailedCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFHelloFailedCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFHelloFailedCode ofWireValue(short val) {
        switch(val) {
            case INCOMPATIBLE_VAL:
                return OFHelloFailedCode.INCOMPATIBLE;
            case EPERM_VAL:
                return OFHelloFailedCode.EPERM;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFHelloFailedCode in version 1.0: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPacketInReasonSerializerVer10.java30
org/projectfloodlight/openflow/protocol/ver11/OFPacketInReasonSerializerVer11.java30
public class OFPacketInReasonSerializerVer10 {

    public final static byte NO_MATCH_VAL = (byte) 0x0;
    public final static byte ACTION_VAL = (byte) 0x1;

    public static OFPacketInReason readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFPacketInReason e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFPacketInReason e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFPacketInReason ofWireValue(byte val) {
        switch(val) {
            case NO_MATCH_VAL:
                return OFPacketInReason.NO_MATCH;
            case ACTION_VAL:
                return OFPacketInReason.ACTION;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFPacketInReason in version 1.0: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPacketOutVer10.java353
org/projectfloodlight/openflow/protocol/ver11/OFPacketOutVer11.java353
org/projectfloodlight/openflow/protocol/ver12/OFPacketOutVer12.java353
org/projectfloodlight/openflow/protocol/ver13/OFPacketOutVer13.java353
org/projectfloodlight/openflow/protocol/ver14/OFPacketOutVer14.java353
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 13
            byte type = bb.readByte();
            if(type != (byte) 0xd)
                throw new OFParseError("Wrong type: Expected=OFType.PACKET_OUT(13), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            OFBufferId bufferId = OFBufferId.of(bb.readInt());
            OFPort inPort = OFPort.read2Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueGetConfigRequestVer10.java103
org/projectfloodlight/openflow/protocol/ver11/OFQueueGetConfigRequestVer11.java103
org/projectfloodlight/openflow/protocol/ver12/OFQueueGetConfigRequestVer12.java103
org/projectfloodlight/openflow/protocol/ver13/OFQueueGetConfigRequestVer13.java103
    }

    @Override
    public OFType getType() {
        return OFType.QUEUE_GET_CONFIG_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueGetConfigRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFQueueGetConfigRequest.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }


        @Override
        public OFQueueGetConfigRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFPort port = this.portSet ? this.port : parentMessage.port;
                if(port == null)
                    throw new NullPointerException("Property port must not be null");

                //
                return new OFQueueGetConfigRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsRequestVer10.java106
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsRequestVer10.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFTableStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxRequestVer11.java449
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxRequestVer12.java449
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxRequestVer13.java449
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxRequestVer14.java449
            bb.writeByte((byte) 0x2);
            // fixed value property type = 4
            bb.writeByte((byte) 0x4);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            bb.writeInt(U32.t(message.xid));
            // fixed value property experimenter = 0x5c16c7L
            bb.writeInt(0x5c16c7);
            // fixed value property subtype = 0x21L
            bb.writeInt(0x21);
            bb.writeInt(U32.t(message.timeoutMs));
            message.portNo.write4Bytes(bb);
            bb.writeByte(U8.t(message.slotNum));
            // pad: 3 bytes
            bb.writeZero(3);
            bb.writeBytes(message.data);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFBsnPduRxRequestVer11(");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxRequestVer11.java449
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxRequestVer12.java449
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxRequestVer13.java449
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxRequestVer14.java449
            bb.writeByte((byte) 0x2);
            // fixed value property type = 4
            bb.writeByte((byte) 0x4);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            bb.writeInt(U32.t(message.xid));
            // fixed value property experimenter = 0x5c16c7L
            bb.writeInt(0x5c16c7);
            // fixed value property subtype = 0x1fL
            bb.writeInt(0x1f);
            bb.writeInt(U32.t(message.txIntervalMs));
            message.portNo.write4Bytes(bb);
            bb.writeByte(U8.t(message.slotNum));
            // pad: 3 bytes
            bb.writeZero(3);
            bb.writeBytes(message.data);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFBsnPduTxRequestVer11(");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFDescStatsRequestVer11.java106
org/projectfloodlight/openflow/protocol/ver11/OFDescStatsRequestVer11.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java865
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java865
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java865
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java865
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java865
            bb.writeByte((short) 0x0);
            bb.writeShort(U16.t(message.idleTimeout));
            bb.writeShort(U16.t(message.hardTimeout));
            bb.writeShort(U16.t(message.priority));
            bb.writeInt(message.bufferId.getInt());
            message.outPort.write4Bytes(bb);
            message.outGroup.write4Bytes(bb);
            OFFlowModFlagsSerializerVer11.writeTo(bb, message.flags);
            // pad: 2 bytes
            bb.writeZero(2);
            message.match.writeTo(bb);
            ChannelUtils.writeList(bb, message.instructions);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFFlowAddVer11(");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsRequestVer11.java106
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsRequestVer11.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFGroupDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java803
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java803
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java803
org/projectfloodlight/openflow/protocol/ver13/OFPortOpticalVer13.java531
org/projectfloodlight/openflow/protocol/ver14/OFPortDescVer14.java679
        if( maxSpeed != other.maxSpeed)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime * result + ((hwAddr == null) ? 0 : hwAddr.hashCode());
        result = prime * result + ((name == null) ? 0 : name.hashCode());
        result = prime * result + ((config == null) ? 0 : config.hashCode());
        result = prime * result + ((state == null) ? 0 : state.hashCode());
        result = prime * result + ((curr == null) ? 0 : curr.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableModVer11.java376
org/projectfloodlight/openflow/protocol/ver12/OFTableModVer12.java376
org/projectfloodlight/openflow/protocol/ver13/OFTableModVer13.java376
        OFTableModVer11 other = (OFTableModVer11) obj;

        if( xid != other.xid)
            return false;
        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if( config != other.config)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime *  (int) (config ^ (config >>> 32));
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsRequestVer11.java106
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsRequestVer11.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFTableStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFControllerMaxLenSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFControllerMaxLenSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFControllerMaxLenSerializerVer14.java30
public class OFControllerMaxLenSerializerVer12 {

    public final static short MAX_VAL = (short) 0xffe5;
    public final static short NO_BUFFER_VAL = (short) 0xffff;

    public static OFControllerMaxLen readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFControllerMaxLen e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFControllerMaxLen e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFControllerMaxLen ofWireValue(short val) {
        switch(val) {
            case MAX_VAL:
                return OFControllerMaxLen.MAX;
            case NO_BUFFER_VAL:
                return OFControllerMaxLen.NO_BUFFER;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFControllerMaxLen in version 1.2: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFDescStatsRequestVer12.java106
org/projectfloodlight/openflow/protocol/ver12/OFDescStatsRequestVer12.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java865
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java865
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java865
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java865
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java865
            bb.writeByte((short) 0x0);
            bb.writeShort(U16.t(message.idleTimeout));
            bb.writeShort(U16.t(message.hardTimeout));
            bb.writeShort(U16.t(message.priority));
            bb.writeInt(message.bufferId.getInt());
            message.outPort.write4Bytes(bb);
            message.outGroup.write4Bytes(bb);
            OFFlowModFlagsSerializerVer12.writeTo(bb, message.flags);
            // pad: 2 bytes
            bb.writeZero(2);
            message.match.writeTo(bb);
            ChannelUtils.writeList(bb, message.instructions);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFFlowAddVer12(");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsRequestVer12.java106
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsRequestVer12.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFGroupDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsRequestVer12.java106
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsRequestVer12.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupFeaturesStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_FEATURES;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupFeaturesStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFGroupFeaturesStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFMatchTypeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFMatchTypeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFMatchTypeSerializerVer14.java30
public class OFMatchTypeSerializerVer12 {

    public final static short STANDARD_VAL = (short) 0x0;
    public final static short OXM_VAL = (short) 0x1;

    public static OFMatchType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFMatchType e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFMatchType e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFMatchType ofWireValue(short val) {
        switch(val) {
            case STANDARD_VAL:
                return OFMatchType.STANDARD;
            case OXM_VAL:
                return OFMatchType.OXM;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFMatchType in version 1.2: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpOpMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpOpMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpOpMaskedVer14.java119
        BuilderWithParent(OFOxmArpOpMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80002b04L;
    }

    @Override
    public ArpOpcode getValue() {
        return value;
    }

    @Override
    public OFOxmArpOpMasked.Builder setValue(ArpOpcode value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ArpOpcode getMask() {
        return mask;
    }

    @Override
    public OFOxmArpOpMasked.Builder setMask(ArpOpcode mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ArpOpcode> getMatchField() {
        return MatchField.ARP_OP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ArpOpcode> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpShaMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpShaMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpShaMaskedVer14.java119
        BuilderWithParent(OFOxmArpShaMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x8000310cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpShaMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmArpShaMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_SHA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpSpaMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpSpaMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpSpaMaskedVer14.java119
        BuilderWithParent(OFOxmArpSpaMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80002d08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpSpaMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmArpSpaMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_SPA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpThaMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpThaMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpThaMaskedVer14.java119
        BuilderWithParent(OFOxmArpThaMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x8000330cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpThaMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmArpThaMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_THA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpTpaMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpTpaMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpTpaMaskedVer14.java119
        BuilderWithParent(OFOxmArpTpaMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80002f08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpTpaMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmArpTpaMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_TPA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnEgrPortGroupIdMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnEgrPortGroupIdMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnEgrPortGroupIdMaskedVer14.java119
        BuilderWithParent(OFOxmBsnEgrPortGroupIdMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x30f08L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnEgrPortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnEgrPortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_EGR_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnGlobalVrfAllowedMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnGlobalVrfAllowedMaskedVer13.java119
        BuilderWithParent(OFOxmBsnGlobalVrfAllowedMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x30702L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmBsnGlobalVrfAllowedMasked.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBooleanValue getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnGlobalVrfAllowedMasked.Builder setMask(OFBooleanValue mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.BSN_GLOBAL_VRF_ALLOWED;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts128MaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts128MaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts128MaskedVer14.java119
        BuilderWithParent(OFOxmBsnInPorts128MaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x30120L;
    }

    @Override
    public OFBitMask128 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts128Masked.Builder setValue(OFBitMask128 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBitMask128 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInPorts128Masked.Builder setMask(OFBitMask128 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask128> getMatchField() {
        return MatchField.BSN_IN_PORTS_128;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBitMask128> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts512MaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts512MaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts512MaskedVer14.java119
        BuilderWithParent(OFOxmBsnInPorts512MaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x32780L;
    }

    @Override
    public OFBitMask512 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts512Masked.Builder setValue(OFBitMask512 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBitMask512 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInPorts512Masked.Builder setMask(OFBitMask512 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask512> getMatchField() {
        return MatchField.BSN_IN_PORTS_512;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBitMask512> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnIngressPortGroupIdMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnIngressPortGroupIdMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnIngressPortGroupIdMaskedVer14.java119
        BuilderWithParent(OFOxmBsnIngressPortGroupIdMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x32908L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnIngressPortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnIngressPortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_INGRESS_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL2CacheHitMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL2CacheHitMaskedVer13.java119
        BuilderWithParent(OFOxmBsnL2CacheHitMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x32502L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL2CacheHitMasked.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBooleanValue getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL2CacheHitMasked.Builder setMask(OFBooleanValue mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.BSN_L2_CACHE_HIT;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3DstClassIdMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3DstClassIdMaskedVer13.java119
        BuilderWithParent(OFOxmBsnL3DstClassIdMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x30d08L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3DstClassIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL3DstClassIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_DST_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3InterfaceClassIdMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3InterfaceClassIdMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3InterfaceClassIdMaskedVer14.java119
        BuilderWithParent(OFOxmBsnL3InterfaceClassIdMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x30908L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3InterfaceClassIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL3InterfaceClassIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_INTERFACE_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3SrcClassIdMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3SrcClassIdMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3SrcClassIdMaskedVer14.java119
        BuilderWithParent(OFOxmBsnL3SrcClassIdMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x30b08L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3SrcClassIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL3SrcClassIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_SRC_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnLagIdMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnLagIdMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnLagIdMaskedVer14.java119
        BuilderWithParent(OFOxmBsnLagIdMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x30308L;
    }

    @Override
    public LagId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnLagIdMasked.Builder setValue(LagId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public LagId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnLagIdMasked.Builder setMask(LagId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<LagId> getMatchField() {
        return MatchField.BSN_LAG_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<LagId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnTcpFlagsMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnTcpFlagsMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnTcpFlagsMaskedVer14.java119
        BuilderWithParent(OFOxmBsnTcpFlagsMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x32104L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnTcpFlagsMasked.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U16 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnTcpFlagsMasked.Builder setMask(U16 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.BSN_TCP_FLAGS;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf0MaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf0MaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf0MaskedVer14.java119
        BuilderWithParent(OFOxmBsnUdf0MaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x31108L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf0Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf0Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF0;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf1MaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf1MaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf1MaskedVer14.java119
        BuilderWithParent(OFOxmBsnUdf1MaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x31308L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf1Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf1Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF1;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf2MaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf2MaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf2MaskedVer14.java119
        BuilderWithParent(OFOxmBsnUdf2MaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x31508L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf2Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf2Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF2;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf3MaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf3MaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf3MaskedVer14.java119
        BuilderWithParent(OFOxmBsnUdf3MaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x31708L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf3Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf3Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF3;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf4MaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf4MaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf4MaskedVer14.java119
        BuilderWithParent(OFOxmBsnUdf4MaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x31908L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf4Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf4Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF4;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf5MaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf5MaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf5MaskedVer14.java119
        BuilderWithParent(OFOxmBsnUdf5MaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x31b08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf5Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf5Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF5;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf6MaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf6MaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf6MaskedVer14.java119
        BuilderWithParent(OFOxmBsnUdf6MaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x31d08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf6Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf6Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF6;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf7MaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf7MaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf7MaskedVer14.java119
        BuilderWithParent(OFOxmBsnUdf7MaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x31f08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf7Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf7Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF7;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVlanXlatePortGroupIdMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVlanXlatePortGroupIdMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVlanXlatePortGroupIdMaskedVer14.java119
        BuilderWithParent(OFOxmBsnVlanXlatePortGroupIdMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x32308L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVlanXlatePortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnVlanXlatePortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_VLAN_XLATE_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVrfMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVrfMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVrfMaskedVer14.java119
        BuilderWithParent(OFOxmBsnVrfMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x30508L;
    }

    @Override
    public VRF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVrfMasked.Builder setValue(VRF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public VRF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnVrfMasked.Builder setMask(VRF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<VRF> getMatchField() {
        return MatchField.BSN_VRF;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<VRF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthDstMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthDstMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthDstMaskedVer14.java119
        BuilderWithParent(OFOxmEthDstMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x8000070cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthDstMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmEthDstMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthSrcMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthSrcMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthSrcMaskedVer14.java119
        BuilderWithParent(OFOxmEthSrcMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x8000090cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthSrcMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmEthSrcMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthTypeMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthTypeMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthTypeMaskedVer14.java119
        BuilderWithParent(OFOxmEthTypeMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80000b04L;
    }

    @Override
    public EthType getValue() {
        return value;
    }

    @Override
    public OFOxmEthTypeMasked.Builder setValue(EthType value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public EthType getMask() {
        return mask;
    }

    @Override
    public OFOxmEthTypeMasked.Builder setMask(EthType mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<EthType> getMatchField() {
        return MatchField.ETH_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<EthType> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4CodeMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4CodeMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4CodeMaskedVer14.java119
        BuilderWithParent(OFOxmIcmpv4CodeMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80002902L;
    }

    @Override
    public ICMPv4Code getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4CodeMasked.Builder setValue(ICMPv4Code value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ICMPv4Code getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv4CodeMasked.Builder setMask(ICMPv4Code mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Code> getMatchField() {
        return MatchField.ICMPV4_CODE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ICMPv4Code> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4TypeMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4TypeMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4TypeMaskedVer14.java119
        BuilderWithParent(OFOxmIcmpv4TypeMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80002702L;
    }

    @Override
    public ICMPv4Type getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4TypeMasked.Builder setValue(ICMPv4Type value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ICMPv4Type getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv4TypeMasked.Builder setMask(ICMPv4Type mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Type> getMatchField() {
        return MatchField.ICMPV4_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ICMPv4Type> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6CodeMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6CodeMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6CodeMaskedVer14.java119
        BuilderWithParent(OFOxmIcmpv6CodeMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80003d02L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6CodeMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv6CodeMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_CODE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6TypeMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6TypeMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6TypeMaskedVer14.java119
        BuilderWithParent(OFOxmIcmpv6TypeMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80003b02L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6TypeMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv6TypeMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPhyPortMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPhyPortMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPhyPortMaskedVer14.java119
        BuilderWithParent(OFOxmInPhyPortMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80000308L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPhyPortMasked.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFPort getMask() {
        return mask;
    }

    @Override
    public OFOxmInPhyPortMasked.Builder setMask(OFPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PHY_PORT;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPortMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPortMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPortMaskedVer14.java119
        BuilderWithParent(OFOxmInPortMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80000108L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPortMasked.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFPort getMask() {
        return mask;
    }

    @Override
    public OFOxmInPortMasked.Builder setMask(OFPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PORT;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpDscpMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpDscpMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpDscpMaskedVer14.java119
        BuilderWithParent(OFOxmIpDscpMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80001102L;
    }

    @Override
    public IpDscp getValue() {
        return value;
    }

    @Override
    public OFOxmIpDscpMasked.Builder setValue(IpDscp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpDscp getMask() {
        return mask;
    }

    @Override
    public OFOxmIpDscpMasked.Builder setMask(IpDscp mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpDscp> getMatchField() {
        return MatchField.IP_DSCP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpDscp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpEcnMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpEcnMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpEcnMaskedVer14.java119
        BuilderWithParent(OFOxmIpEcnMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80001302L;
    }

    @Override
    public IpEcn getValue() {
        return value;
    }

    @Override
    public OFOxmIpEcnMasked.Builder setValue(IpEcn value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpEcn getMask() {
        return mask;
    }

    @Override
    public OFOxmIpEcnMasked.Builder setMask(IpEcn mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpEcn> getMatchField() {
        return MatchField.IP_ECN;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpEcn> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpProtoMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpProtoMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpProtoMaskedVer14.java119
        BuilderWithParent(OFOxmIpProtoMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80001502L;
    }

    @Override
    public IpProtocol getValue() {
        return value;
    }

    @Override
    public OFOxmIpProtoMasked.Builder setValue(IpProtocol value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpProtocol getMask() {
        return mask;
    }

    @Override
    public OFOxmIpProtoMasked.Builder setMask(IpProtocol mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpProtocol> getMatchField() {
        return MatchField.IP_PROTO;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpProtocol> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4DstMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4DstMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4DstMaskedVer14.java119
        BuilderWithParent(OFOxmIpv4DstMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80001908L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4DstMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv4DstMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4SrcMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4SrcMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4SrcMaskedVer14.java119
        BuilderWithParent(OFOxmIpv4SrcMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80001708L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4SrcMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv4SrcMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6DstMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6DstMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6DstMaskedVer14.java119
        BuilderWithParent(OFOxmIpv6DstMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80003720L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6DstMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6DstMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6FlabelMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6FlabelMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6FlabelMaskedVer14.java119
        BuilderWithParent(OFOxmIpv6FlabelMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80003908L;
    }

    @Override
    public IPv6FlowLabel getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6FlabelMasked.Builder setValue(IPv6FlowLabel value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6FlowLabel getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6FlabelMasked.Builder setMask(IPv6FlowLabel mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6FlowLabel> getMatchField() {
        return MatchField.IPV6_FLABEL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6FlowLabel> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdSllMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdSllMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdSllMaskedVer14.java119
        BuilderWithParent(OFOxmIpv6NdSllMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x8000410cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdSllMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdSllMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_SLL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTargetMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTargetMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTargetMaskedVer14.java119
        BuilderWithParent(OFOxmIpv6NdTargetMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80003f20L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTargetMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdTargetMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_ND_TARGET;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTllMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTllMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTllMaskedVer14.java119
        BuilderWithParent(OFOxmIpv6NdTllMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x8000430cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTllMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdTllMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_TLL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6SrcMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6SrcMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6SrcMaskedVer14.java119
        BuilderWithParent(OFOxmIpv6SrcMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80003520L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6SrcMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6SrcMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMetadataMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmMetadataMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmMetadataMaskedVer14.java119
        BuilderWithParent(OFOxmMetadataMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80000510L;
    }

    @Override
    public OFMetadata getValue() {
        return value;
    }

    @Override
    public OFOxmMetadataMasked.Builder setValue(OFMetadata value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFMetadata getMask() {
        return mask;
    }

    @Override
    public OFOxmMetadataMasked.Builder setMask(OFMetadata mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFMetadata> getMatchField() {
        return MatchField.METADATA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFMetadata> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsLabelMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsLabelMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsLabelMaskedVer14.java119
        BuilderWithParent(OFOxmMplsLabelMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80004508L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsLabelMasked.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U32 getMask() {
        return mask;
    }

    @Override
    public OFOxmMplsLabelMasked.Builder setMask(U32 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.MPLS_LABEL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsTcMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsTcMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsTcMaskedVer14.java119
        BuilderWithParent(OFOxmMplsTcMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80004702L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsTcMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmMplsTcMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.MPLS_TC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpDstMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpDstMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpDstMaskedVer14.java119
        BuilderWithParent(OFOxmSctpDstMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80002504L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmSctpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpSrcMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpSrcMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpSrcMaskedVer14.java119
        BuilderWithParent(OFOxmSctpSrcMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80002304L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmSctpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpDstMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpDstMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpDstMaskedVer14.java119
        BuilderWithParent(OFOxmTcpDstMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80001d04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmTcpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpSrcMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpSrcMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpSrcMaskedVer14.java119
        BuilderWithParent(OFOxmTcpSrcMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80001b04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmTcpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4DstMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4DstMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4DstMaskedVer14.java119
        BuilderWithParent(OFOxmTunnelIpv4DstMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x14108L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4DstMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmTunnelIpv4DstMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4SrcMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4SrcMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4SrcMaskedVer14.java119
        BuilderWithParent(OFOxmTunnelIpv4SrcMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x13f08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4SrcMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmTunnelIpv4SrcMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpDstMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpDstMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpDstMaskedVer14.java119
        BuilderWithParent(OFOxmUdpDstMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80002104L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmUdpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpSrcMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpSrcMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpSrcMaskedVer14.java119
        BuilderWithParent(OFOxmUdpSrcMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80001f04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmUdpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanPcpMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanPcpMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanPcpMaskedVer14.java119
        BuilderWithParent(OFOxmVlanPcpMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80000f02L;
    }

    @Override
    public VlanPcp getValue() {
        return value;
    }

    @Override
    public OFOxmVlanPcpMasked.Builder setValue(VlanPcp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public VlanPcp getMask() {
        return mask;
    }

    @Override
    public OFOxmVlanPcpMasked.Builder setMask(VlanPcp mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<VlanPcp> getMatchField() {
        return MatchField.VLAN_PCP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<VlanPcp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanVidMaskedVer12.java119
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanVidMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanVidMaskedVer14.java119
        BuilderWithParent(OFOxmVlanVidMaskedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80000d04L;
    }

    @Override
    public OFVlanVidMatch getValue() {
        return value;
    }

    @Override
    public OFOxmVlanVidMasked.Builder setValue(OFVlanVidMatch value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFVlanVidMatch getMask() {
        return mask;
    }

    @Override
    public OFOxmVlanVidMasked.Builder setMask(OFVlanVidMatch mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFVlanVidMatch> getMatchField() {
        return MatchField.VLAN_VID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFVlanVidMatch> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFQueuePropExperimenterVer12.java34
org/projectfloodlight/openflow/protocol/ver13/OFQueuePropExperimenterVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFQueuePropExperimenterVer14.java34
    public final static OFQueuePropExperimenterVer12.Reader READER = new Reader();

    static class Reader implements OFMessageReader<OFQueuePropExperimenter> {
        @Override
        public OFQueuePropExperimenter readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 0xffff
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=0xffff(0xffff), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            // pad: 4 bytes
            bb.skipBytes(4);
            int experimenter = bb.readInt();
            bb.readerIndex(start);
            switch(experimenter) {
               default:
                   throw new OFParseError("Unknown value for discriminator experimenter of class OFQueuePropExperimenterVer12: " + experimenter);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFTableSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFTableSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFTableSerializerVer14.java30
public class OFTableSerializerVer12 {

    public final static byte MAX_VAL = (byte) 0xfe;
    public final static byte ALL_VAL = (byte) 0xff;

    public static OFTable readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFTable e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFTable e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFTable ofWireValue(byte val) {
        switch(val) {
            case MAX_VAL:
                return OFTable.MAX;
            case ALL_VAL:
                return OFTable.ALL;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFTable in version 1.2: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsRequestVer12.java106
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsRequestVer12.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFTableStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionStateSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionStateSerializerVer14.java30
public class OFBsnControllerConnectionStateSerializerVer13 {

    public final static byte BSN_CONTROLLER_CONNECTION_STATE_DISCONNECTED_VAL = (byte) 0x0;
    public final static byte BSN_CONTROLLER_CONNECTION_STATE_CONNECTED_VAL = (byte) 0x1;

    public static OFBsnControllerConnectionState readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBsnControllerConnectionState e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFBsnControllerConnectionState e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFBsnControllerConnectionState ofWireValue(byte val) {
        switch(val) {
            case BSN_CONTROLLER_CONNECTION_STATE_DISCONNECTED_VAL:
                return OFBsnControllerConnectionState.BSN_CONTROLLER_CONNECTION_STATE_DISCONNECTED;
            case BSN_CONTROLLER_CONNECTION_STATE_CONNECTED_VAL:
                return OFBsnControllerConnectionState.BSN_CONTROLLER_CONNECTION_STATE_CONNECTED;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFBsnControllerConnectionState in version 1.3: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableSetBucketsSizeVer13.java394
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableSetBucketsSizeVer13.java403
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableSetBucketsSizeVer14.java394
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableSetBucketsSizeVer14.java403
        OFBsnGentableSetBucketsSizeVer13 other = (OFBsnGentableSetBucketsSizeVer13) obj;

        if( xid != other.xid)
            return false;
        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if( bucketsSize != other.bucketsSize)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime *  (int) (bucketsSize ^ (bucketsSize >>> 32));
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java635
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java635
        public void funnel(OFBsnLacpStatsEntryVer13 message, PrimitiveSink sink) {
            message.portNo.putTo(sink);
            sink.putInt(message.actorSysPriority);
            message.actorSysMac.putTo(sink);
            sink.putInt(message.actorPortPriority);
            sink.putInt(message.actorPortNum);
            sink.putInt(message.actorKey);
            sink.putShort(message.convergenceStatus);
            // skip pad (1 bytes)
            sink.putInt(message.partnerSysPriority);
            message.partnerSysMac.putTo(sink);
            sink.putInt(message.partnerPortPriority);
            sink.putInt(message.partnerPortNum);
            sink.putInt(message.partnerKey);
            // skip pad (2 bytes)
        }
    }


    public void writeTo(ChannelBuffer bb) {
        WRITER.write(bb, this);
    }

    final static Writer WRITER = new Writer();
    static class Writer implements OFMessageWriter<OFBsnLacpStatsEntryVer13> {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpReplyVer13.java393
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpReplyVer14.java393
        OFBsnSetLacpReplyVer13 other = (OFBsnSetLacpReplyVer13) obj;

        if( xid != other.xid)
            return false;
        if( status != other.status)
            return false;
        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime *  (int) (status ^ (status >>> 32));
        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterSerializerVer14.java30
public class OFBsnVrfCounterSerializerVer13 {

    public final static byte BSN_VRF_COUNTER_BYTES_VAL = (byte) 0x0;
    public final static byte BSN_VRF_COUNTER_PACKETS_VAL = (byte) 0x1;

    public static OFBsnVrfCounter readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBsnVrfCounter e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFBsnVrfCounter e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFBsnVrfCounter ofWireValue(byte val) {
        switch(val) {
            case BSN_VRF_COUNTER_BYTES_VAL:
                return OFBsnVrfCounter.BSN_VRF_COUNTER_BYTES;
            case BSN_VRF_COUNTER_PACKETS_VAL:
                return OFBsnVrfCounter.BSN_VRF_COUNTER_PACKETS;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFBsnVrfCounter in version 1.3: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsRequestVer13.java422
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsRequestVer14.java422
        OFBsnVrfCounterStatsRequestVer13 other = (OFBsnVrfCounterStatsRequestVer13) obj;

        if( xid != other.xid)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if( vrf != other.vrf)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime *  (int) (vrf ^ (vrf >>> 32));
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFDescStatsRequestVer13.java106
org/projectfloodlight/openflow/protocol/ver13/OFDescStatsRequestVer13.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java909
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java905
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java904
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java905
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java903
            bb.writeByte((short) 0x0);
            bb.writeShort(U16.t(message.idleTimeout));
            bb.writeShort(U16.t(message.hardTimeout));
            bb.writeShort(U16.t(message.priority));
            bb.writeInt(message.bufferId.getInt());
            message.outPort.write4Bytes(bb);
            message.outGroup.write4Bytes(bb);
            OFFlowModFlagsSerializerVer13.writeTo(bb, message.flags);
            // pad: 2 bytes
            bb.writeZero(2);
            message.match.writeTo(bb);
            ChannelUtils.writeList(bb, message.instructions);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFFlowAddVer13(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsRequestVer13.java106
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsRequestVer13.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFGroupDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsRequestVer13.java106
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsRequestVer13.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupFeaturesStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_FEATURES;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupFeaturesStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFGroupFeaturesStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsRequestVer13.java381
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsRequestVer13.java381
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsRequestVer14.java381
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsRequestVer14.java381
        OFMeterConfigStatsRequestVer13 other = (OFMeterConfigStatsRequestVer13) obj;

        if( xid != other.xid)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if( meterId != other.meterId)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime *  (int) (meterId ^ (meterId >>> 32));
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesStatsRequestVer13.java106
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesStatsRequestVer13.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterFeaturesStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_FEATURES;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterFeaturesStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFMeterFeaturesStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthDstMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthDstMaskedVer14.java119
        BuilderWithParent(OFOxmBsnInnerEthDstMaskedVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x32d0cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInnerEthDstMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInnerEthDstMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.BSN_INNER_ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthSrcMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthSrcMaskedVer14.java119
        BuilderWithParent(OFOxmBsnInnerEthSrcMaskedVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x32f0cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInnerEthSrcMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInnerEthSrcMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.BSN_INNER_ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVxlanNetworkIdMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVxlanNetworkIdMaskedVer14.java119
        BuilderWithParent(OFOxmBsnVxlanNetworkIdMaskedVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x32b08L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVxlanNetworkIdMasked.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U32 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnVxlanNetworkIdMasked.Builder setMask(U32 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.BSN_VXLAN_NETWORK_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6ExthdrMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6ExthdrMaskedVer14.java119
        BuilderWithParent(OFOxmIpv6ExthdrMaskedVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80004f04L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6ExthdrMasked.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U16 getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6ExthdrMasked.Builder setMask(U16 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.IPV6_EXTHDR;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsBosMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsBosMaskedVer14.java119
        BuilderWithParent(OFOxmMplsBosMaskedVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80004902L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmMplsBosMasked.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBooleanValue getMask() {
        return mask;
    }

    @Override
    public OFOxmMplsBosMasked.Builder setMask(OFBooleanValue mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.MPLS_BOS;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIdMaskedVer13.java119
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIdMaskedVer14.java119
        BuilderWithParent(OFOxmTunnelIdMaskedVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80004d10L;
    }

    @Override
    public U64 getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIdMasked.Builder setValue(U64 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U64 getMask() {
        return mask;
    }

    @Override
    public OFOxmTunnelIdMasked.Builder setMask(U64 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U64> getMatchField() {
        return MatchField.TUNNEL_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U64> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsRequestVer13.java106
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsRequestVer13.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT_DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFPortDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsRequestVer13.java106
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsRequestVer13.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFTableStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFDescStatsRequestVer14.java106
org/projectfloodlight/openflow/protocol/ver14/OFDescStatsRequestVer14.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsRequestVer14.java106
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsRequestVer14.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFGroupDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsRequestVer14.java106
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsRequestVer14.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupFeaturesStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_FEATURES;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupFeaturesStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFGroupFeaturesStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesStatsRequestVer14.java106
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesStatsRequestVer14.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterFeaturesStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_FEATURES;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterFeaturesStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFMeterFeaturesStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsRequestVer14.java106
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsRequestVer14.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT_DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFPortDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFQueueDescStatsRequestVer14.java106
org/projectfloodlight/openflow/protocol/ver14/OFQueueDescStatsRequestVer14.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.QUEUE_DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFQueueDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFQueueDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFTableDescStatsRequestVer14.java106
org/projectfloodlight/openflow/protocol/ver14/OFTableDescStatsRequestVer14.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE_DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFTableDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsRequestVer14.java106
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsRequestVer14.java168
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFTableStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
net/onrc/openvirtex/messages/ver13/OVXFlowAddVer13.java203
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteStrictVer13.java143
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteVer13.java146
net/onrc/openvirtex/messages/ver13/OVXFlowModifyStrictVer13.java144
net/onrc/openvirtex/messages/ver13/OVXFlowModifyVer13.java148
            if (this.getMatch().get(MatchField.IN_PORT) == null) {
                /* expand match to all ports */
                for (OVXPort iport : sw.getPorts().values()) {
                    //Match.Builder builder = ((OFMatchV3)this.match).createBuilder().setExact(MatchField.IN_PORT, iport.getPortNo());
                    this.match = addtoMatch((OFMatchV3)this.match, iport.getPortNo());
                    prepAndSendSouth(iport, pflag);
                }
            } else {
                this.log.error(
                        "Unknown virtual port id {}; dropping flowmod {}",
                        inport, this);
                sw.sendMsg(OVXMessageUtil.makeErrorMsg(
                        OFFlowModFailedCode.EPERM, this), sw);
                return;
            }
        } else {
            prepAndSendSouth(ovxInPort, pflag);
        }
    }


    private OFMatchV3 addtoMatch(OFMatchV3 myMatch, OFPort port) {
        OFMatchV3 newMatch;
        OFOxmList myList = myMatch.getOxmList();
        OFOxmInPort oxmInPort = new OFOxmInPortVer13(port);
        Map <MatchFields, OFOxm<?>> oxmMap = new LinkedHashMap<>();
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java545
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java571
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java571
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java571
org/projectfloodlight/openflow/protocol/ver14/OFPortDescVer14.java492
    }

//
        @Override
        public OFPortDesc build() {
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : DEFAULT_HW_ADDR;
            if(hwAddr == null)
                throw new NullPointerException("Property hwAddr must not be null");
            String name = this.nameSet ? this.name : DEFAULT_NAME;
            if(name == null)
                throw new NullPointerException("Property name must not be null");
            Set<OFPortConfig> config = this.configSet ? this.config : DEFAULT_CONFIG;
            if(config == null)
                throw new NullPointerException("Property config must not be null");
            Set<OFPortState> state = this.stateSet ? this.state : DEFAULT_STATE;
            if(state == null)
                throw new NullPointerException("Property state must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java382
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java382
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java396
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java404
                U64 cookie = this.cookieSet ? this.cookie : parentMessage.cookie;
                if(cookie == null)
                    throw new NullPointerException("Property cookie must not be null");
                U64 packetCount = this.packetCountSet ? this.packetCount : parentMessage.packetCount;
                if(packetCount == null)
                    throw new NullPointerException("Property packetCount must not be null");
                U64 byteCount = this.byteCountSet ? this.byteCount : parentMessage.byteCount;
                if(byteCount == null)
                    throw new NullPointerException("Property byteCount must not be null");
                Match match = this.matchSet ? this.match : parentMessage.match;
                if(match == null)
                    throw new NullPointerException("Property match must not be null");
                List<OFInstruction> instructions = this.instructionsSet ? this.instructions : parentMessage.instructions;
                if(instructions == null)
                    throw new NullPointerException("Property instructions must not be null");

                //
                return new OFFlowStatsEntryVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsEntryVer11.java108
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsEntryVer11.java179
    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }



        @Override
        public OFGroupDescStatsEntry build() {
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsEntryVer12.java108
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsEntryVer12.java179
    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFGroupDescStatsEntry build() {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleVer13.java455
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleVer14.java455
            bb.writeByte((byte) 0x4);
            // fixed value property type = 4
            bb.writeByte((byte) 0x4);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            bb.writeInt(U32.t(message.xid));
            // fixed value property experimenter = 0x5c16c7L
            bb.writeInt(0x5c16c7);
            // fixed value property subtype = 0x28L
            bb.writeInt(0x28);
            bb.writeLong(message.cookie.getValue());
            bb.writeShort(U16.t(message.priority));
            message.tableId.writeByte(bb);
            // pad: 5 bytes
            bb.writeZero(5);
            message.match.writeTo(bb);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFBsnFlowIdleVer13(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsEntryVer13.java108
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsEntryVer13.java179
    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFGroupDescStatsEntry build() {
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java790
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java790
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java790
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java790
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java790
                throw new OFParseError("Wrong command: Expected=OFFlowModCommand.ADD(0), got="+command);
            int idleTimeout = U16.f(bb.readShort());
            int hardTimeout = U16.f(bb.readShort());
            int priority = U16.f(bb.readShort());
            OFBufferId bufferId = OFBufferId.of(bb.readInt());
            OFPort outPort = OFPort.read4Bytes(bb);
            OFGroup outGroup = OFGroup.read4Bytes(bb);
            Set<OFFlowModFlags> flags = OFFlowModFlagsSerializerVer14.readFrom(bb);
            int importance = U16.f(bb.readShort());
            Match match = ChannelUtilsVer14.readOFMatch(bb);
            List<OFInstruction> instructions = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFInstructionVer14.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsEntryVer14.java108
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsEntryVer14.java179
    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFGroupDescStatsEntry build() {
FileLine
net/onrc/openvirtex/api/service/handlers/tenant/AddController.java87
net/onrc/openvirtex/api/service/handlers/tenant/CreateOVXSwitch.java100
net/onrc/openvirtex/api/service/handlers/tenant/RemoveOVXSwitch.java71
net/onrc/openvirtex/api/service/handlers/tenant/StartOVXSwitch.java74
net/onrc/openvirtex/api/service/handlers/tenant/StopOVXSwitch.java73
                                    + e.getMessage()), 0);
        } catch (final InvalidDPIDException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Invalid DPID : " + e.getMessage()), 0);
        } catch (final InvalidTenantIdException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Invalid tenant id : " + e.getMessage()), 0);
        } catch (final NetworkMappingException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": " + e.getMessage()), 0);
        } catch (ControllerUnavailableException e) {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBucketCounterVer11.java264
org/projectfloodlight/openflow/protocol/ver12/OFBucketCounterVer12.java264
org/projectfloodlight/openflow/protocol/ver13/OFBucketCounterVer13.java264
org/projectfloodlight/openflow/protocol/ver14/OFBucketCounterVer14.java264
        OFBucketCounterVer11 other = (OFBucketCounterVer11) obj;

        if (packetCount == null) {
            if (other.packetCount != null)
                return false;
        } else if (!packetCount.equals(other.packetCount))
            return false;
        if (byteCount == null) {
            if (other.byteCount != null)
                return false;
        } else if (!byteCount.equals(other.byteCount))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((packetCount == null) ? 0 : packetCount.hashCode());
        result = prime * result + ((byteCount == null) ? 0 : byteCount.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsEntryVer11.java104
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsEntryVer12.java104
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsEntryVer13.java104
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsEntryVer14.java104
        BuilderWithParent(OFGroupDescStatsEntryVer11 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFInstructionWriteMetadataVer11.java307
org/projectfloodlight/openflow/protocol/ver12/OFInstructionWriteMetadataVer12.java307
org/projectfloodlight/openflow/protocol/ver13/OFInstructionWriteMetadataVer13.java307
org/projectfloodlight/openflow/protocol/ver14/OFInstructionWriteMetadataVer14.java307
        OFInstructionWriteMetadataVer11 other = (OFInstructionWriteMetadataVer11) obj;

        if (metadata == null) {
            if (other.metadata != null)
                return false;
        } else if (!metadata.equals(other.metadata))
            return false;
        if (metadataMask == null) {
            if (other.metadataMask != null)
                return false;
        } else if (!metadataMask.equals(other.metadataMask))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((metadata == null) ? 0 : metadata.hashCode());
        result = prime * result + ((metadataMask == null) ? 0 : metadataMask.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpOpMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpShaMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpSpaMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpThaMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpTpaMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnEgrPortGroupIdMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnGlobalVrfAllowedMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts128MaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts512MaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnIngressPortGroupIdMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL2CacheHitMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3DstClassIdMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3InterfaceClassIdMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3SrcClassIdMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnLagIdMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnTcpFlagsMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf0MaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf1MaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf2MaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf3MaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf4MaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf5MaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf6MaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf7MaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVlanXlatePortGroupIdMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVrfMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthDstMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthSrcMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthTypeMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4CodeMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4TypeMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6CodeMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6TypeMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPhyPortMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPortMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpDscpMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpEcnMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpProtoMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4DstMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4SrcMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6DstMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6FlabelMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdSllMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTargetMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTllMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6SrcMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmMetadataMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsLabelMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsTcMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpDstMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpSrcMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpDstMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpSrcMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4DstMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4SrcMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpDstMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpSrcMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanPcpMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanVidMaskedVer12.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpOpMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpShaMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpSpaMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpThaMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpTpaMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnEgrPortGroupIdMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnGlobalVrfAllowedMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts128MaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts512MaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnIngressPortGroupIdMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthDstMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthSrcMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL2CacheHitMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3DstClassIdMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3InterfaceClassIdMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3SrcClassIdMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnLagIdMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnTcpFlagsMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf0MaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf1MaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf2MaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf3MaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf4MaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf5MaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf6MaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf7MaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVlanXlatePortGroupIdMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVrfMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVxlanNetworkIdMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthDstMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthSrcMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthTypeMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4CodeMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4TypeMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6CodeMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6TypeMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPhyPortMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPortMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpDscpMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpEcnMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpProtoMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4DstMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4SrcMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6DstMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6ExthdrMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6FlabelMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdSllMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTargetMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTllMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6SrcMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmMetadataMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsBosMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsLabelMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsTcMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpDstMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpSrcMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpDstMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpSrcMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIdMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4DstMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4SrcMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpDstMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpSrcMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanPcpMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanVidMaskedVer13.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpOpMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpShaMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpSpaMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpThaMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpTpaMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnEgrPortGroupIdMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts128MaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts512MaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnIngressPortGroupIdMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthDstMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthSrcMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3InterfaceClassIdMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3SrcClassIdMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnLagIdMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnTcpFlagsMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf0MaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf1MaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf2MaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf3MaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf4MaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf5MaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf6MaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf7MaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVlanXlatePortGroupIdMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVrfMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVxlanNetworkIdMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthDstMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthSrcMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthTypeMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4CodeMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4TypeMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6CodeMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6TypeMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPhyPortMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPortMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpDscpMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpEcnMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpProtoMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4DstMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4SrcMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6DstMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6ExthdrMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6FlabelMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdSllMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTargetMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTllMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6SrcMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmMetadataMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsBosMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsLabelMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsTcMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmPbbUcaMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpDstMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpSrcMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpDstMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpSrcMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIdMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4DstMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4SrcMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpDstMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpSrcMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanPcpMaskedVer14.java337
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanVidMaskedVer14.java337
        OFOxmArpOpMaskedVer12 other = (OFOxmArpOpMaskedVer12) obj;

        if (value == null) {
            if (other.value != null)
                return false;
        } else if (!value.equals(other.value))
            return false;
        if (mask == null) {
            if (other.mask != null)
                return false;
        } else if (!mask.equals(other.mask))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((value == null) ? 0 : value.hashCode());
        result = prime * result + ((mask == null) ? 0 : mask.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPacketQueueVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFPacketQueueVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFPacketQueueVer14.java106
        BuilderWithParent(OFPacketQueueVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFPacketQueue.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFPacketQueue.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public List<OFQueueProp> getProperties() {
        return properties;
    }

    @Override
    public OFPacketQueue.Builder setProperties(List<OFQueueProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsEntryVer13.java264
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsEntryVer14.java264
        OFBsnDebugCounterStatsEntryVer13 other = (OFBsnDebugCounterStatsEntryVer13) obj;

        if (counterId == null) {
            if (other.counterId != null)
                return false;
        } else if (!counterId.equals(other.counterId))
            return false;
        if (value == null) {
            if (other.value != null)
                return false;
        } else if (!value.equals(other.value))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((counterId == null) ? 0 : counterId.hashCode());
        result = prime * result + ((value == null) ? 0 : value.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsEntryVer13.java296
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsEntryVer14.java296
        OFBsnGentableEntryStatsEntryVer13 other = (OFBsnGentableEntryStatsEntryVer13) obj;

        if (key == null) {
            if (other.key != null)
                return false;
        } else if (!key.equals(other.key))
            return false;
        if (stats == null) {
            if (other.stats != null)
                return false;
        } else if (!stats.equals(other.stats))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((key == null) ? 0 : key.hashCode());
        result = prime * result + ((stats == null) ? 0 : stats.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsEntryVer13.java291
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsEntryVer14.java291
        OFBsnPortCounterStatsEntryVer13 other = (OFBsnPortCounterStatsEntryVer13) obj;

        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if (values == null) {
            if (other.values != null)
                return false;
        } else if (!values.equals(other.values))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime * result + ((values == null) ? 0 : values.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsEntryVer13.java264
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsEntryVer14.java264
        OFBsnTableChecksumStatsEntryVer13 other = (OFBsnTableChecksumStatsEntryVer13) obj;

        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if (checksum == null) {
            if (other.checksum != null)
                return false;
        } else if (!checksum.equals(other.checksum))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime * result + ((checksum == null) ? 0 : checksum.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java379
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java386
    }



        @Override
        public OFFlowStatsEntry build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                long durationSec = this.durationSecSet ? this.durationSec : parentMessage.durationSec;
                long durationNsec = this.durationNsecSet ? this.durationNsec : parentMessage.durationNsec;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandStatsVer13.java264
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandStatsVer14.java264
        OFMeterBandStatsVer13 other = (OFMeterBandStatsVer13) obj;

        if (packetBandCount == null) {
            if (other.packetBandCount != null)
                return false;
        } else if (!packetBandCount.equals(other.packetBandCount))
            return false;
        if (byteBandCount == null) {
            if (other.byteBandCount != null)
                return false;
        } else if (!byteBandCount.equals(other.byteBandCount))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((packetBandCount == null) ? 0 : packetBandCount.hashCode());
        result = prime * result + ((byteBandCount == null) ? 0 : byteBandCount.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigVer13.java103
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigVer14.java103
        BuilderWithParent(OFMeterConfigVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public int getFlags() {
        return flags;
    }

    @Override
    public OFMeterConfig.Builder setFlags(int flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterConfig.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }
    @Override
    public List<OFMeterBand> getEntries() {
        return entries;
    }

    @Override
    public OFMeterConfig.Builder setEntries(List<OFMeterBand> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsVer13.java364
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsVer14.java364
    }

//
        @Override
        public OFMeterStats build() {
            long meterId = this.meterIdSet ? this.meterId : DEFAULT_METER_ID;
            long flowCount = this.flowCountSet ? this.flowCount : DEFAULT_FLOW_COUNT;
            U64 packetInCount = this.packetInCountSet ? this.packetInCount : DEFAULT_PACKET_IN_COUNT;
            if(packetInCount == null)
                throw new NullPointerException("Property packetInCount must not be null");
            U64 byteInCount = this.byteInCountSet ? this.byteInCount : DEFAULT_BYTE_IN_COUNT;
            if(byteInCount == null)
                throw new NullPointerException("Property byteInCount must not be null");
            long durationSec = this.durationSecSet ? this.durationSec : DEFAULT_DURATION_SEC;
            long durationNsec = this.durationNsecSet ? this.durationNsec : DEFAULT_DURATION_NSEC;
            List<OFMeterBandStats> bandStats = this.bandStatsSet ? this.bandStats : DEFAULT_BAND_STATS;
            if(bandStats == null)
                throw new NullPointerException("Property bandStats must not be null");


            return new OFMeterStatsVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableConfigSerializerVer13.java38
org/projectfloodlight/openflow/protocol/ver14/OFTableConfigSerializerVer14.java40
    public static Set<OFTableConfig> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFTableConfig> set) {
        bb.writeInt(toWireValue(set));
    }

    public static void putTo(Set<OFTableConfig> set, PrimitiveSink sink) {
        sink.putInt(toWireValue(set));
    }


    public static Set<OFTableConfig> ofWireValue(int val) {
        EnumSet<OFTableConfig> set = EnumSet.noneOf(OFTableConfig.class);

        if((val & DEPRECATED_MASK_VAL) != 0)
            set.add(OFTableConfig.DEPRECATED_MASK);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFAggregateStatsReplyVer10.java456
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsReplyVer11.java461
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsReplyVer12.java461
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsReplyVer13.java461
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsReplyVer14.java461
        StringBuilder b = new StringBuilder("OFAggregateStatsReplyVer10(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("flags=").append(flags);
        b.append(", ");
        b.append("packetCount=").append(packetCount);
        b.append(", ");
        b.append("byteCount=").append(byteCount);
        b.append(", ");
        b.append("flowCount=").append(flowCount);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFAggregateStatsRequestVer10.java532
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsRequestVer10.java532
        StringBuilder b = new StringBuilder("OFAggregateStatsRequestVer10(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("flags=").append(flags);
        b.append(", ");
        b.append("match=").append(match);
        b.append(", ");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("outPort=").append(outPort);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBadActionErrorMsgVer10.java271
org/projectfloodlight/openflow/protocol/ver11/OFBadInstructionErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver11/OFBadMatchErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver11/OFBadRequestErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver11/OFFlowModFailedErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver11/OFGroupModFailedErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver11/OFHelloFailedErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver11/OFPortModFailedErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver11/OFQueueOpFailedErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver11/OFSwitchConfigFailedErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver11/OFTableModFailedErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver12/OFBadInstructionErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver12/OFBadMatchErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver12/OFBadRequestErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver12/OFExperimenterErrorMsgVer12.java306
org/projectfloodlight/openflow/protocol/ver12/OFFlowModFailedErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver12/OFGroupModFailedErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver12/OFHelloFailedErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver12/OFPortModFailedErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver12/OFQueueOpFailedErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestFailedErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver12/OFSwitchConfigFailedErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver12/OFTableModFailedErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver13/OFBadInstructionErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver13/OFBadMatchErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver13/OFBadRequestErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver13/OFExperimenterErrorMsgVer13.java306
org/projectfloodlight/openflow/protocol/ver13/OFFlowModFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver13/OFGroupModFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver13/OFHelloFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver13/OFMeterModFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver13/OFPortModFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver13/OFQueueOpFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver13/OFSwitchConfigFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver13/OFTableModFailedErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver14/OFAsyncConfigFailedErrorMsgVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFBadInstructionErrorMsgVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFBadMatchErrorMsgVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFBadPropertyErrorMsgVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFBadRequestErrorMsgVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFBundleFailedErrorMsgVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFExperimenterErrorMsgVer14.java306
org/projectfloodlight/openflow/protocol/ver14/OFFlowModFailedErrorMsgVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFFlowMonitorFailedErrorMsgVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFGroupModFailedErrorMsgVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFHelloFailedErrorMsgVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFMeterModFailedErrorMsgVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFPortModFailedErrorMsgVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFQueueOpFailedErrorMsgVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestFailedErrorMsgVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFSwitchConfigFailedErrorMsgVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesFailedErrorMsgVer14.java271
org/projectfloodlight/openflow/protocol/ver14/OFTableModFailedErrorMsgVer14.java271
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 2
            short errType = bb.readShort();
            if(errType != (short) 0x2)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBadRequestErrorMsgVer10.java271
org/projectfloodlight/openflow/protocol/ver10/OFFlowModFailedErrorMsgVer10.java271
org/projectfloodlight/openflow/protocol/ver10/OFHelloFailedErrorMsgVer10.java271
org/projectfloodlight/openflow/protocol/ver10/OFPortModFailedErrorMsgVer10.java271
org/projectfloodlight/openflow/protocol/ver10/OFQueueOpFailedErrorMsgVer10.java271
org/projectfloodlight/openflow/protocol/ver11/OFBadActionErrorMsgVer11.java271
org/projectfloodlight/openflow/protocol/ver12/OFBadActionErrorMsgVer12.java271
org/projectfloodlight/openflow/protocol/ver13/OFBadActionErrorMsgVer13.java271
org/projectfloodlight/openflow/protocol/ver14/OFBadActionErrorMsgVer14.java271
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 1
            byte type = bb.readByte();
            if(type != (byte) 0x1)
                throw new OFParseError("Wrong type: Expected=OFType.ERROR(1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property errType == 1
            short errType = bb.readShort();
            if(errType != (short) 0x1)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetInterfacesReplyVer10.java115
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetInterfacesReplyVer11.java182
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetInterfacesReplyVer12.java182
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetInterfacesReplyVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetInterfacesReplyVer14.java182
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetInterfacesReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public List<OFBsnInterface> getInterfaces() {
        return interfaces;
    }

    @Override
    public OFBsnGetInterfacesReply.Builder setInterfaces(List<OFBsnInterface> interfaces) {
        this.interfaces = interfaces;
        this.interfacesSet = true;
        return this;
    }


        @Override
        public OFBsnGetInterfacesReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetInterfacesReplyVer10.java182
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetInterfacesReplyVer11.java115
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetInterfacesReplyVer12.java115
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetInterfacesReplyVer13.java115
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetInterfacesReplyVer14.java115
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetInterfacesReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public List<OFBsnInterface> getInterfaces() {
        return interfaces;
    }

    @Override
    public OFBsnGetInterfacesReply.Builder setInterfaces(List<OFBsnInterface> interfaces) {
        this.interfaces = interfaces;
        this.interfacesSet = true;
        return this;
    }
//
        @Override
        public OFBsnGetInterfacesReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsEntryVer10.java602
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java599
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java599
                throw new NullPointerException("Property match must not be null");
            long durationSec = this.durationSecSet ? this.durationSec : DEFAULT_DURATION_SEC;
            long durationNsec = this.durationNsecSet ? this.durationNsec : DEFAULT_DURATION_NSEC;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            U64 packetCount = this.packetCountSet ? this.packetCount : DEFAULT_PACKET_COUNT;
            if(packetCount == null)
                throw new NullPointerException("Property packetCount must not be null");
            U64 byteCount = this.byteCountSet ? this.byteCount : DEFAULT_BYTE_COUNT;
            if(byteCount == null)
                throw new NullPointerException("Property byteCount must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsEntryVer10.java634
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java634
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java634
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java657
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java672
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFFlowStatsEntry> {
        @Override
        public OFFlowStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            TableId tableId = TableId.readByte(bb);
            // pad: 1 bytes
            bb.skipBytes(1);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsEntryVer10.java840
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java839
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java839
        result = prime * result + ((match == null) ? 0 : match.hashCode());
        result = prime *  (int) (durationSec ^ (durationSec >>> 32));
        result = prime *  (int) (durationNsec ^ (durationNsec >>> 32));
        result = prime * result + priority;
        result = prime * result + idleTimeout;
        result = prime * result + hardTimeout;
        result = prime * result + ((cookie == null) ? 0 : cookie.hashCode());
        result = prime * result + ((packetCount == null) ? 0 : packetCount.hashCode());
        result = prime * result + ((byteCount == null) ? 0 : byteCount.hashCode());
        result = prime * result + ((actions == null) ? 0 : actions.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsEntryVer10.java463
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsEntryVer11.java458
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsEntryVer12.java458
        StringBuilder b = new StringBuilder("OFQueueStatsEntryVer10(");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("queueId=").append(queueId);
        b.append(", ");
        b.append("txBytes=").append(txBytes);
        b.append(", ");
        b.append("txPackets=").append(txPackets);
        b.append(", ");
        b.append("txErrors=").append(txErrors);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsReplyVer11.java278
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsReplyVer12.java278
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsReplyVer12.java278
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsReplyVer12.java278
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsReplyVer12.java278
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsReplyVer12.java278
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsReplyVer13.java346
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsReplyVer13.java346
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortsReplyVer13.java308
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsReplyVer13.java278
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsReplyVer13.java278
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsReplyVer13.java278
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsReplyVer13.java278
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsReplyVer13.java278
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsReplyVer13.java278
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsReplyVer13.java278
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsReplyVer13.java279
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsReplyVer13.java278
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsReplyVer14.java308
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsReplyVer14.java278
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsReplyVer14.java278
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsReplyVer14.java278
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsReplyVer14.java278
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsReplyVer14.java278
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsReplyVer14.java278
org/projectfloodlight/openflow/protocol/ver14/OFQueueDescStatsReplyVer14.java278
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsReplyVer14.java278
org/projectfloodlight/openflow/protocol/ver14/OFTableDescStatsReplyVer14.java278
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsReplyVer14.java278
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsReplyVer14.java278
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 1
            short statsType = bb.readShort();
            if(statsType != (short) 0x1)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupAddVer11.java318
org/projectfloodlight/openflow/protocol/ver12/OFGroupDeleteVer12.java318
org/projectfloodlight/openflow/protocol/ver12/OFGroupModifyVer12.java318
org/projectfloodlight/openflow/protocol/ver13/OFGroupDeleteVer13.java318
org/projectfloodlight/openflow/protocol/ver13/OFGroupModifyVer13.java318
org/projectfloodlight/openflow/protocol/ver14/OFGroupDeleteVer14.java318
org/projectfloodlight/openflow/protocol/ver14/OFGroupModifyVer14.java318
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 15
            byte type = bb.readByte();
            if(type != (byte) 0xf)
                throw new OFParseError("Wrong type: Expected=OFType.GROUP_MOD(15), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property command == 0
            short command = bb.readShort();
            if(command != (short) 0x0)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDeleteVer11.java318
org/projectfloodlight/openflow/protocol/ver11/OFGroupModifyVer11.java318
org/projectfloodlight/openflow/protocol/ver12/OFGroupAddVer12.java318
org/projectfloodlight/openflow/protocol/ver13/OFGroupAddVer13.java318
org/projectfloodlight/openflow/protocol/ver14/OFGroupAddVer14.java318
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 15
            byte type = bb.readByte();
            if(type != (byte) 0xf)
                throw new OFParseError("Wrong type: Expected=OFType.GROUP_MOD(15), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property command == 2
            short command = bb.readShort();
            if(command != (short) 0x2)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsReplyVer11.java278
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsReplyVer11.java278
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsReplyVer11.java278
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsReplyVer11.java278
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsReplyVer11.java278
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsReplyVer12.java278
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsReplyVer13.java278
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsReplyVer14.java278
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 7
            short statsType = bb.readShort();
            if(statsType != (short) 0x7)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java466
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java466
        StringBuilder b = new StringBuilder("OFGroupStatsEntryVer11(");
        b.append("group=").append(group);
        b.append(", ");
        b.append("refCount=").append(refCount);
        b.append(", ");
        b.append("packetCount=").append(packetCount);
        b.append(", ");
        b.append("byteCount=").append(byteCount);
        b.append(", ");
        b.append("bucketStats=").append(bucketStats);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java501
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsRequestVer13.java353
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsRequestVer13.java517
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java501
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsRequestVer13.java278
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsRequestVer14.java353
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java501
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsRequestVer14.java278
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 2
            short statsType = bb.readShort();
            if(statsType != (short) 0x2)
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java501
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java501
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java501
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 1
            short statsType = bb.readShort();
            if(statsType != (short) 0x1)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnGentableVer13.java108
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnGentableVer14.java108
        BuilderWithParent(OFActionBsnGentableVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public long getTableId() {
        return tableId;
    }

    @Override
    public OFActionBsnGentable.Builder setTableId(long tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFActionBsnGentable.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionsReplyVer13.java115
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionsReplyVer14.java182
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnControllerConnectionsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x39L;
    }

    @Override
    public List<OFBsnControllerConnection> getConnections() {
        return connections;
    }

    @Override
    public OFBsnControllerConnectionsReply.Builder setConnections(List<OFBsnControllerConnection> connections) {
        this.connections = connections;
        this.connectionsSet = true;
        return this;
    }


        @Override
        public OFBsnControllerConnectionsReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionsReplyVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionsReplyVer14.java115
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnControllerConnectionsReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x39L;
    }

    @Override
    public List<OFBsnControllerConnection> getConnections() {
        return connections;
    }

    @Override
    public OFBsnControllerConnectionsReply.Builder setConnections(List<OFBsnControllerConnection> connections) {
        this.connections = connections;
        this.connectionsSet = true;
        return this;
    }
//
        @Override
        public OFBsnControllerConnectionsReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleVer13.java483
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleVer14.java483
        StringBuilder b = new StringBuilder("OFBsnFlowIdleVer13(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("cookie=").append(cookie);
        b.append(", ");
        b.append("priority=").append(priority);
        b.append(", ");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("match=").append(match);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryAddVer13.java493
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryAddVer14.java493
        StringBuilder b = new StringBuilder("OFBsnGentableEntryAddVer13(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("checksum=").append(checksum);
        b.append(", ");
        b.append("key=").append(key);
        b.append(", ");
        b.append("value=").append(value);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsRequestVer13.java510
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsRequestVer13.java510
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsRequestVer14.java510
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsRequestVer14.java510
        StringBuilder b = new StringBuilder("OFBsnGentableEntryDescStatsRequestVer13(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("flags=").append(flags);
        b.append(", ");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("checksum=").append(checksum);
        b.append(", ");
        b.append("checksumMask=").append(checksumMask);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesVer13.java365
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesVer14.java365
        StringBuilder b = new StringBuilder("OFMeterFeaturesVer13(");
        b.append("maxMeter=").append(maxMeter);
        b.append(", ");
        b.append("bandTypes=").append(bandTypes);
        b.append(", ");
        b.append("capabilities=").append(capabilities);
        b.append(", ");
        b.append("maxBands=").append(maxBands);
        b.append(", ");
        b.append("maxColor=").append(maxColor);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java493
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java493
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java493
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java493
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java493
    static class Builder implements OFFlowAdd.Builder {
        // OF message fields
        private boolean xidSet;
        private long xid;
        private boolean cookieSet;
        private U64 cookie;
        private boolean cookieMaskSet;
        private U64 cookieMask;
        private boolean tableIdSet;
        private TableId tableId;
        private boolean idleTimeoutSet;
        private int idleTimeout;
        private boolean hardTimeoutSet;
        private int hardTimeout;
        private boolean prioritySet;
        private int priority;
        private boolean bufferIdSet;
        private OFBufferId bufferId;
        private boolean outPortSet;
        private OFPort outPort;
        private boolean outGroupSet;
        private OFGroup outGroup;
        private boolean flagsSet;
        private Set<OFFlowModFlags> flags;
        private boolean importanceSet;
        private int importance;
        private boolean matchSet;
        private Match match;
        private boolean instructionsSet;
        private List<OFInstruction> instructions;

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowAdd.Builder setXid(long xid) {
FileLine
net/onrc/openvirtex/elements/link/OVXLink.java457
net/onrc/openvirtex/elements/link/OVXLink.java548
                .build();
                
                OFAction fm_clone_action=OVXFactoryInst.myFactory.actions()
                		.output(outPort.getPortNo(), (short) 0xffff);
                fm_clone=fm_clone.createBuilder().setMatch(fm_clone_match)
                		.setActions(Arrays.asList(fm_clone_action))
                		.build();
                
                phyLink.getSrcPort().getParentSwitch()
                        .sendMsg(fm_clone, phyLink.getSrcPort().getParentSwitch());
                this.log.debug(
                        "Sending virtual link intermediate fm to sw {}: {}",
                        phyLink.getSrcPort().getParentSwitch().getSwitchName(),
                        fm_clone);
            }
            outPort = phyLink.getDstPort();
        }
        // TODO: With POX we need to put a timeout between this flows and the
        // first flow mod. Check how to solve.
        try {
            Thread.sleep(5);
        } catch (final InterruptedException e) {
            log.warn("Timeout interrupted; might be a problem if you are running POX.");
        }
    }
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionNiciraVer10.java38
org/projectfloodlight/openflow/protocol/ver11/OFActionNiciraVer11.java38
org/projectfloodlight/openflow/protocol/ver12/OFActionNiciraVer12.java38
org/projectfloodlight/openflow/protocol/ver13/OFActionIdNiciraVer13.java38
org/projectfloodlight/openflow/protocol/ver13/OFActionNiciraVer13.java38
org/projectfloodlight/openflow/protocol/ver14/OFActionIdNiciraVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFActionNiciraVer14.java38
        public OFActionNicira readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            // fixed value property experimenter == 0x2320L
            int experimenter = bb.readInt();
            if(experimenter != 0x2320)
                throw new OFParseError("Wrong experimenter: Expected=0x2320L(0x2320L), got="+experimenter);
            short subtype = bb.readShort();
            bb.readerIndex(start);
            switch(subtype) {
               case (short) 0x12:
                   // discriminator value 0x12=0x12 for class OFActionNiciraDecTtlVer10
                   return OFActionNiciraDecTtlVer10.READER.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowRemovedVer10.java302
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java312
            throw new UnsupportedOperationException("Property hardTimeout not supported in version 1.0");
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowRemoved.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowRemoved.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowRemoved.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFFlowRemoved build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueGetConfigRequestVer10.java160
org/projectfloodlight/openflow/protocol/ver11/OFQueueGetConfigRequestVer11.java160
org/projectfloodlight/openflow/protocol/ver12/OFQueueGetConfigRequestVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFQueueGetConfigRequestVer13.java160
    }

    @Override
    public OFType getType() {
        return OFType.QUEUE_GET_CONFIG_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueGetConfigRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFQueueGetConfigRequest.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
//
        @Override
        public OFQueueGetConfigRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            OFPort port = this.portSet ? this.port : DEFAULT_PORT;
            if(port == null)
                throw new NullPointerException("Property port must not be null");


            return new OFQueueGetConfigRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBadActionCodeSerializerVer11.java30
org/projectfloodlight/openflow/protocol/ver12/OFBadActionCodeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFBadActionCodeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFBadActionCodeSerializerVer14.java30
public class OFBadActionCodeSerializerVer11 {

    public final static short BAD_TYPE_VAL = (short) 0x0;
    public final static short BAD_LEN_VAL = (short) 0x1;
    public final static short BAD_EXPERIMENTER_VAL = (short) 0x2;
    public final static short BAD_EXPERIMENTER_TYPE_VAL = (short) 0x3;
    public final static short BAD_OUT_PORT_VAL = (short) 0x4;
    public final static short BAD_ARGUMENT_VAL = (short) 0x5;
    public final static short EPERM_VAL = (short) 0x6;
    public final static short TOO_MANY_VAL = (short) 0x7;
    public final static short BAD_QUEUE_VAL = (short) 0x8;
    public final static short BAD_OUT_GROUP_VAL = (short) 0x9;
    public final static short MATCH_INCONSISTENT_VAL = (short) 0xa;
    public final static short UNSUPPORTED_ORDER_VAL = (short) 0xb;
    public final static short BAD_TAG_VAL = (short) 0xc;

    public static OFBadActionCode readFrom(ChannelBuffer bb) throws OFParseError {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java465
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java465
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java496
                return new OFFlowAddVer11(
                    xid,
                    cookie,
                    cookieMask,
                    tableId,
                    idleTimeout,
                    hardTimeout,
                    priority,
                    bufferId,
                    outPort,
                    outGroup,
                    flags,
                    match,
                    instructions
                );
        }

    }

    static class Builder implements OFFlowAdd.Builder {
        // OF message fields
        private boolean xidSet;
        private long xid;
        private boolean cookieSet;
        private U64 cookie;
        private boolean cookieMaskSet;
        private U64 cookieMask;
        private boolean tableIdSet;
        private TableId tableId;
        private boolean idleTimeoutSet;
        private int idleTimeout;
        private boolean hardTimeoutSet;
        private int hardTimeout;
        private boolean prioritySet;
        private int priority;
        private boolean bufferIdSet;
        private OFBufferId bufferId;
        private boolean outPortSet;
        private OFPort outPort;
        private boolean outGroupSet;
        private OFGroup outGroup;
        private boolean flagsSet;
        private Set<OFFlowModFlags> flags;
        private boolean matchSet;
        private Match match;
        private boolean instructionsSet;
        private List<OFInstruction> instructions;

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java465
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java465
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java492
                return new OFFlowDeleteStrictVer11(
                    xid,
                    cookie,
                    cookieMask,
                    tableId,
                    idleTimeout,
                    hardTimeout,
                    priority,
                    bufferId,
                    outPort,
                    outGroup,
                    flags,
                    match,
                    instructions
                );
        }

    }

    static class Builder implements OFFlowDeleteStrict.Builder {
        // OF message fields
        private boolean xidSet;
        private long xid;
        private boolean cookieSet;
        private U64 cookie;
        private boolean cookieMaskSet;
        private U64 cookieMask;
        private boolean tableIdSet;
        private TableId tableId;
        private boolean idleTimeoutSet;
        private int idleTimeout;
        private boolean hardTimeoutSet;
        private int hardTimeout;
        private boolean prioritySet;
        private int priority;
        private boolean bufferIdSet;
        private OFBufferId bufferId;
        private boolean outPortSet;
        private OFPort outPort;
        private boolean outGroupSet;
        private OFGroup outGroup;
        private boolean flagsSet;
        private Set<OFFlowModFlags> flags;
        private boolean matchSet;
        private Match match;
        private boolean instructionsSet;
        private List<OFInstruction> instructions;

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java465
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java465
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java491
                return new OFFlowDeleteVer11(
                    xid,
                    cookie,
                    cookieMask,
                    tableId,
                    idleTimeout,
                    hardTimeout,
                    priority,
                    bufferId,
                    outPort,
                    outGroup,
                    flags,
                    match,
                    instructions
                );
        }

    }

    static class Builder implements OFFlowDelete.Builder {
        // OF message fields
        private boolean xidSet;
        private long xid;
        private boolean cookieSet;
        private U64 cookie;
        private boolean cookieMaskSet;
        private U64 cookieMask;
        private boolean tableIdSet;
        private TableId tableId;
        private boolean idleTimeoutSet;
        private int idleTimeout;
        private boolean hardTimeoutSet;
        private int hardTimeout;
        private boolean prioritySet;
        private int priority;
        private boolean bufferIdSet;
        private OFBufferId bufferId;
        private boolean outPortSet;
        private OFPort outPort;
        private boolean outGroupSet;
        private OFGroup outGroup;
        private boolean flagsSet;
        private Set<OFFlowModFlags> flags;
        private boolean matchSet;
        private Match match;
        private boolean instructionsSet;
        private List<OFInstruction> instructions;

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java465
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java465
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java492
                return new OFFlowModifyStrictVer11(
                    xid,
                    cookie,
                    cookieMask,
                    tableId,
                    idleTimeout,
                    hardTimeout,
                    priority,
                    bufferId,
                    outPort,
                    outGroup,
                    flags,
                    match,
                    instructions
                );
        }

    }

    static class Builder implements OFFlowModifyStrict.Builder {
        // OF message fields
        private boolean xidSet;
        private long xid;
        private boolean cookieSet;
        private U64 cookie;
        private boolean cookieMaskSet;
        private U64 cookieMask;
        private boolean tableIdSet;
        private TableId tableId;
        private boolean idleTimeoutSet;
        private int idleTimeout;
        private boolean hardTimeoutSet;
        private int hardTimeout;
        private boolean prioritySet;
        private int priority;
        private boolean bufferIdSet;
        private OFBufferId bufferId;
        private boolean outPortSet;
        private OFPort outPort;
        private boolean outGroupSet;
        private OFGroup outGroup;
        private boolean flagsSet;
        private Set<OFFlowModFlags> flags;
        private boolean matchSet;
        private Match match;
        private boolean instructionsSet;
        private List<OFInstruction> instructions;

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java465
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java465
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java490
                return new OFFlowModifyVer11(
                    xid,
                    cookie,
                    cookieMask,
                    tableId,
                    idleTimeout,
                    hardTimeout,
                    priority,
                    bufferId,
                    outPort,
                    outGroup,
                    flags,
                    match,
                    instructions
                );
        }

    }

    static class Builder implements OFFlowModify.Builder {
        // OF message fields
        private boolean xidSet;
        private long xid;
        private boolean cookieSet;
        private U64 cookie;
        private boolean cookieMaskSet;
        private U64 cookieMask;
        private boolean tableIdSet;
        private TableId tableId;
        private boolean idleTimeoutSet;
        private int idleTimeout;
        private boolean hardTimeoutSet;
        private int hardTimeout;
        private boolean prioritySet;
        private int priority;
        private boolean bufferIdSet;
        private OFBufferId bufferId;
        private boolean outPortSet;
        private OFPort outPort;
        private boolean outGroupSet;
        private OFGroup outGroup;
        private boolean flagsSet;
        private Set<OFFlowModFlags> flags;
        private boolean matchSet;
        private Match match;
        private boolean instructionsSet;
        private List<OFInstruction> instructions;

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java222
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java222
    }



        @Override
        public OFGroupStatsEntry build() {
                OFGroup group = this.groupSet ? this.group : parentMessage.group;
                if(group == null)
                    throw new NullPointerException("Property group must not be null");
                long refCount = this.refCountSet ? this.refCount : parentMessage.refCount;
                U64 packetCount = this.packetCountSet ? this.packetCount : parentMessage.packetCount;
                if(packetCount == null)
                    throw new NullPointerException("Property packetCount must not be null");
                U64 byteCount = this.byteCountSet ? this.byteCount : parentMessage.byteCount;
                if(byteCount == null)
                    throw new NullPointerException("Property byteCount must not be null");
                List<OFBucketCounter> bucketStats = this.bucketStatsSet ? this.bucketStats : parentMessage.bucketStats;
                if(bucketStats == null)
                    throw new NullPointerException("Property bucketStats must not be null");

                //
                return new OFGroupStatsEntryVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableModVer11.java119
org/projectfloodlight/openflow/protocol/ver11/OFTableModVer11.java200
org/projectfloodlight/openflow/protocol/ver12/OFTableModVer12.java119
org/projectfloodlight/openflow/protocol/ver12/OFTableModVer12.java200
org/projectfloodlight/openflow/protocol/ver13/OFTableModVer13.java119
org/projectfloodlight/openflow/protocol/ver13/OFTableModVer13.java200
org/projectfloodlight/openflow/protocol/ver14/OFTableModVer14.java128
org/projectfloodlight/openflow/protocol/ver14/OFTableModVer14.java217
    }

    @Override
    public OFType getType() {
        return OFType.TABLE_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableMod.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableMod.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public OFTableMod.Builder setConfig(long config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public List<OFTableModProp> getProperties()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBadRequestCodeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFBadRequestCodeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFBadRequestCodeSerializerVer14.java30
public class OFBadRequestCodeSerializerVer12 {

    public final static short BAD_VERSION_VAL = (short) 0x0;
    public final static short BAD_TYPE_VAL = (short) 0x1;
    public final static short BAD_STAT_VAL = (short) 0x2;
    public final static short BAD_EXPERIMENTER_VAL = (short) 0x3;
    public final static short BAD_EXPERIMENTER_TYPE_VAL = (short) 0x4;
    public final static short EPERM_VAL = (short) 0x5;
    public final static short BAD_LEN_VAL = (short) 0x6;
    public final static short BUFFER_EMPTY_VAL = (short) 0x7;
    public final static short BUFFER_UNKNOWN_VAL = (short) 0x8;
    public final static short BAD_TABLE_ID_VAL = (short) 0x9;
    public final static short IS_SLAVE_VAL = (short) 0xa;
    public final static short BAD_PORT_VAL = (short) 0xb;
    public final static short BAD_PACKET_VAL = (short) 0xc;

    public static OFBadRequestCode readFrom(ChannelBuffer bb) throws OFParseError {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsEntryVer13.java302
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsEntryVer14.java302
        public void write(ChannelBuffer bb, OFBsnGentableEntryDescStatsEntryVer13 message) {
            int startIndex = bb.writerIndex();
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            // keyLength is length indicator for key, will be
            // udpated when key has been written
            int keyLengthIndex = bb.writerIndex();
            bb.writeShort(0);
            message.checksum.write16Bytes(bb);
            int keyStartIndex = bb.writerIndex();
            ChannelUtils.writeList(bb, message.key);
            // update field length member keyLength
            int keyLength = bb.writerIndex() - keyStartIndex;
            bb.setShort(keyLengthIndex, keyLength);
            ChannelUtils.writeList(bb, message.value);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFBsnGentableEntryDescStatsEntryVer13(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortOpticalVer13.java348
org/projectfloodlight/openflow/protocol/ver14/OFPortDescVer14.java496
        public OFPortOptical build() {
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : DEFAULT_HW_ADDR;
            if(hwAddr == null)
                throw new NullPointerException("Property hwAddr must not be null");
            String name = this.nameSet ? this.name : DEFAULT_NAME;
            if(name == null)
                throw new NullPointerException("Property name must not be null");
            Set<OFPortConfig> config = this.configSet ? this.config : DEFAULT_CONFIG;
            if(config == null)
                throw new NullPointerException("Property config must not be null");
            Set<OFPortState> state = this.stateSet ? this.state : DEFAULT_STATE;
            if(state == null)
                throw new NullPointerException("Property state must not be null");
            List<OFPortDescPropOpticalTransport> desc = this.descSet ? this.desc : DEFAULT_DESC;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java989
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsPropEthernetVer14.java411
        if (rxFrameErr == null) {
            if (other.rxFrameErr != null)
                return false;
        } else if (!rxFrameErr.equals(other.rxFrameErr))
            return false;
        if (rxOverErr == null) {
            if (other.rxOverErr != null)
                return false;
        } else if (!rxOverErr.equals(other.rxOverErr))
            return false;
        if (rxCrcErr == null) {
            if (other.rxCrcErr != null)
                return false;
        } else if (!rxCrcErr.equals(other.rxCrcErr))
            return false;
        if (collisions == null) {
            if (other.collisions != null)
                return false;
        } else if (!collisions.equals(other.collisions))
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnHeaderVer10.java39
org/projectfloodlight/openflow/protocol/ver10/OFNiciraHeaderVer10.java38
        public OFBsnHeader readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 1
            byte version = bb.readByte();
            if(version != (byte) 0x1)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportL2GreVer10.java704
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreVer11.java704
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreVer12.java704
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreVer13.java704
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreVer14.java704
            OFBsnVportL2GreFlagsSerializerVer10.putTo(message.flags, sink);
            message.portNo.putTo(sink);
            message.loopbackPortNo.putTo(sink);
            message.localMac.putTo(sink);
            message.nhMac.putTo(sink);
            message.srcIp.putTo(sink);
            message.dstIp.putTo(sink);
            sink.putShort(message.dscp);
            sink.putShort(message.ttl);
            // skip pad (2 bytes)
            sink.putLong(message.vpn);
            sink.putLong(message.rateLimit);
            sink.putString(message.ifName);
        }
    }


    public void writeTo(ChannelBuffer bb) {
        WRITER.write(bb, this);
    }

    final static Writer WRITER = new Writer();
    static class Writer implements OFMessageWriter<OFBsnVportL2GreVer10> {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFDescStatsReplyVer10.java95
org/projectfloodlight/openflow/protocol/ver11/OFDescStatsReplyVer11.java95
org/projectfloodlight/openflow/protocol/ver12/OFDescStatsReplyVer12.java95
org/projectfloodlight/openflow/protocol/ver13/OFDescStatsReplyVer13.java95
org/projectfloodlight/openflow/protocol/ver14/OFDescStatsReplyVer14.java95
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.DESC;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public String getMfrDesc() {
        return mfrDesc;
    }

    @Override
    public String getHwDesc() {
        return hwDesc;
    }

    @Override
    public String getSwDesc() {
        return swDesc;
    }

    @Override
    public String getSerialNum() {
        return serialNum;
    }

    @Override
    public String getDpDesc() {
        return dpDesc;
    }



    public OFDescStatsReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFDescStatsReply.Builder {
        final OFDescStatsReplyVer10 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowRemovedVer10.java303
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java320
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java320
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java320
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowRemoved.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowRemoved.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowRemoved.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFFlowRemoved build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPacketInVer10.java477
org/projectfloodlight/openflow/protocol/ver11/OFPacketInVer11.java521
org/projectfloodlight/openflow/protocol/ver12/OFPacketInVer12.java499
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java521
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java521
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 10
            byte type = bb.readByte();
            if(type != (byte) 0xa)
                throw new OFParseError("Wrong type: Expected=OFType.PACKET_IN(10), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            OFBufferId bufferId = OFBufferId.of(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBadInstructionCodeSerializerVer11.java39
org/projectfloodlight/openflow/protocol/ver12/OFBadInstructionCodeSerializerVer12.java42
org/projectfloodlight/openflow/protocol/ver13/OFBadInstructionCodeSerializerVer13.java42
org/projectfloodlight/openflow/protocol/ver14/OFBadInstructionCodeSerializerVer14.java43
    public static OFBadInstructionCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBadInstructionCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFBadInstructionCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFBadInstructionCode ofWireValue(short val) {
        switch(val) {
            case UNKNOWN_INST_VAL:
                return OFBadInstructionCode.UNKNOWN_INST;
            case UNSUP_INST_VAL:
                return OFBadInstructionCode.UNSUP_INST;
            case BAD_TABLE_ID_VAL:
                return OFBadInstructionCode.BAD_TABLE_ID;
            case UNSUP_METADATA_VAL:
                return OFBadInstructionCode.UNSUP_METADATA;
            case UNSUP_METADATA_MASK_VAL:
                return OFBadInstructionCode.UNSUP_METADATA_MASK;
            case UNSUP_EXP_INST_VAL:
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnHeaderVer11.java39
org/projectfloodlight/openflow/protocol/ver11/OFNiciraHeaderVer11.java38
        public OFBsnHeader readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 2
            byte version = bb.readByte();
            if(version != (byte) 0x2)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java441
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java441
        public void write(ChannelBuffer bb, OFGroupStatsEntryVer11 message) {
            int startIndex = bb.writerIndex();
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            // pad: 2 bytes
            bb.writeZero(2);
            message.group.write4Bytes(bb);
            bb.writeInt(U32.t(message.refCount));
            // pad: 4 bytes
            bb.writeZero(4);
            bb.writeLong(message.packetCount.getValue());
            bb.writeLong(message.byteCount.getValue());
            ChannelUtils.writeList(bb, message.bucketStats);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFGroupStatsEntryVer11(");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnHeaderVer12.java39
org/projectfloodlight/openflow/protocol/ver12/OFNiciraHeaderVer12.java38
        public OFBsnHeader readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 3
            byte version = bb.readByte();
            if(version != (byte) 0x3)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsEntryVer13.java113
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsEntryVer14.java184
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryDescStatsEntry.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryDescStatsEntry.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getValue() {
        return value;
    }

    @Override
    public OFBsnGentableEntryDescStatsEntry.Builder setValue(List<OFBsnTlv> value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsEntryVer13.java184
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsEntryVer14.java113
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableEntryDescStatsEntry.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryDescStatsEntry.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getValue() {
        return value;
    }

    @Override
    public OFBsnGentableEntryDescStatsEntry.Builder setValue(List<OFBsnTlv> value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsRequestVer13.java78
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsRequestVer14.java78
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }



    public OFBsnGentableEntryDescStatsRequest.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnGentableEntryDescStatsRequest.Builder {
        final OFBsnGentableEntryDescStatsRequestVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsRequestVer13.java78
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsRequestVer14.java78
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }



    public OFBsnGentableEntryStatsRequest.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnGentableEntryStatsRequest.Builder {
        final OFBsnGentableEntryStatsRequestVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnHeaderVer13.java39
org/projectfloodlight/openflow/protocol/ver13/OFNiciraHeaderVer13.java38
        public OFBsnHeader readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaCommandReplyVer13.java114
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaCommandReplyVer14.java181
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaCommandReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x42L;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaCommandReply.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnLuaCommandReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaCommandReplyVer13.java181
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaCommandReplyVer14.java114
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaCommandReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x42L;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaCommandReply.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBsnLuaCommandReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaCommandRequestVer13.java114
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaCommandRequestVer14.java181
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaCommandRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x41L;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaCommandRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnLuaCommandRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaCommandRequestVer13.java181
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaCommandRequestVer14.java114
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaCommandRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x41L;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaCommandRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBsnLuaCommandRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaNotificationVer13.java114
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaNotificationVer14.java181
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaNotification.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x43L;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaNotification.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFBsnLuaNotification build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaNotificationVer13.java181
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaNotificationVer14.java114
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnLuaNotification.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x43L;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFBsnLuaNotification.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFBsnLuaNotification build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnHeaderVer14.java39
org/projectfloodlight/openflow/protocol/ver14/OFNiciraHeaderVer14.java38
        public OFBsnHeader readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
FileLine
net/onrc/openvirtex/messages/ver10/OVXPacketOutVer10.java125
net/onrc/openvirtex/messages/ver13/OVXPacketOutVer13.java109
        if (this.getBufferId() == OFBufferId.NO_BUFFER) {
            if (this.getData().length <= 14) {
                this.log.error("PacketOut has no buffer or data {}; dropping",
                        this);
                ChannelBuffer buf = ChannelBuffers.dynamicBuffer();
            	this.writeTo(buf);
            	byte[] byte_msg=buf.array();
            	OFErrorCauseData offendingMsg=OFErrorCauseData.of(byte_msg, OFVersion.OF_10);
            	
                final OVXErrorMsg err =(OVXErrorMsg) OVXFactoryInst.myOVXFactory.buildOVXBadRequestErrorMsg(this.getXid(),OFBadRequestCode.BAD_LEN,offendingMsg);
                		
                sw.sendMsg(err, sw);
                return;
            }
            this.match = this.loadFromPacket(this.getData(),
                    this.inPort.getShortPortNumber());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFExperimenterStatsRequestVer10.java38
org/projectfloodlight/openflow/protocol/ver10/OFStatsRequestVer10.java38
        public OFExperimenterStatsRequest<?> readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 1
            byte version = bb.readByte();
            if(version != (byte) 0x1)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 16
            byte type = bb.readByte();
            if(type != (byte) 0x10)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(16), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowRemovedVer10.java503
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java521
            throw new UnsupportedOperationException("Property hardTimeout not supported in version 1.0");
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowRemoved.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowRemoved.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowRemoved.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
//
        @Override
        public OFFlowRemoved build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java549
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java575
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java575
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java575
org/projectfloodlight/openflow/protocol/ver13/OFPortOpticalVer13.java348
        public OFPortDesc build() {
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : DEFAULT_HW_ADDR;
            if(hwAddr == null)
                throw new NullPointerException("Property hwAddr must not be null");
            String name = this.nameSet ? this.name : DEFAULT_NAME;
            if(name == null)
                throw new NullPointerException("Property name must not be null");
            Set<OFPortConfig> config = this.configSet ? this.config : DEFAULT_CONFIG;
            if(config == null)
                throw new NullPointerException("Property config must not be null");
            Set<OFPortState> state = this.stateSet ? this.state : DEFAULT_STATE;
            if(state == null)
                throw new NullPointerException("Property state must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsRequestVer11.java35
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsRequestVer11.java35
    private static final Logger logger = LoggerFactory.getLogger(OFAggregateStatsRequestVer11.class);
    // version: 1.1
    final static byte WIRE_VERSION = 2;
    final static int LENGTH = 136;

        private final static long DEFAULT_XID = 0x0L;
        private final static Set<OFStatsRequestFlags> DEFAULT_FLAGS = ImmutableSet.<OFStatsRequestFlags>of();
        private final static TableId DEFAULT_TABLE_ID = TableId.ALL;
        private final static OFPort DEFAULT_OUT_PORT = OFPort.ANY;
        private final static OFGroup DEFAULT_OUT_GROUP = OFGroup.ANY;
        private final static U64 DEFAULT_COOKIE = U64.ZERO;
        private final static U64 DEFAULT_COOKIE_MASK = U64.ZERO;
        private final static Match DEFAULT_MATCH = OFFactoryVer11.MATCH_WILDCARD_ALL;

    // OF message fields
    private final long xid;
    private final Set<OFStatsRequestFlags> flags;
    private final TableId tableId;
    private final OFPort outPort;
    private final OFGroup outGroup;
    private final U64 cookie;
    private final U64 cookieMask;
    private final Match match;
//
    // Immutable default instance
    final static OFAggregateStatsRequestVer11 DEFAULT = new OFAggregateStatsRequestVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnStatsRequestVer11.java38
org/projectfloodlight/openflow/protocol/ver11/OFExperimenterStatsRequestVer11.java38
org/projectfloodlight/openflow/protocol/ver11/OFStatsRequestVer11.java38
        public OFBsnStatsRequest<?> readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 2
            byte version = bb.readByte();
            if(version != (byte) 0x2)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java755
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java776
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java776
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java776
        OFFlowRemovedVer11 other = (OFFlowRemovedVer11) obj;

        if( xid != other.xid)
            return false;
        if (cookie == null) {
            if (other.cookie != null)
                return false;
        } else if (!cookie.equals(other.cookie))
            return false;
        if( priority != other.priority)
            return false;
        if( reason != other.reason)
            return false;
        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if( durationSec != other.durationSec)
            return false;
        if( durationNsec != other.durationNsec)
            return false;
        if( idleTimeout != other.idleTimeout)
            return false;
        if (packetCount == null) {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java698
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java698
        public void funnel(OFFlowStatsEntryVer11 message, PrimitiveSink sink) {
            // FIXME: skip funnel of length
            message.tableId.putTo(sink);
            // skip pad (1 bytes)
            sink.putLong(message.durationSec);
            sink.putLong(message.durationNsec);
            sink.putInt(message.priority);
            sink.putInt(message.idleTimeout);
            sink.putInt(message.hardTimeout);
            // skip pad (6 bytes)
            message.cookie.putTo(sink);
            message.packetCount.putTo(sink);
            message.byteCount.putTo(sink);
            message.match.putTo(sink);
            FunnelUtils.putList(message.instructions, sink);
        }
    }


    public void writeTo(ChannelBuffer bb) {
        WRITER.write(bb, this);
    }

    final static Writer WRITER = new Writer();
    static class Writer implements OFMessageWriter<OFFlowStatsEntryVer11> {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFInstructionExperimenterVer11.java34
org/projectfloodlight/openflow/protocol/ver12/OFInstructionExperimenterVer12.java34
    public final static OFInstructionExperimenterVer11.Reader READER = new Reader();

    static class Reader implements OFMessageReader<OFInstructionExperimenter> {
        @Override
        public OFInstructionExperimenter readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            int experimenter = bb.readInt();
            bb.readerIndex(start);
            switch(experimenter) {
               default:
                   throw new OFParseError("Unknown value for discriminator experimenter of class OFInstructionExperimenterVer11: " + experimenter);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTypeSerializerVer11.java124
org/projectfloodlight/openflow/protocol/ver12/OFTypeSerializerVer12.java130
org/projectfloodlight/openflow/protocol/ver13/OFTypeSerializerVer13.java142
org/projectfloodlight/openflow/protocol/ver14/OFTypeSerializerVer14.java151
                throw new IllegalArgumentException("Illegal wire value for type OFType in version 1.1: " + val);
        }
    }


    public static byte toWireValue(OFType e) {
        switch(e) {
            case HELLO:
                return HELLO_VAL;
            case ERROR:
                return ERROR_VAL;
            case ECHO_REQUEST:
                return ECHO_REQUEST_VAL;
            case ECHO_REPLY:
                return ECHO_REPLY_VAL;
            case EXPERIMENTER:
                return EXPERIMENTER_VAL;
            case FEATURES_REQUEST:
                return FEATURES_REQUEST_VAL;
            case FEATURES_REPLY:
                return FEATURES_REPLY_VAL;
            case GET_CONFIG_REQUEST:
                return GET_CONFIG_REQUEST_VAL;
            case GET_CONFIG_REPLY:
                return GET_CONFIG_REPLY_VAL;
            case SET_CONFIG:
                return SET_CONFIG_VAL;
            case PACKET_IN:
                return PACKET_IN_VAL;
            case FLOW_REMOVED:
                return FLOW_REMOVED_VAL;
            case PORT_STATUS:
                return PORT_STATUS_VAL;
            case PACKET_OUT:
                return PACKET_OUT_VAL;
            case FLOW_MOD:
                return FLOW_MOD_VAL;
            case GROUP_MOD:
                return GROUP_MOD_VAL;
            case PORT_MOD:
                return PORT_MOD_VAL;
            case TABLE_MOD:
                return TABLE_MOD_VAL;
            case STATS_REQUEST:
                return STATS_REQUEST_VAL;
            case STATS_REPLY:
                return STATS_REPLY_VAL;
            case BARRIER_REQUEST:
                return BARRIER_REQUEST_VAL;
            case BARRIER_REPLY:
                return BARRIER_REPLY_VAL;
            case QUEUE_GET_CONFIG_REQUEST:
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java35
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java35
    private static final Logger logger = LoggerFactory.getLogger(OFAggregateStatsRequestVer12.class);
    // version: 1.2
    final static byte WIRE_VERSION = 3;
    final static int MINIMUM_LENGTH = 56;

        private final static long DEFAULT_XID = 0x0L;
        private final static Set<OFStatsRequestFlags> DEFAULT_FLAGS = ImmutableSet.<OFStatsRequestFlags>of();
        private final static TableId DEFAULT_TABLE_ID = TableId.ALL;
        private final static OFPort DEFAULT_OUT_PORT = OFPort.ANY;
        private final static OFGroup DEFAULT_OUT_GROUP = OFGroup.ANY;
        private final static U64 DEFAULT_COOKIE = U64.ZERO;
        private final static U64 DEFAULT_COOKIE_MASK = U64.ZERO;
        private final static Match DEFAULT_MATCH = OFFactoryVer12.MATCH_WILDCARD_ALL;

    // OF message fields
    private final long xid;
    private final Set<OFStatsRequestFlags> flags;
    private final TableId tableId;
    private final OFPort outPort;
    private final OFGroup outGroup;
    private final U64 cookie;
    private final U64 cookieMask;
    private final Match match;
//
    // Immutable default instance
    final static OFAggregateStatsRequestVer12 DEFAULT = new OFAggregateStatsRequestVer12(
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnStatsRequestVer12.java38
org/projectfloodlight/openflow/protocol/ver12/OFExperimenterStatsRequestVer12.java38
org/projectfloodlight/openflow/protocol/ver12/OFStatsRequestVer12.java38
        public OFBsnStatsRequest<?> readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 3
            byte version = bb.readByte();
            if(version != (byte) 0x3)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnGentableVer13.java242
org/projectfloodlight/openflow/protocol/ver13/OFActionCircuitVer13.java213
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnGentableVer14.java242
        public OFActionBsnGentable readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java35
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java35
    private static final Logger logger = LoggerFactory.getLogger(OFAggregateStatsRequestVer13.class);
    // version: 1.3
    final static byte WIRE_VERSION = 4;
    final static int MINIMUM_LENGTH = 56;

        private final static long DEFAULT_XID = 0x0L;
        private final static Set<OFStatsRequestFlags> DEFAULT_FLAGS = ImmutableSet.<OFStatsRequestFlags>of();
        private final static TableId DEFAULT_TABLE_ID = TableId.ALL;
        private final static OFPort DEFAULT_OUT_PORT = OFPort.ANY;
        private final static OFGroup DEFAULT_OUT_GROUP = OFGroup.ANY;
        private final static U64 DEFAULT_COOKIE = U64.ZERO;
        private final static U64 DEFAULT_COOKIE_MASK = U64.ZERO;
        private final static Match DEFAULT_MATCH = OFFactoryVer13.MATCH_WILDCARD_ALL;

    // OF message fields
    private final long xid;
    private final Set<OFStatsRequestFlags> flags;
    private final TableId tableId;
    private final OFPort outPort;
    private final OFGroup outGroup;
    private final U64 cookie;
    private final U64 cookieMask;
    private final Match match;
//
    // Immutable default instance
    final static OFAggregateStatsRequestVer13 DEFAULT = new OFAggregateStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnStatsRequestVer13.java38
org/projectfloodlight/openflow/protocol/ver13/OFCalientStatsRequestVer13.java38
org/projectfloodlight/openflow/protocol/ver13/OFExperimenterStatsRequestVer13.java38
org/projectfloodlight/openflow/protocol/ver13/OFStatsRequestVer13.java38
        public OFBsnStatsRequest<?> readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvReferenceVer13.java144
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvReferenceVer14.java144
                return new OFBsnTlvReferenceVer13(
                    tableId,
                    key
                );
        }

    }

    static class Builder implements OFBsnTlvReference.Builder {
        // OF message fields
        private boolean tableIdSet;
        private int tableId;
        private boolean keySet;
        private List<OFBsnTlv> key;

    @Override
    public int getType() {
        return 0x3b;
    }

    @Override
    public int getTableId() {
        return tableId;
    }

    @Override
    public OFBsnTlvReference.Builder setTableId(int tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnTlvReference.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandDscpRemarkVer13.java107
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandDscpRemarkVer14.java177
    @Override
    public int getType() {
        return 0x2;
    }

    @Override
    public long getRate() {
        return rate;
    }

    @Override
    public OFMeterBandDscpRemark.Builder setRate(long rate) {
        this.rate = rate;
        this.rateSet = true;
        return this;
    }
    @Override
    public long getBurstSize() {
        return burstSize;
    }

    @Override
    public OFMeterBandDscpRemark.Builder setBurstSize(long burstSize) {
        this.burstSize = burstSize;
        this.burstSizeSet = true;
        return this;
    }
    @Override
    public short getPrecLevel() {
        return precLevel;
    }

    @Override
    public OFMeterBandDscpRemark.Builder setPrecLevel(short precLevel) {
        this.precLevel = precLevel;
        this.precLevelSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandDscpRemarkVer13.java177
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandDscpRemarkVer14.java107
    @Override
    public int getType() {
        return 0x2;
    }

    @Override
    public long getRate() {
        return rate;
    }

    @Override
    public OFMeterBandDscpRemark.Builder setRate(long rate) {
        this.rate = rate;
        this.rateSet = true;
        return this;
    }
    @Override
    public long getBurstSize() {
        return burstSize;
    }

    @Override
    public OFMeterBandDscpRemark.Builder setBurstSize(long burstSize) {
        this.burstSize = burstSize;
        this.burstSizeSet = true;
        return this;
    }
    @Override
    public short getPrecLevel() {
        return precLevel;
    }

    @Override
    public OFMeterBandDscpRemark.Builder setPrecLevel(short precLevel) {
        this.precLevel = precLevel;
        this.precLevelSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandExperimenterVer13.java107
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandExperimenterVer14.java177
    @Override
    public int getType() {
        return 0xffff;
    }

    @Override
    public long getRate() {
        return rate;
    }

    @Override
    public OFMeterBandExperimenter.Builder setRate(long rate) {
        this.rate = rate;
        this.rateSet = true;
        return this;
    }
    @Override
    public long getBurstSize() {
        return burstSize;
    }

    @Override
    public OFMeterBandExperimenter.Builder setBurstSize(long burstSize) {
        this.burstSize = burstSize;
        this.burstSizeSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return experimenter;
    }

    @Override
    public OFMeterBandExperimenter.Builder setExperimenter(long experimenter) {
        this.experimenter = experimenter;
        this.experimenterSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandExperimenterVer13.java177
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandExperimenterVer14.java107
    @Override
    public int getType() {
        return 0xffff;
    }

    @Override
    public long getRate() {
        return rate;
    }

    @Override
    public OFMeterBandExperimenter.Builder setRate(long rate) {
        this.rate = rate;
        this.rateSet = true;
        return this;
    }
    @Override
    public long getBurstSize() {
        return burstSize;
    }

    @Override
    public OFMeterBandExperimenter.Builder setBurstSize(long burstSize) {
        this.burstSize = burstSize;
        this.burstSizeSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return experimenter;
    }

    @Override
    public OFMeterBandExperimenter.Builder setExperimenter(long experimenter) {
        this.experimenter = experimenter;
        this.experimenterSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropExperimenterMissVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropExperimenterMissVer14.java34
    public final static OFTableFeaturePropExperimenterMissVer13.Reader READER = new Reader();

    static class Reader implements OFMessageReader<OFTableFeaturePropExperimenterMiss> {
        @Override
        public OFTableFeaturePropExperimenterMiss readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 0xffff
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=0xffff(0xffff), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            int experimenter = bb.readInt();
            bb.readerIndex(start);
            switch(experimenter) {
               default:
                   throw new OFParseError("Unknown value for discriminator experimenter of class OFTableFeaturePropExperimenterMissVer13: " + experimenter);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropExperimenterVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropExperimenterVer14.java34
    public final static OFTableFeaturePropExperimenterVer13.Reader READER = new Reader();

    static class Reader implements OFMessageReader<OFTableFeaturePropExperimenter> {
        @Override
        public OFTableFeaturePropExperimenter readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 0xfffe
            short type = bb.readShort();
            if(type != (short) 0xfffe)
                throw new OFParseError("Wrong type: Expected=0xfffe(0xfffe), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            int experimenter = bb.readInt();
            bb.readerIndex(start);
            switch(experimenter) {
               default:
                   throw new OFParseError("Unknown value for discriminator experimenter of class OFTableFeaturePropExperimenterVer13: " + experimenter);
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java35
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java35
    private static final Logger logger = LoggerFactory.getLogger(OFAggregateStatsRequestVer14.class);
    // version: 1.4
    final static byte WIRE_VERSION = 5;
    final static int MINIMUM_LENGTH = 56;

        private final static long DEFAULT_XID = 0x0L;
        private final static Set<OFStatsRequestFlags> DEFAULT_FLAGS = ImmutableSet.<OFStatsRequestFlags>of();
        private final static TableId DEFAULT_TABLE_ID = TableId.ALL;
        private final static OFPort DEFAULT_OUT_PORT = OFPort.ANY;
        private final static OFGroup DEFAULT_OUT_GROUP = OFGroup.ANY;
        private final static U64 DEFAULT_COOKIE = U64.ZERO;
        private final static U64 DEFAULT_COOKIE_MASK = U64.ZERO;
        private final static Match DEFAULT_MATCH = OFFactoryVer14.MATCH_WILDCARD_ALL;

    // OF message fields
    private final long xid;
    private final Set<OFStatsRequestFlags> flags;
    private final TableId tableId;
    private final OFPort outPort;
    private final OFGroup outGroup;
    private final U64 cookie;
    private final U64 cookieMask;
    private final Match match;
//
    // Immutable default instance
    final static OFAggregateStatsRequestVer14 DEFAULT = new OFAggregateStatsRequestVer14(
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnStatsRequestVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFExperimenterStatsRequestVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFStatsRequestVer14.java38
        public OFBsnStatsRequest<?> readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnVer10.java39
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnVer11.java39
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnVer12.java39
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnVer13.java39
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnVer13.java39
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnVer14.java39
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnVer14.java39
        public OFActionBsn readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            int subtype = bb.readInt();
            bb.readerIndex(start);
            switch(subtype) {
               case 0x4:
                   // discriminator value 0x4L=0x4L for class OFActionBsnChecksumVer10
                   return OFActionBsnChecksumVer10.READER.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionRequestVer10.java482
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionRequestVer11.java482
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionRequestVer12.java482
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionRequestVer13.java482
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionRequestVer14.java482
            bb.writeByte((byte) 0x1);
            // fixed value property type = 4
            bb.writeByte((byte) 0x4);
            // fixed value property length = 32
            bb.writeShort((short) 0x20);
            bb.writeInt(U32.t(message.xid));
            // fixed value property experimenter = 0x5c16c7L
            bb.writeInt(0x5c16c7);
            // fixed value property subtype = 0xbL
            bb.writeInt(0xb);
            bb.writeByte(message.enabled ? 1 : 0);
            // pad: 1 bytes
            bb.writeZero(1);
            bb.writeShort(U16.t(message.idleTimeout));
            bb.writeShort(U16.t(message.hardTimeout));
            bb.writeShort(U16.t(message.priority));
            bb.writeLong(message.cookie.getValue());


        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFBsnSetPktinSuppressionRequestVer10(");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowRemovedVer10.java302
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java521
            throw new UnsupportedOperationException("Property hardTimeout not supported in version 1.0");
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowRemoved.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowRemoved.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowRemoved.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFFlowRemoved build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowRemovedVer10.java503
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java312
            throw new UnsupportedOperationException("Property hardTimeout not supported in version 1.0");
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowRemoved.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowRemoved.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowRemoved.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
//
        @Override
        public OFFlowRemoved build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowRemovedVer10.java504
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java535
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java535
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java535
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowRemoved.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowRemoved.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowRemoved.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
//
        @Override
        public OFFlowRemoved build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsEntryVer10.java235
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsEntryVer11.java235
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsEntryVer12.java235
    }



        @Override
        public OFQueueStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                long queueId = this.queueIdSet ? this.queueId : parentMessage.queueId;
                U64 txBytes = this.txBytesSet ? this.txBytes : parentMessage.txBytes;
                if(txBytes == null)
                    throw new NullPointerException("Property txBytes must not be null");
                U64 txPackets = this.txPacketsSet ? this.txPackets : parentMessage.txPackets;
                if(txPackets == null)
                    throw new NullPointerException("Property txPackets must not be null");
                U64 txErrors = this.txErrorsSet ? this.txErrors : parentMessage.txErrors;
                if(txErrors == null)
                    throw new NullPointerException("Property txErrors must not be null");

                //
                return new OFQueueStatsEntryVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFDescStatsRequestVer11.java231
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsRequestVer12.java231
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsRequestVer12.java231
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsRequestVer12.java231
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsRequestVer13.java231
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsRequestVer13.java231
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesStatsRequestVer13.java231
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsRequestVer13.java231
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsRequestVer13.java231
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsRequestVer14.java231
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsRequestVer14.java231
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesStatsRequestVer14.java231
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsRequestVer14.java231
org/projectfloodlight/openflow/protocol/ver14/OFQueueDescStatsRequestVer14.java231
org/projectfloodlight/openflow/protocol/ver14/OFTableDescStatsRequestVer14.java231
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsRequestVer14.java231
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 0
            short statsType = bb.readShort();
            if(statsType != (short) 0x0)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsRequestVer11.java231
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsRequestVer11.java231
org/projectfloodlight/openflow/protocol/ver12/OFDescStatsRequestVer12.java231
org/projectfloodlight/openflow/protocol/ver13/OFDescStatsRequestVer13.java231
org/projectfloodlight/openflow/protocol/ver14/OFDescStatsRequestVer14.java231
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 7
            short statsType = bb.readShort();
            if(statsType != (short) 0x7)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsRequestVer11.java276
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsRequestVer12.java276
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsRequestVer12.java314
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortsRequestVer13.java261
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsRequestVer13.java269
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsRequestVer13.java269
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsRequestVer13.java276
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsRequestVer13.java314
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsRequestVer14.java261
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsRequestVer14.java261
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsRequestVer14.java261
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsRequestVer14.java261
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsRequestVer14.java261
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsRequestVer14.java261
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsRequestVer14.java261
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsRequestVer14.java261
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsRequestVer14.java269
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsRequestVer14.java269
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsRequestVer14.java276
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsRequestVer14.java314
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 6
            short statsType = bb.readShort();
            if(statsType != (short) 0x6)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsRequestVer11.java276
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsRequestVer11.java314
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsRequestVer12.java276
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsRequestVer13.java276
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsRequestVer14.java276
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 18
            byte type = bb.readByte();
            if(type != (byte) 0x12)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 4
            short statsType = bb.readShort();
            if(statsType != (short) 0x4)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFQueueGetConfigRequestVer11.java215
org/projectfloodlight/openflow/protocol/ver12/OFQueueGetConfigRequestVer12.java215
org/projectfloodlight/openflow/protocol/ver13/OFQueueGetConfigRequestVer13.java215
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 22
            byte type = bb.readByte();
            if(type != (byte) 0x16)
                throw new OFParseError("Wrong type: Expected=OFType.QUEUE_GET_CONFIG_REQUEST(22), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            OFPort port = OFPort.read4Bytes(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsEntryVer13.java103
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsEntryVer13.java172
    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableStatsEntry.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getEntryCount() {
        return entryCount;
    }

    @Override
    public OFBsnGentableStatsEntry.Builder setEntryCount(long entryCount) {
        this.entryCount = entryCount;
        this.entryCountSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableStatsEntry.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFBsnGentableStatsEntry build() {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpRequestVer13.java540
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpRequestVer14.java540
            sink.putByte((byte) 0x4);
            // fixed value property type = 4
            sink.putByte((byte) 0x4);
            // fixed value property length = 38
            sink.putShort((short) 0x26);
            sink.putLong(message.xid);
            // fixed value property experimenter = 0x5c16c7L
            sink.putInt(0x5c16c7);
            // fixed value property subtype = 0x29L
            sink.putInt(0x29);
            sink.putShort(message.enabled);
            // skip pad (3 bytes)
            message.portNo.putTo(sink);
            sink.putInt(message.actorSysPriority);
            message.actorSysMac.putTo(sink);
            sink.putInt(message.actorPortPriority);
            sink.putInt(message.actorPortNum);
            sink.putInt(message.actorKey);
        }
    }


    public void writeTo(ChannelBuffer bb) {
        WRITER.write(bb, this);
    }

    final static Writer WRITER = new Writer();
    static class Writer implements OFMessageWriter<OFBsnSetLacpRequestVer13> {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterConstantsSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterConstantsSerializerVer14.java30
public class OFBsnVlanCounterConstantsSerializerVer13 {

    public final static short BSN_VLAN_ALL_VAL = (short) 0xffff;

    public static OFBsnVlanCounterConstants readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(U8.f(bb.readByte()));
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBsnVlanCounterConstants e) {
        bb.writeByte(U8.t(toWireValue(e)));
    }

    public static void putTo(OFBsnVlanCounterConstants e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFBsnVlanCounterConstants ofWireValue(short val) {
        switch(val) {
            case BSN_VLAN_ALL_VAL:
                return OFBsnVlanCounterConstants.BSN_VLAN_ALL;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFBsnVlanCounterConstants in version 1.3: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java450
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java391
        public OFCalientFlowStatsEntry build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                long durationSec = this.durationSecSet ? this.durationSec : parentMessage.durationSec;
                long durationNsec = this.durationNsecSet ? this.durationNsec : parentMessage.durationNsec;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
                Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java1049
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java886
        } else if (!match.equals(other.match))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime *  (int) (durationSec ^ (durationSec >>> 32));
        result = prime *  (int) (durationNsec ^ (durationNsec >>> 32));
        result = prime * result + priority;
        result = prime * result + idleTimeout;
        result = prime * result + hardTimeout;
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((cookie == null) ? 0 : cookie.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java75
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java75
            throw new NullPointerException("OFGroupStatsEntryVer13: property bucketStats cannot be null");
        }
        this.group = group;
        this.refCount = refCount;
        this.packetCount = packetCount;
        this.byteCount = byteCount;
        this.durationSec = durationSec;
        this.durationNsec = durationNsec;
        this.bucketStats = bucketStats;
    }

    // Accessors for OF message fields
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public long getRefCount() {
        return refCount;
    }

    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public List<OFBucketCounter> getBucketStats() {
        return bucketStats;
    }

    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnVer13.java38
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnVer13.java38
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnVer14.java38
        public OFInstructionBsn readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            int subtype = bb.readInt();
            bb.readerIndex(start);
            switch(subtype) {
               case 0x1:
                   // discriminator value 0x1L=0x1L for class OFInstructionBsnArpOffloadVer13
                   return OFInstructionBsnArpOffloadVer13.READER.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsVer13.java72
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsVer14.java72
            throw new NullPointerException("OFMeterStatsVer13: property bandStats cannot be null");
        }
        this.meterId = meterId;
        this.flowCount = flowCount;
        this.packetInCount = packetInCount;
        this.byteInCount = byteInCount;
        this.durationSec = durationSec;
        this.durationNsec = durationNsec;
        this.bandStats = bandStats;
    }

    // Accessors for OF message fields
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public long getFlowCount() {
        return flowCount;
    }

    @Override
    public U64 getPacketInCount() {
        return packetInCount;
    }

    @Override
    public U64 getByteInCount() {
        return byteInCount;
    }

    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public List<OFMeterBandStats> getBandStats() {
        return bandStats;
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesVer13.java78
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesVer14.java78
            throw new NullPointerException("OFTableFeaturesVer13: property properties cannot be null");
        }
        this.tableId = tableId;
        this.name = name;
        this.metadataMatch = metadataMatch;
        this.metadataWrite = metadataWrite;
        this.config = config;
        this.maxEntries = maxEntries;
        this.properties = properties;
    }

    // Accessors for OF message fields
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public U64 getMetadataMatch() {
        return metadataMatch;
    }

    @Override
    public U64 getMetadataWrite() {
        return metadataWrite;
    }

    @Override
    public long getConfig() {
        return config;
    }

    @Override
    public long getMaxEntries() {
        return maxEntries;
    }

    @Override
    public List<OFTableFeatureProp> getProperties() {
        return properties;
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFAsyncGetReplyVer14.java71
org/projectfloodlight/openflow/protocol/ver14/OFAsyncGetRequestVer14.java71
org/projectfloodlight/openflow/protocol/ver14/OFAsyncSetVer14.java71
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public long getPacketInMaskEqualMaster()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property packetInMaskEqualMaster not supported in version 1.4");
    }

    @Override
    public long getPacketInMaskSlave()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property packetInMaskSlave not supported in version 1.4");
    }

    @Override
    public long getPortStatusMaskEqualMaster()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property portStatusMaskEqualMaster not supported in version 1.4");
    }

    @Override
    public long getPortStatusMaskSlave()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property portStatusMaskSlave not supported in version 1.4");
    }

    @Override
    public long getFlowRemovedMaskEqualMaster()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property flowRemovedMaskEqualMaster not supported in version 1.4");
    }

    @Override
    public long getFlowRemovedMaskSlave()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property flowRemovedMaskSlave not supported in version 1.4");
    }

    @Override
    public List<OFAsyncConfigProp> getProperties() {
        return properties;
    }



    public OFAsyncGetReply.Builder createBuilder() {
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsEntryVer14.java103
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsEntryVer14.java172
    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableStatsEntry.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getEntryCount() {
        return entryCount;
    }

    @Override
    public OFBsnGentableStatsEntry.Builder setEntryCount(long entryCount) {
        this.entryCount = entryCount;
        this.entryCountSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableStatsEntry.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFBsnGentableStatsEntry build() {
FileLine
net/onrc/openvirtex/messages/statistics/ver10/OVXAggregateStatsRequestVer10.java102
net/onrc/openvirtex/messages/statistics/ver10/OVXFlowStatsRequestVer10.java116
net/onrc/openvirtex/messages/statistics/ver13/OVXAggregateStatsRequestVer13.java100
net/onrc/openvirtex/messages/statistics/ver13/OVXFlowStatsRequestVer13.java111
    }

    private List<PhysicalSwitch> getPhysicalSwitches(OVXSwitch sw) {
        if (sw instanceof OVXSingleSwitch) {
            try {
                return sw.getMap().getPhysicalSwitches(sw);
            } catch (SwitchMappingException e) {
                log.debug("OVXSwitch {} does not map to any physical switches",
                        sw.getSwitchName());
                return new LinkedList<>();
            }
        }
        LinkedList<PhysicalSwitch> sws = new LinkedList<PhysicalSwitch>();
        for (OVXPort p : sw.getPorts().values()) {
            if (!sws.contains(p.getPhysicalPort().getParentSwitch())) {
                sws.add(p.getPhysicalPort().getParentSwitch());
            }
        }
        return sws;
    }

}
FileLine
net/onrc/openvirtex/messages/ver10/OVXFlowAddVer10.java312
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteStrictVer13.java194
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteVer13.java197
net/onrc/openvirtex/messages/ver13/OVXFlowModifyStrictVer13.java195
net/onrc/openvirtex/messages/ver13/OVXFlowModifyVer13.java199
                if (inPort != null
                        && inPort.isLink()
                        && (!this.getMatch().isFullyWildcarded(MatchField.ETH_DST) || !this.getMatch().isFullyWildcarded(MatchField.ETH_SRC))) {
                    // rewrite the OFMatch with the values of the link
                    OVXPort dstPort = sw.getMap()
                            .getVirtualNetwork(sw.getTenantId())
                            .getNeighborPort(inPort);
                    OVXLink link = sw.getMap()
                            .getVirtualNetwork(sw.getTenantId())
                            .getLink(dstPort, inPort);
                    if (inPort != null && link != null) {
                        try {
                            Integer flowId = sw
                                    .getMap()
                                    .getVirtualNetwork(sw.getTenantId())
                                    .getFlowManager()
                                    .getFlowId(((OFMatchV1)this.match).getEthSrc().getBytes(),
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionExperimenterVer10.java34
org/projectfloodlight/openflow/protocol/ver11/OFActionExperimenterVer11.java34
org/projectfloodlight/openflow/protocol/ver12/OFActionExperimenterVer12.java34
org/projectfloodlight/openflow/protocol/ver14/OFActionExperimenterVer14.java34
    public final static OFActionExperimenterVer10.Reader READER = new Reader();

    static class Reader implements OFMessageReader<OFActionExperimenter> {
        @Override
        public OFActionExperimenter readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            int experimenter = bb.readInt();
            bb.readerIndex(start);
            switch(experimenter) {
               case 0x5c16c7:
                   // discriminator value 0x5c16c7L=0x5c16c7L for class OFActionBsnVer10
                   return OFActionBsnVer10.READER.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowRemovedVer10.java303
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java313
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java535
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java535
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java535
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowRemoved.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowRemoved.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowRemoved.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }


        @Override
        public OFFlowRemoved build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowRemovedVer10.java504
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java522
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java320
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java320
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java320
    }
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFFlowRemoved.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFFlowRemoved.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public OFFlowRemoved.Builder setMatch(Match match) {
        this.match = match;
        this.matchSet = true;
        return this;
    }
//
        @Override
        public OFFlowRemoved build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreVer11.java656
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreVer12.java656
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreVer13.java656
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreVer14.java656
            Set<OFBsnVportL2GreFlags> flags = OFBsnVportL2GreFlagsSerializerVer11.readFrom(bb);
            OFPort portNo = OFPort.read4Bytes(bb);
            OFPort loopbackPortNo = OFPort.read4Bytes(bb);
            MacAddress localMac = MacAddress.read6Bytes(bb);
            MacAddress nhMac = MacAddress.read6Bytes(bb);
            IPv4Address srcIp = IPv4Address.read4Bytes(bb);
            IPv4Address dstIp = IPv4Address.read4Bytes(bb);
            short dscp = U8.f(bb.readByte());
            short ttl = U8.f(bb.readByte());
            // pad: 2 bytes
            bb.skipBytes(2);
            long vpn = U32.f(bb.readInt());
            long rateLimit = U32.f(bb.readInt());
            String ifName = ChannelUtils.readFixedLengthString(bb, 16);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java775
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java775
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java775
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java775
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java775
                throw new OFParseError("Wrong command: Expected=OFFlowModCommand.ADD(0), got="+command);
            int idleTimeout = U16.f(bb.readShort());
            int hardTimeout = U16.f(bb.readShort());
            int priority = U16.f(bb.readShort());
            OFBufferId bufferId = OFBufferId.of(bb.readInt());
            OFPort outPort = OFPort.read4Bytes(bb);
            OFGroup outGroup = OFGroup.read4Bytes(bb);
            Set<OFFlowModFlags> flags = OFFlowModFlagsSerializerVer11.readFrom(bb);
            // pad: 2 bytes
            bb.skipBytes(2);
            Match match = ChannelUtilsVer11.readOFMatch(bb);
            List<OFInstruction> instructions = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFInstructionVer11.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java775
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java775
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java775
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java775
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java775
                throw new OFParseError("Wrong command: Expected=OFFlowModCommand.ADD(0), got="+command);
            int idleTimeout = U16.f(bb.readShort());
            int hardTimeout = U16.f(bb.readShort());
            int priority = U16.f(bb.readShort());
            OFBufferId bufferId = OFBufferId.of(bb.readInt());
            OFPort outPort = OFPort.read4Bytes(bb);
            OFGroup outGroup = OFGroup.read4Bytes(bb);
            Set<OFFlowModFlags> flags = OFFlowModFlagsSerializerVer12.readFrom(bb);
            // pad: 2 bytes
            bb.skipBytes(2);
            Match match = ChannelUtilsVer12.readOFMatch(bb);
            List<OFInstruction> instructions = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFInstructionVer12.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdExperimenterVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFActionIdExperimenterVer14.java34
    public final static OFActionIdExperimenterVer13.Reader READER = new Reader();

    static class Reader implements OFMessageReader<OFActionIdExperimenter> {
        @Override
        public OFActionIdExperimenter readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            int experimenter = bb.readInt();
            bb.readerIndex(start);
            switch(experimenter) {
               case 0x5c16c7:
                   // discriminator value 0x5c16c7L=0x5c16c7L for class OFActionIdBsnVer13
                   return OFActionIdBsnVer13.READER.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsEntryVer13.java107
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsEntryVer14.java107
        BuilderWithParent(OFBsnDebugCounterDescStatsEntryVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public U64 getCounterId() {
        return counterId;
    }

    @Override
    public OFBsnDebugCounterDescStatsEntry.Builder setCounterId(U64 counterId) {
        this.counterId = counterId;
        this.counterIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnDebugCounterDescStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public String getDescription() {
        return description;
    }

    @Override
    public OFBsnDebugCounterDescStatsEntry.Builder setDescription(String description) {
        this.description = description;
        this.descriptionSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsEntryVer13.java139
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsEntryVer14.java139
                return new OFBsnGentableEntryStatsEntryVer13(
                    key,
                    stats
                );
        }

    }

    static class Builder implements OFBsnGentableEntryStatsEntry.Builder {
        // OF message fields
        private boolean keySet;
        private List<OFBsnTlv> key;
        private boolean statsSet;
        private List<OFBsnTlv> stats;

    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryStatsEntry.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getStats() {
        return stats;
    }

    @Override
    public OFBsnGentableEntryStatsEntry.Builder setStats(List<OFBsnTlv> stats) {
        this.stats = stats;
        this.statsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsEntryVer13.java99
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsEntryVer14.java99
        BuilderWithParent(OFBsnGentableStatsEntryVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableStatsEntry.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getEntryCount() {
        return entryCount;
    }

    @Override
    public OFBsnGentableStatsEntry.Builder setEntryCount(long entryCount) {
        this.entryCount = entryCount;
        this.entryCountSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableStatsEntry.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java819
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java815
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java814
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java815
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java813
                throw new OFParseError("Wrong command: Expected=OFFlowModCommand.ADD(0), got="+command);
            int idleTimeout = U16.f(bb.readShort());
            int hardTimeout = U16.f(bb.readShort());
            int priority = U16.f(bb.readShort());
            OFBufferId bufferId = OFBufferId.of(bb.readInt());
            OFPort outPort = OFPort.read4Bytes(bb);
            OFGroup outGroup = OFGroup.read4Bytes(bb);
            Set<OFFlowModFlags> flags = OFFlowModFlagsSerializerVer13.readFrom(bb);
            // pad: 2 bytes
            bb.skipBytes(2);
            Match match = ChannelUtilsVer13.readOFMatch(bb);
            List<OFInstruction> instructions = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFInstructionVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionExperimenterVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFInstructionExperimenterVer14.java34
    public final static OFInstructionExperimenterVer13.Reader READER = new Reader();

    static class Reader implements OFMessageReader<OFInstructionExperimenter> {
        @Override
        public OFInstructionExperimenter readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            int experimenter = bb.readInt();
            bb.readerIndex(start);
            switch(experimenter) {
               case 0x5c16c7:
                   // discriminator value 0x5c16c7L=0x5c16c7L for class OFInstructionBsnVer13
                   return OFInstructionBsnVer13.READER.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdExperimenterVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdExperimenterVer14.java34
    public final static OFInstructionIdExperimenterVer13.Reader READER = new Reader();

    static class Reader implements OFMessageReader<OFInstructionIdExperimenter> {
        @Override
        public OFInstructionIdExperimenter readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            int experimenter = bb.readInt();
            bb.readerIndex(start);
            switch(experimenter) {
               case 0x5c16c7:
                   // discriminator value 0x5c16c7L=0x5c16c7L for class OFInstructionIdBsnVer13
                   return OFInstructionIdBsnVer13.READER.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/OFAsyncGetReply.java46
org/projectfloodlight/openflow/protocol/OFAsyncGetRequest.java46
org/projectfloodlight/openflow/protocol/OFAsyncSet.java47
        OFAsyncGetReply build();
        OFVersion getVersion();
        OFType getType();
        long getXid();
        Builder setXid(long xid);
        long getPacketInMaskEqualMaster() throws UnsupportedOperationException;
        Builder setPacketInMaskEqualMaster(long packetInMaskEqualMaster) throws UnsupportedOperationException;
        long getPacketInMaskSlave() throws UnsupportedOperationException;
        Builder setPacketInMaskSlave(long packetInMaskSlave) throws UnsupportedOperationException;
        long getPortStatusMaskEqualMaster() throws UnsupportedOperationException;
        Builder setPortStatusMaskEqualMaster(long portStatusMaskEqualMaster) throws UnsupportedOperationException;
        long getPortStatusMaskSlave() throws UnsupportedOperationException;
        Builder setPortStatusMaskSlave(long portStatusMaskSlave) throws UnsupportedOperationException;
        long getFlowRemovedMaskEqualMaster() throws UnsupportedOperationException;
        Builder setFlowRemovedMaskEqualMaster(long flowRemovedMaskEqualMaster) throws UnsupportedOperationException;
        long getFlowRemovedMaskSlave() throws UnsupportedOperationException;
        Builder setFlowRemovedMaskSlave(long flowRemovedMaskSlave) throws UnsupportedOperationException;
        List<OFAsyncConfigProp> getProperties() throws UnsupportedOperationException;
        Builder setProperties(List<OFAsyncConfigProp> properties) throws UnsupportedOperationException;
    }
}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionTypeSerializerVer10.java44
org/projectfloodlight/openflow/protocol/ver11/OFActionTypeSerializerVer11.java57
    public final static short EXPERIMENTER_VAL = (short) 0xffff;

    public static OFActionType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFActionType e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFActionType e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFActionType ofWireValue(short val) {
        switch(val) {
            case OUTPUT_VAL:
                return OFActionType.OUTPUT;
            case SET_VLAN_VID_VAL:
                return OFActionType.SET_VLAN_VID;
            case SET_VLAN_PCP_VAL:
                return OFActionType.SET_VLAN_PCP;
            case STRIP_VLAN_VAL:
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFAggregateStatsRequestVer10.java260
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsRequestVer10.java260
        public OFAggregateStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                Match match = this.matchSet ? this.match : parentMessage.match;
                if(match == null)
                    throw new NullPointerException("Property match must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                OFPort outPort = this.outPortSet ? this.outPort : parentMessage.outPort;
                if(outPort == null)
                    throw new NullPointerException("Property outPort must not be null");

                //
                return new OFAggregateStatsRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwClearDataReplyVer10.java110
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwClearDataReplyVer11.java175
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwClearDataReplyVer12.java175
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwClearDataReplyVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwClearDataReplyVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwClearDataReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x16L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnBwClearDataReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnBwClearDataReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwClearDataReplyVer10.java175
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwClearDataReplyVer11.java110
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwClearDataReplyVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwClearDataReplyVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwClearDataReplyVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwClearDataReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x16L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnBwClearDataReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
//
        @Override
        public OFBsnBwClearDataReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableGetReplyVer10.java110
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableGetReplyVer11.java175
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableGetReplyVer12.java175
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableGetReplyVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableGetReplyVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableGetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x14L;
    }

    @Override
    public long getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnBwEnableGetReply.Builder setEnabled(long enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableGetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableGetReplyVer10.java175
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableGetReplyVer11.java110
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableGetReplyVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableGetReplyVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableGetReplyVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableGetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x14L;
    }

    @Override
    public long getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnBwEnableGetReply.Builder setEnabled(long enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }
//
        @Override
        public OFBsnBwEnableGetReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableSetRequestVer10.java110
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableSetRequestVer11.java175
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableSetRequestVer12.java175
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableSetRequestVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableSetRequestVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableSetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x12L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnBwEnableSetRequest.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }


        @Override
        public OFBsnBwEnableSetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableSetRequestVer10.java175
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableSetRequestVer11.java110
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableSetRequestVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableSetRequestVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableSetRequestVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableSetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x12L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnBwEnableSetRequest.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }
//
        @Override
        public OFBsnBwEnableSetRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetMirroringReplyVer10.java110
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetMirroringReplyVer11.java175
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetMirroringReplyVer12.java175
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetMirroringReplyVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetMirroringReplyVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetMirroringReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnGetMirroringReply.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnGetMirroringReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetMirroringReplyVer10.java175
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetMirroringReplyVer11.java110
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetMirroringReplyVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetMirroringReplyVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetMirroringReplyVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetMirroringReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnGetMirroringReply.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }
//
        @Override
        public OFBsnGetMirroringReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetMirroringRequestVer10.java110
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetMirroringRequestVer11.java175
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetMirroringRequestVer12.java175
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetMirroringRequestVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetMirroringRequestVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetMirroringRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnGetMirroringRequest.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnGetMirroringRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetMirroringRequestVer10.java175
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetMirroringRequestVer11.java110
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetMirroringRequestVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetMirroringRequestVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetMirroringRequestVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetMirroringRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnGetMirroringRequest.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }
//
        @Override
        public OFBsnGetMirroringRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnHeaderVer10.java39
org/projectfloodlight/openflow/protocol/ver10/OFExperimenterVer10.java38
org/projectfloodlight/openflow/protocol/ver10/OFNiciraHeaderVer10.java38
        public OFBsnHeader readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 1
            byte version = bb.readByte();
            if(version != (byte) 0x1)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetMirroringVer10.java110
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetMirroringVer11.java175
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetMirroringVer12.java175
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetMirroringVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetMirroringVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetMirroring.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnSetMirroring.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }


        @Override
        public OFBsnSetMirroring build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetMirroringVer10.java175
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetMirroringVer11.java110
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetMirroringVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetMirroringVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetMirroringVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetMirroring.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public short getReportMirrorPorts() {
        return reportMirrorPorts;
    }

    @Override
    public OFBsnSetMirroring.Builder setReportMirrorPorts(short reportMirrorPorts) {
        this.reportMirrorPorts = reportMirrorPorts;
        this.reportMirrorPortsSet = true;
        return this;
    }
//
        @Override
        public OFBsnSetMirroring build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionReplyVer10.java110
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionReplyVer11.java175
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionReplyVer12.java175
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionReplyVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionReplyVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetPktinSuppressionReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x19L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetPktinSuppressionReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnSetPktinSuppressionReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionReplyVer10.java175
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionReplyVer11.java110
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionReplyVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionReplyVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionReplyVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetPktinSuppressionReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x19L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetPktinSuppressionReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
//
        @Override
        public OFBsnSetPktinSuppressionReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortCreateRequestVer10.java108
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortCreateRequestVer11.java175
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortCreateRequestVer12.java175
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortCreateRequestVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortCreateRequestVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortCreateRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public OFBsnVport getVport() {
        return vport;
    }

    @Override
    public OFBsnVirtualPortCreateRequest.Builder setVport(OFBsnVport vport) {
        this.vport = vport;
        this.vportSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortCreateRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortCreateRequestVer10.java175
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortCreateRequestVer11.java108
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortCreateRequestVer12.java108
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortCreateRequestVer13.java108
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortCreateRequestVer14.java108
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortCreateRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public OFBsnVport getVport() {
        return vport;
    }

    @Override
    public OFBsnVirtualPortCreateRequest.Builder setVport(OFBsnVport vport) {
        this.vport = vport;
        this.vportSet = true;
        return this;
    }
//
        @Override
        public OFBsnVirtualPortCreateRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortRemoveReplyVer10.java110
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortRemoveReplyVer11.java175
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortRemoveReplyVer12.java175
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortRemoveReplyVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortRemoveReplyVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortRemoveReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1aL;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnVirtualPortRemoveReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortRemoveReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortRemoveReplyVer10.java175
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortRemoveReplyVer11.java110
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortRemoveReplyVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortRemoveReplyVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortRemoveReplyVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortRemoveReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1aL;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnVirtualPortRemoveReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
//
        @Override
        public OFBsnVirtualPortRemoveReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortRemoveRequestVer10.java110
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortRemoveRequestVer11.java175
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortRemoveRequestVer12.java175
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortRemoveRequestVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortRemoveRequestVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortRemoveRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x11L;
    }

    @Override
    public long getVportNo() {
        return vportNo;
    }

    @Override
    public OFBsnVirtualPortRemoveRequest.Builder setVportNo(long vportNo) {
        this.vportNo = vportNo;
        this.vportNoSet = true;
        return this;
    }


        @Override
        public OFBsnVirtualPortRemoveRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortRemoveRequestVer10.java175
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortRemoveRequestVer11.java110
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortRemoveRequestVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortRemoveRequestVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortRemoveRequestVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnVirtualPortRemoveRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x11L;
    }

    @Override
    public long getVportNo() {
        return vportNo;
    }

    @Override
    public OFBsnVirtualPortRemoveRequest.Builder setVportNo(long vportNo) {
        this.vportNo = vportNo;
        this.vportNoSet = true;
        return this;
    }
//
        @Override
        public OFBsnVirtualPortRemoveRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFExperimenterStatsReplyVer10.java38
org/projectfloodlight/openflow/protocol/ver10/OFStatsReplyVer10.java38
        public OFExperimenterStatsReply readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 1
            byte version = bb.readByte();
            if(version != (byte) 0x1)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 17
            byte type = bb.readByte();
            if(type != (byte) 0x11)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(17), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java41
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java41
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java41
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java41
        private final static OFPort DEFAULT_PORT_NO = OFPort.ANY;
        private final static MacAddress DEFAULT_HW_ADDR = MacAddress.NONE;
        private final static String DEFAULT_NAME = "";
        private final static Set<OFPortConfig> DEFAULT_CONFIG = ImmutableSet.<OFPortConfig>of();
        private final static Set<OFPortState> DEFAULT_STATE = ImmutableSet.<OFPortState>of();
        private final static Set<OFPortFeatures> DEFAULT_CURR = ImmutableSet.<OFPortFeatures>of();
        private final static Set<OFPortFeatures> DEFAULT_ADVERTISED = ImmutableSet.<OFPortFeatures>of();
        private final static Set<OFPortFeatures> DEFAULT_SUPPORTED = ImmutableSet.<OFPortFeatures>of();
        private final static Set<OFPortFeatures> DEFAULT_PEER = ImmutableSet.<OFPortFeatures>of();
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsEntryVer10.java235
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsEntryVer11.java235
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsEntryVer12.java235
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsEntryVer13.java249
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsEntryVer14.java260
    }



        @Override
        public OFQueueStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                long queueId = this.queueIdSet ? this.queueId : parentMessage.queueId;
                U64 txBytes = this.txBytesSet ? this.txBytes : parentMessage.txBytes;
                if(txBytes == null)
                    throw new NullPointerException("Property txBytes must not be null");
                U64 txPackets = this.txPacketsSet ? this.txPackets : parentMessage.txPackets;
                if(txPackets == null)
                    throw new NullPointerException("Property txPackets must not be null");
                U64 txErrors = this.txErrorsSet ? this.txErrors : parentMessage.txErrors;
                if(txErrors == null)
                    throw new NullPointerException("Property txErrors must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnHeaderVer11.java39
org/projectfloodlight/openflow/protocol/ver11/OFExperimenterVer11.java38
org/projectfloodlight/openflow/protocol/ver11/OFNiciraHeaderVer11.java38
        public OFBsnHeader readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 2
            byte version = bb.readByte();
            if(version != (byte) 0x2)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnStatsReplyVer11.java38
org/projectfloodlight/openflow/protocol/ver11/OFExperimenterStatsReplyVer11.java38
org/projectfloodlight/openflow/protocol/ver11/OFStatsReplyVer11.java38
        public OFBsnStatsReply readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 2
            byte version = bb.readByte();
            if(version != (byte) 0x2)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java484
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java484
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java484
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java484
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java484
    static class Builder implements OFFlowAdd.Builder {
        // OF message fields
        private boolean xidSet;
        private long xid;
        private boolean cookieSet;
        private U64 cookie;
        private boolean cookieMaskSet;
        private U64 cookieMask;
        private boolean tableIdSet;
        private TableId tableId;
        private boolean idleTimeoutSet;
        private int idleTimeout;
        private boolean hardTimeoutSet;
        private int hardTimeout;
        private boolean prioritySet;
        private int priority;
        private boolean bufferIdSet;
        private OFBufferId bufferId;
        private boolean outPortSet;
        private OFPort outPort;
        private boolean outGroupSet;
        private OFGroup outGroup;
        private boolean flagsSet;
        private Set<OFFlowModFlags> flags;
        private boolean matchSet;
        private Match match;
        private boolean instructionsSet;
        private List<OFInstruction> instructions;

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowAdd.Builder setXid(long xid) {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsEntryVer11.java232
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsEntryVer12.java232
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsEntryVer13.java232
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsEntryVer14.java232
            return new OFGroupDescStatsEntryVer11(
                    groupType,
                    group,
                    buckets
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFGroupDescStatsEntry> {
        @Override
        public OFGroupDescStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            OFGroupType groupType = OFGroupTypeSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnHeaderVer12.java39
org/projectfloodlight/openflow/protocol/ver12/OFExperimenterVer12.java38
org/projectfloodlight/openflow/protocol/ver12/OFNiciraHeaderVer12.java38
        public OFBsnHeader readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 3
            byte version = bb.readByte();
            if(version != (byte) 0x3)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnStatsReplyVer12.java38
org/projectfloodlight/openflow/protocol/ver12/OFExperimenterStatsReplyVer12.java38
org/projectfloodlight/openflow/protocol/ver12/OFStatsReplyVer12.java38
        public OFBsnStatsReply readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 3
            byte version = bb.readByte();
            if(version != (byte) 0x3)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java484
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java484
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java484
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java484
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java484
    static class Builder implements OFFlowAdd.Builder {
        // OF message fields
        private boolean xidSet;
        private long xid;
        private boolean cookieSet;
        private U64 cookie;
        private boolean cookieMaskSet;
        private U64 cookieMask;
        private boolean tableIdSet;
        private TableId tableId;
        private boolean idleTimeoutSet;
        private int idleTimeout;
        private boolean hardTimeoutSet;
        private int hardTimeout;
        private boolean prioritySet;
        private int priority;
        private boolean bufferIdSet;
        private OFBufferId bufferId;
        private boolean outPortSet;
        private OFPort outPort;
        private boolean outGroupSet;
        private OFGroup outGroup;
        private boolean flagsSet;
        private Set<OFFlowModFlags> flags;
        private boolean matchSet;
        private Match match;
        private boolean instructionsSet;
        private List<OFInstruction> instructions;

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowAdd.Builder setXid(long xid) {
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpOpMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpOpMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpOpMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80002b04L;
    }

    @Override
    public ArpOpcode getValue() {
        return value;
    }

    @Override
    public OFOxmArpOpMasked.Builder setValue(ArpOpcode value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ArpOpcode getMask() {
        return mask;
    }

    @Override
    public OFOxmArpOpMasked.Builder setMask(ArpOpcode mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ArpOpcode> getMatchField() {
        return MatchField.ARP_OP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ArpOpcode> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpOpMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpOpMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpOpMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80002b04L;
    }

    @Override
    public ArpOpcode getValue() {
        return value;
    }

    @Override
    public OFOxmArpOpMasked.Builder setValue(ArpOpcode value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ArpOpcode getMask() {
        return mask;
    }

    @Override
    public OFOxmArpOpMasked.Builder setMask(ArpOpcode mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ArpOpcode> getMatchField() {
        return MatchField.ARP_OP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ArpOpcode> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpShaMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpShaMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpShaMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x8000310cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpShaMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmArpShaMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_SHA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpShaMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpShaMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpShaMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x8000310cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpShaMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmArpShaMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_SHA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpSpaMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpSpaMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpSpaMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80002d08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpSpaMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmArpSpaMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_SPA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpSpaMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpSpaMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpSpaMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80002d08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpSpaMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmArpSpaMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_SPA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpThaMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpThaMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpThaMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x8000330cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpThaMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmArpThaMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_THA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpThaMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpThaMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpThaMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x8000330cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpThaMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmArpThaMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_THA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpTpaMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpTpaMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpTpaMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80002f08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpTpaMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmArpTpaMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_TPA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpTpaMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpTpaMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpTpaMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80002f08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpTpaMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmArpTpaMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_TPA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnEgrPortGroupIdMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnEgrPortGroupIdMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnEgrPortGroupIdMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x30f08L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnEgrPortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnEgrPortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_EGR_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnEgrPortGroupIdMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnEgrPortGroupIdMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnEgrPortGroupIdMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x30f08L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnEgrPortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnEgrPortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_EGR_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnGlobalVrfAllowedMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnGlobalVrfAllowedMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x30702L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmBsnGlobalVrfAllowedMasked.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBooleanValue getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnGlobalVrfAllowedMasked.Builder setMask(OFBooleanValue mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.BSN_GLOBAL_VRF_ALLOWED;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnGlobalVrfAllowedMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnGlobalVrfAllowedMaskedVer13.java123
    @Override
    public long getTypeLen() {
        return 0x30702L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmBsnGlobalVrfAllowedMasked.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBooleanValue getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnGlobalVrfAllowedMasked.Builder setMask(OFBooleanValue mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.BSN_GLOBAL_VRF_ALLOWED;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts128MaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts128MaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts128MaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x30120L;
    }

    @Override
    public OFBitMask128 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts128Masked.Builder setValue(OFBitMask128 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBitMask128 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInPorts128Masked.Builder setMask(OFBitMask128 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask128> getMatchField() {
        return MatchField.BSN_IN_PORTS_128;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBitMask128> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts128MaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts128MaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts128MaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x30120L;
    }

    @Override
    public OFBitMask128 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts128Masked.Builder setValue(OFBitMask128 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBitMask128 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInPorts128Masked.Builder setMask(OFBitMask128 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask128> getMatchField() {
        return MatchField.BSN_IN_PORTS_128;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBitMask128> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts512MaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts512MaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts512MaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x32780L;
    }

    @Override
    public OFBitMask512 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts512Masked.Builder setValue(OFBitMask512 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBitMask512 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInPorts512Masked.Builder setMask(OFBitMask512 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask512> getMatchField() {
        return MatchField.BSN_IN_PORTS_512;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBitMask512> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts512MaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts512MaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts512MaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x32780L;
    }

    @Override
    public OFBitMask512 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts512Masked.Builder setValue(OFBitMask512 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBitMask512 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInPorts512Masked.Builder setMask(OFBitMask512 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask512> getMatchField() {
        return MatchField.BSN_IN_PORTS_512;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBitMask512> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnIngressPortGroupIdMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnIngressPortGroupIdMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnIngressPortGroupIdMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x32908L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnIngressPortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnIngressPortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_INGRESS_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnIngressPortGroupIdMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnIngressPortGroupIdMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnIngressPortGroupIdMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x32908L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnIngressPortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnIngressPortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_INGRESS_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL2CacheHitMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL2CacheHitMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x32502L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL2CacheHitMasked.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBooleanValue getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL2CacheHitMasked.Builder setMask(OFBooleanValue mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.BSN_L2_CACHE_HIT;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL2CacheHitMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL2CacheHitMaskedVer13.java123
    @Override
    public long getTypeLen() {
        return 0x32502L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL2CacheHitMasked.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBooleanValue getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL2CacheHitMasked.Builder setMask(OFBooleanValue mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.BSN_L2_CACHE_HIT;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3DstClassIdMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3DstClassIdMaskedVer13.java197
    @Override
    public long getTypeLen() {
        return 0x30d08L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3DstClassIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL3DstClassIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_DST_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3DstClassIdMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3DstClassIdMaskedVer13.java123
    @Override
    public long getTypeLen() {
        return 0x30d08L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3DstClassIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL3DstClassIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_DST_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3InterfaceClassIdMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3InterfaceClassIdMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3InterfaceClassIdMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x30908L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3InterfaceClassIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL3InterfaceClassIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_INTERFACE_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3InterfaceClassIdMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3InterfaceClassIdMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3InterfaceClassIdMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x30908L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3InterfaceClassIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL3InterfaceClassIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_INTERFACE_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3SrcClassIdMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3SrcClassIdMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3SrcClassIdMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x30b08L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3SrcClassIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL3SrcClassIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_SRC_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3SrcClassIdMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3SrcClassIdMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3SrcClassIdMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x30b08L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3SrcClassIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnL3SrcClassIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_SRC_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnLagIdMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnLagIdMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnLagIdMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x30308L;
    }

    @Override
    public LagId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnLagIdMasked.Builder setValue(LagId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public LagId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnLagIdMasked.Builder setMask(LagId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<LagId> getMatchField() {
        return MatchField.BSN_LAG_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<LagId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnLagIdMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnLagIdMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnLagIdMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x30308L;
    }

    @Override
    public LagId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnLagIdMasked.Builder setValue(LagId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public LagId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnLagIdMasked.Builder setMask(LagId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<LagId> getMatchField() {
        return MatchField.BSN_LAG_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<LagId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnTcpFlagsMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnTcpFlagsMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnTcpFlagsMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x32104L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnTcpFlagsMasked.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U16 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnTcpFlagsMasked.Builder setMask(U16 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.BSN_TCP_FLAGS;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnTcpFlagsMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnTcpFlagsMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnTcpFlagsMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x32104L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnTcpFlagsMasked.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U16 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnTcpFlagsMasked.Builder setMask(U16 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.BSN_TCP_FLAGS;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf0MaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf0MaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf0MaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x31108L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf0Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf0Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF0;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf0MaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf0MaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf0MaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x31108L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf0Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf0Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF0;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf1MaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf1MaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf1MaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x31308L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf1Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf1Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF1;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf1MaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf1MaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf1MaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x31308L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf1Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf1Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF1;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf2MaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf2MaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf2MaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x31508L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf2Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf2Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF2;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf2MaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf2MaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf2MaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x31508L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf2Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf2Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF2;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf3MaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf3MaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf3MaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x31708L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf3Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf3Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF3;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf3MaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf3MaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf3MaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x31708L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf3Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf3Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF3;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf4MaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf4MaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf4MaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x31908L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf4Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf4Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF4;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf4MaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf4MaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf4MaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x31908L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf4Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf4Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF4;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf5MaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf5MaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf5MaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x31b08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf5Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf5Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF5;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf5MaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf5MaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf5MaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x31b08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf5Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf5Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF5;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf6MaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf6MaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf6MaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x31d08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf6Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf6Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF6;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf6MaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf6MaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf6MaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x31d08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf6Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf6Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF6;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf7MaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf7MaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf7MaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x31f08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf7Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf7Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF7;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf7MaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf7MaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf7MaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x31f08L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf7Masked.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public UDF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnUdf7Masked.Builder setMask(UDF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF7;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVlanXlatePortGroupIdMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVlanXlatePortGroupIdMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVlanXlatePortGroupIdMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x32308L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVlanXlatePortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnVlanXlatePortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_VLAN_XLATE_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVlanXlatePortGroupIdMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVlanXlatePortGroupIdMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVlanXlatePortGroupIdMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x32308L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVlanXlatePortGroupIdMasked.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ClassId getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnVlanXlatePortGroupIdMasked.Builder setMask(ClassId mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_VLAN_XLATE_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVrfMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVrfMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVrfMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x30508L;
    }

    @Override
    public VRF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVrfMasked.Builder setValue(VRF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public VRF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnVrfMasked.Builder setMask(VRF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<VRF> getMatchField() {
        return MatchField.BSN_VRF;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<VRF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVrfMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVrfMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVrfMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x30508L;
    }

    @Override
    public VRF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVrfMasked.Builder setValue(VRF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public VRF getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnVrfMasked.Builder setMask(VRF mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<VRF> getMatchField() {
        return MatchField.BSN_VRF;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<VRF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthDstMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthDstMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthDstMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x8000070cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthDstMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmEthDstMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthDstMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthDstMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthDstMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x8000070cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthDstMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmEthDstMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthSrcMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthSrcMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthSrcMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x8000090cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthSrcMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmEthSrcMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthSrcMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthSrcMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthSrcMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x8000090cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthSrcMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmEthSrcMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthTypeMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthTypeMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthTypeMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80000b04L;
    }

    @Override
    public EthType getValue() {
        return value;
    }

    @Override
    public OFOxmEthTypeMasked.Builder setValue(EthType value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public EthType getMask() {
        return mask;
    }

    @Override
    public OFOxmEthTypeMasked.Builder setMask(EthType mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<EthType> getMatchField() {
        return MatchField.ETH_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<EthType> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthTypeMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthTypeMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthTypeMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80000b04L;
    }

    @Override
    public EthType getValue() {
        return value;
    }

    @Override
    public OFOxmEthTypeMasked.Builder setValue(EthType value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public EthType getMask() {
        return mask;
    }

    @Override
    public OFOxmEthTypeMasked.Builder setMask(EthType mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<EthType> getMatchField() {
        return MatchField.ETH_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<EthType> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4CodeMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4CodeMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4CodeMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80002902L;
    }

    @Override
    public ICMPv4Code getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4CodeMasked.Builder setValue(ICMPv4Code value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ICMPv4Code getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv4CodeMasked.Builder setMask(ICMPv4Code mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Code> getMatchField() {
        return MatchField.ICMPV4_CODE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ICMPv4Code> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4CodeMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4CodeMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4CodeMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80002902L;
    }

    @Override
    public ICMPv4Code getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4CodeMasked.Builder setValue(ICMPv4Code value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ICMPv4Code getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv4CodeMasked.Builder setMask(ICMPv4Code mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Code> getMatchField() {
        return MatchField.ICMPV4_CODE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ICMPv4Code> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4TypeMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4TypeMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4TypeMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80002702L;
    }

    @Override
    public ICMPv4Type getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4TypeMasked.Builder setValue(ICMPv4Type value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ICMPv4Type getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv4TypeMasked.Builder setMask(ICMPv4Type mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Type> getMatchField() {
        return MatchField.ICMPV4_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ICMPv4Type> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4TypeMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4TypeMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4TypeMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80002702L;
    }

    @Override
    public ICMPv4Type getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4TypeMasked.Builder setValue(ICMPv4Type value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public ICMPv4Type getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv4TypeMasked.Builder setMask(ICMPv4Type mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Type> getMatchField() {
        return MatchField.ICMPV4_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<ICMPv4Type> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6CodeMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6CodeMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6CodeMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80003d02L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6CodeMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv6CodeMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_CODE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6CodeMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6CodeMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6CodeMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80003d02L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6CodeMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv6CodeMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_CODE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6TypeMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6TypeMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6TypeMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80003b02L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6TypeMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv6TypeMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6TypeMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6TypeMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6TypeMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80003b02L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6TypeMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmIcmpv6TypeMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_TYPE;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPhyPortMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPhyPortMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPhyPortMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80000308L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPhyPortMasked.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFPort getMask() {
        return mask;
    }

    @Override
    public OFOxmInPhyPortMasked.Builder setMask(OFPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PHY_PORT;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPhyPortMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPhyPortMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPhyPortMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80000308L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPhyPortMasked.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFPort getMask() {
        return mask;
    }

    @Override
    public OFOxmInPhyPortMasked.Builder setMask(OFPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PHY_PORT;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPortMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPortMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPortMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80000108L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPortMasked.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFPort getMask() {
        return mask;
    }

    @Override
    public OFOxmInPortMasked.Builder setMask(OFPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PORT;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPortMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPortMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPortMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80000108L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPortMasked.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFPort getMask() {
        return mask;
    }

    @Override
    public OFOxmInPortMasked.Builder setMask(OFPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PORT;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpDscpMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpDscpMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpDscpMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80001102L;
    }

    @Override
    public IpDscp getValue() {
        return value;
    }

    @Override
    public OFOxmIpDscpMasked.Builder setValue(IpDscp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpDscp getMask() {
        return mask;
    }

    @Override
    public OFOxmIpDscpMasked.Builder setMask(IpDscp mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpDscp> getMatchField() {
        return MatchField.IP_DSCP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpDscp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpDscpMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpDscpMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpDscpMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80001102L;
    }

    @Override
    public IpDscp getValue() {
        return value;
    }

    @Override
    public OFOxmIpDscpMasked.Builder setValue(IpDscp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpDscp getMask() {
        return mask;
    }

    @Override
    public OFOxmIpDscpMasked.Builder setMask(IpDscp mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpDscp> getMatchField() {
        return MatchField.IP_DSCP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpDscp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpEcnMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpEcnMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpEcnMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80001302L;
    }

    @Override
    public IpEcn getValue() {
        return value;
    }

    @Override
    public OFOxmIpEcnMasked.Builder setValue(IpEcn value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpEcn getMask() {
        return mask;
    }

    @Override
    public OFOxmIpEcnMasked.Builder setMask(IpEcn mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpEcn> getMatchField() {
        return MatchField.IP_ECN;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpEcn> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpEcnMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpEcnMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpEcnMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80001302L;
    }

    @Override
    public IpEcn getValue() {
        return value;
    }

    @Override
    public OFOxmIpEcnMasked.Builder setValue(IpEcn value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpEcn getMask() {
        return mask;
    }

    @Override
    public OFOxmIpEcnMasked.Builder setMask(IpEcn mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpEcn> getMatchField() {
        return MatchField.IP_ECN;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpEcn> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpProtoMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpProtoMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpProtoMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80001502L;
    }

    @Override
    public IpProtocol getValue() {
        return value;
    }

    @Override
    public OFOxmIpProtoMasked.Builder setValue(IpProtocol value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpProtocol getMask() {
        return mask;
    }

    @Override
    public OFOxmIpProtoMasked.Builder setMask(IpProtocol mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpProtocol> getMatchField() {
        return MatchField.IP_PROTO;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpProtocol> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpProtoMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpProtoMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpProtoMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80001502L;
    }

    @Override
    public IpProtocol getValue() {
        return value;
    }

    @Override
    public OFOxmIpProtoMasked.Builder setValue(IpProtocol value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IpProtocol getMask() {
        return mask;
    }

    @Override
    public OFOxmIpProtoMasked.Builder setMask(IpProtocol mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IpProtocol> getMatchField() {
        return MatchField.IP_PROTO;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IpProtocol> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4DstMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4DstMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4DstMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80001908L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4DstMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv4DstMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4DstMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4DstMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4DstMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80001908L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4DstMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv4DstMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4SrcMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4SrcMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4SrcMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80001708L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4SrcMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv4SrcMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4SrcMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4SrcMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4SrcMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80001708L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4SrcMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv4SrcMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6DstMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6DstMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6DstMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80003720L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6DstMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6DstMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6DstMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6DstMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6DstMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80003720L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6DstMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6DstMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6FlabelMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6FlabelMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6FlabelMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80003908L;
    }

    @Override
    public IPv6FlowLabel getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6FlabelMasked.Builder setValue(IPv6FlowLabel value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6FlowLabel getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6FlabelMasked.Builder setMask(IPv6FlowLabel mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6FlowLabel> getMatchField() {
        return MatchField.IPV6_FLABEL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6FlowLabel> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6FlabelMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6FlabelMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6FlabelMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80003908L;
    }

    @Override
    public IPv6FlowLabel getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6FlabelMasked.Builder setValue(IPv6FlowLabel value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6FlowLabel getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6FlabelMasked.Builder setMask(IPv6FlowLabel mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6FlowLabel> getMatchField() {
        return MatchField.IPV6_FLABEL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6FlowLabel> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdSllMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdSllMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdSllMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x8000410cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdSllMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdSllMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_SLL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdSllMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdSllMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdSllMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x8000410cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdSllMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdSllMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_SLL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTargetMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTargetMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTargetMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80003f20L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTargetMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdTargetMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_ND_TARGET;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTargetMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTargetMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTargetMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80003f20L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTargetMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdTargetMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_ND_TARGET;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTllMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTllMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTllMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x8000430cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTllMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdTllMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_TLL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTllMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTllMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTllMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x8000430cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTllMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6NdTllMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_TLL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6SrcMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6SrcMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6SrcMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80003520L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6SrcMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6SrcMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6SrcMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6SrcMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6SrcMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80003520L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6SrcMasked.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv6Address getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6SrcMasked.Builder setMask(IPv6Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMetadataMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmMetadataMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmMetadataMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80000510L;
    }

    @Override
    public OFMetadata getValue() {
        return value;
    }

    @Override
    public OFOxmMetadataMasked.Builder setValue(OFMetadata value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFMetadata getMask() {
        return mask;
    }

    @Override
    public OFOxmMetadataMasked.Builder setMask(OFMetadata mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFMetadata> getMatchField() {
        return MatchField.METADATA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFMetadata> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMetadataMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmMetadataMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmMetadataMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80000510L;
    }

    @Override
    public OFMetadata getValue() {
        return value;
    }

    @Override
    public OFOxmMetadataMasked.Builder setValue(OFMetadata value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFMetadata getMask() {
        return mask;
    }

    @Override
    public OFOxmMetadataMasked.Builder setMask(OFMetadata mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFMetadata> getMatchField() {
        return MatchField.METADATA;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFMetadata> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsLabelMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsLabelMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsLabelMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80004508L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsLabelMasked.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U32 getMask() {
        return mask;
    }

    @Override
    public OFOxmMplsLabelMasked.Builder setMask(U32 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.MPLS_LABEL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsLabelMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsLabelMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsLabelMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80004508L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsLabelMasked.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U32 getMask() {
        return mask;
    }

    @Override
    public OFOxmMplsLabelMasked.Builder setMask(U32 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.MPLS_LABEL;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsTcMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsTcMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsTcMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80004702L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsTcMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmMplsTcMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.MPLS_TC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsTcMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsTcMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsTcMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80004702L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsTcMasked.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U8 getMask() {
        return mask;
    }

    @Override
    public OFOxmMplsTcMasked.Builder setMask(U8 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.MPLS_TC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpDstMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpDstMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpDstMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80002504L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmSctpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpDstMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpDstMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpDstMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80002504L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmSctpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpSrcMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpSrcMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpSrcMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80002304L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmSctpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpSrcMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpSrcMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpSrcMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80002304L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmSctpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpDstMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpDstMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpDstMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80001d04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmTcpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpDstMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpDstMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpDstMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80001d04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmTcpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpSrcMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpSrcMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpSrcMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80001b04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmTcpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpSrcMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpSrcMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpSrcMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80001b04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmTcpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4DstMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4DstMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4DstMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x14108L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4DstMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmTunnelIpv4DstMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4DstMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4DstMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4DstMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x14108L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4DstMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmTunnelIpv4DstMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4SrcMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4SrcMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4SrcMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x13f08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4SrcMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmTunnelIpv4SrcMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4SrcMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4SrcMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4SrcMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x13f08L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4SrcMasked.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public IPv4Address getMask() {
        return mask;
    }

    @Override
    public OFOxmTunnelIpv4SrcMasked.Builder setMask(IPv4Address mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpDstMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpDstMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpDstMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80002104L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmUdpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpDstMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpDstMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpDstMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80002104L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpDstMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmUdpDstMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpSrcMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpSrcMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpSrcMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80001f04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmUdpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpSrcMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpSrcMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpSrcMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80001f04L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpSrcMasked.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public TransportPort getMask() {
        return mask;
    }

    @Override
    public OFOxmUdpSrcMasked.Builder setMask(TransportPort mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanPcpMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanPcpMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanPcpMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80000f02L;
    }

    @Override
    public VlanPcp getValue() {
        return value;
    }

    @Override
    public OFOxmVlanPcpMasked.Builder setValue(VlanPcp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public VlanPcp getMask() {
        return mask;
    }

    @Override
    public OFOxmVlanPcpMasked.Builder setMask(VlanPcp mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<VlanPcp> getMatchField() {
        return MatchField.VLAN_PCP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<VlanPcp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanPcpMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanPcpMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanPcpMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80000f02L;
    }

    @Override
    public VlanPcp getValue() {
        return value;
    }

    @Override
    public OFOxmVlanPcpMasked.Builder setValue(VlanPcp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public VlanPcp getMask() {
        return mask;
    }

    @Override
    public OFOxmVlanPcpMasked.Builder setMask(VlanPcp mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<VlanPcp> getMatchField() {
        return MatchField.VLAN_PCP;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<VlanPcp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanVidMaskedVer12.java123
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanVidMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanVidMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80000d04L;
    }

    @Override
    public OFVlanVidMatch getValue() {
        return value;
    }

    @Override
    public OFOxmVlanVidMasked.Builder setValue(OFVlanVidMatch value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFVlanVidMatch getMask() {
        return mask;
    }

    @Override
    public OFOxmVlanVidMasked.Builder setMask(OFVlanVidMatch mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFVlanVidMatch> getMatchField() {
        return MatchField.VLAN_VID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFVlanVidMatch> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanVidMaskedVer12.java197
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanVidMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanVidMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80000d04L;
    }

    @Override
    public OFVlanVidMatch getValue() {
        return value;
    }

    @Override
    public OFOxmVlanVidMasked.Builder setValue(OFVlanVidMatch value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFVlanVidMatch getMask() {
        return mask;
    }

    @Override
    public OFOxmVlanVidMasked.Builder setMask(OFVlanVidMatch mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFVlanVidMatch> getMatchField() {
        return MatchField.VLAN_VID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFVlanVidMatch> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableGetReplyVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableGetReplyVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdleEnableGetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x27L;
    }

    @Override
    public long getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnFlowIdleEnableGetReply.Builder setEnabled(long enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }


        @Override
        public OFBsnFlowIdleEnableGetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableGetReplyVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableGetReplyVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdleEnableGetReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x27L;
    }

    @Override
    public long getEnabled() {
        return enabled;
    }

    @Override
    public OFBsnFlowIdleEnableGetReply.Builder setEnabled(long enabled) {
        this.enabled = enabled;
        this.enabledSet = true;
        return this;
    }
//
        @Override
        public OFBsnFlowIdleEnableGetReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableSetRequestVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableSetRequestVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdleEnableSetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x24L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnFlowIdleEnableSetRequest.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }


        @Override
        public OFBsnFlowIdleEnableSetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableSetRequestVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableSetRequestVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdleEnableSetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x24L;
    }

    @Override
    public long getEnable() {
        return enable;
    }

    @Override
    public OFBsnFlowIdleEnableSetRequest.Builder setEnable(long enable) {
        this.enable = enable;
        this.enableSet = true;
        return this;
    }
//
        @Override
        public OFBsnFlowIdleEnableSetRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsRequestVer13.java233
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsRequestVer13.java233
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsRequestVer14.java233
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsRequestVer14.java233
        public OFBsnGentableEntryDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : parentMessage.flags;
                if(flags == null)
                    throw new NullPointerException("Property flags must not be null");
                GenTableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                U128 checksum = this.checksumSet ? this.checksum : parentMessage.checksum;
                if(checksum == null)
                    throw new NullPointerException("Property checksum must not be null");
                U128 checksumMask = this.checksumMaskSet ? this.checksumMask : parentMessage.checksumMask;
                if(checksumMask == null)
                    throw new NullPointerException("Property checksumMask must not be null");

                //
                return new OFBsnGentableEntryDescStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetSwitchPipelineReplyVer13.java113
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetSwitchPipelineReplyVer14.java180
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetSwitchPipelineReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x34L;
    }

    @Override
    public String getPipeline() {
        return pipeline;
    }

    @Override
    public OFBsnGetSwitchPipelineReply.Builder setPipeline(String pipeline) {
        this.pipeline = pipeline;
        this.pipelineSet = true;
        return this;
    }


        @Override
        public OFBsnGetSwitchPipelineReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetSwitchPipelineReplyVer13.java180
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetSwitchPipelineReplyVer14.java113
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetSwitchPipelineReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x34L;
    }

    @Override
    public String getPipeline() {
        return pipeline;
    }

    @Override
    public OFBsnGetSwitchPipelineReply.Builder setPipeline(String pipeline) {
        this.pipeline = pipeline;
        this.pipelineSet = true;
        return this;
    }
//
        @Override
        public OFBsnGetSwitchPipelineReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnHeaderVer13.java39
org/projectfloodlight/openflow/protocol/ver13/OFExperimenterVer13.java38
org/projectfloodlight/openflow/protocol/ver13/OFNiciraHeaderVer13.java38
        public OFBsnHeader readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetAuxCxnsRequestVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetAuxCxnsRequestVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetAuxCxnsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3aL;
    }

    @Override
    public long getNumAux() {
        return numAux;
    }

    @Override
    public OFBsnSetAuxCxnsRequest.Builder setNumAux(long numAux) {
        this.numAux = numAux;
        this.numAuxSet = true;
        return this;
    }


        @Override
        public OFBsnSetAuxCxnsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetAuxCxnsRequestVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetAuxCxnsRequestVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetAuxCxnsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3aL;
    }

    @Override
    public long getNumAux() {
        return numAux;
    }

    @Override
    public OFBsnSetAuxCxnsRequest.Builder setNumAux(long numAux) {
        this.numAux = numAux;
        this.numAuxSet = true;
        return this;
    }
//
        @Override
        public OFBsnSetAuxCxnsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetSwitchPipelineReplyVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetSwitchPipelineReplyVer14.java175
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetSwitchPipelineReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x36L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetSwitchPipelineReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }


        @Override
        public OFBsnSetSwitchPipelineReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetSwitchPipelineReplyVer13.java175
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetSwitchPipelineReplyVer14.java110
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetSwitchPipelineReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x36L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFBsnSetSwitchPipelineReply.Builder setStatus(long status) {
        this.status = status;
        this.statusSet = true;
        return this;
    }
//
        @Override
        public OFBsnSetSwitchPipelineReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetSwitchPipelineRequestVer13.java113
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetSwitchPipelineRequestVer14.java180
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetSwitchPipelineRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x35L;
    }

    @Override
    public String getPipeline() {
        return pipeline;
    }

    @Override
    public OFBsnSetSwitchPipelineRequest.Builder setPipeline(String pipeline) {
        this.pipeline = pipeline;
        this.pipelineSet = true;
        return this;
    }


        @Override
        public OFBsnSetSwitchPipelineRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetSwitchPipelineRequestVer13.java180
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetSwitchPipelineRequestVer14.java113
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnSetSwitchPipelineRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x35L;
    }

    @Override
    public String getPipeline() {
        return pipeline;
    }

    @Override
    public OFBsnSetSwitchPipelineRequest.Builder setPipeline(String pipeline) {
        this.pipeline = pipeline;
        this.pipelineSet = true;
        return this;
    }
//
        @Override
        public OFBsnSetSwitchPipelineRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnStatsReplyVer13.java38
org/projectfloodlight/openflow/protocol/ver13/OFCalientStatsReplyVer13.java38
org/projectfloodlight/openflow/protocol/ver13/OFExperimenterStatsReplyVer13.java38
org/projectfloodlight/openflow/protocol/ver13/OFStatsReplyVer13.java38
        public OFBsnStatsReply readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 4
            byte version = bb.readByte();
            if(version != (byte) 0x4)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_13(4), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTimeReplyVer13.java113
org/projectfloodlight/openflow/protocol/ver14/OFBsnTimeReplyVer14.java180
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTimeReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2dL;
    }

    @Override
    public U64 getTimeMs() {
        return timeMs;
    }

    @Override
    public OFBsnTimeReply.Builder setTimeMs(U64 timeMs) {
        this.timeMs = timeMs;
        this.timeMsSet = true;
        return this;
    }


        @Override
        public OFBsnTimeReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTimeReplyVer13.java180
org/projectfloodlight/openflow/protocol/ver14/OFBsnTimeReplyVer14.java113
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTimeReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2dL;
    }

    @Override
    public U64 getTimeMs() {
        return timeMs;
    }

    @Override
    public OFBsnTimeReply.Builder setTimeMs(U64 timeMs) {
        this.timeMs = timeMs;
        this.timeMsSet = true;
        return this;
    }
//
        @Override
        public OFBsnTimeReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java515
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java511
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java510
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java511
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java509
    static class Builder implements OFFlowAdd.Builder {
        // OF message fields
        private boolean xidSet;
        private long xid;
        private boolean cookieSet;
        private U64 cookie;
        private boolean cookieMaskSet;
        private U64 cookieMask;
        private boolean tableIdSet;
        private TableId tableId;
        private boolean idleTimeoutSet;
        private int idleTimeout;
        private boolean hardTimeoutSet;
        private int hardTimeout;
        private boolean prioritySet;
        private int priority;
        private boolean bufferIdSet;
        private OFBufferId bufferId;
        private boolean outPortSet;
        private OFPort outPort;
        private boolean outGroupSet;
        private OFGroup outGroup;
        private boolean flagsSet;
        private Set<OFFlowModFlags> flags;
        private boolean matchSet;
        private Match match;
        private boolean instructionsSet;
        private List<OFInstruction> instructions;

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowAdd.Builder setXid(long xid) {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthDstMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthDstMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x32d0cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInnerEthDstMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInnerEthDstMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.BSN_INNER_ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthDstMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthDstMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x32d0cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInnerEthDstMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInnerEthDstMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.BSN_INNER_ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthSrcMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthSrcMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x32f0cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInnerEthSrcMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInnerEthSrcMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.BSN_INNER_ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthSrcMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthSrcMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x32f0cL;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInnerEthSrcMasked.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MacAddress getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnInnerEthSrcMasked.Builder setMask(MacAddress mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.BSN_INNER_ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVxlanNetworkIdMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVxlanNetworkIdMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x32b08L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVxlanNetworkIdMasked.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U32 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnVxlanNetworkIdMasked.Builder setMask(U32 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.BSN_VXLAN_NETWORK_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVxlanNetworkIdMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVxlanNetworkIdMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x32b08L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVxlanNetworkIdMasked.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U32 getMask() {
        return mask;
    }

    @Override
    public OFOxmBsnVxlanNetworkIdMasked.Builder setMask(U32 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.BSN_VXLAN_NETWORK_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6ExthdrMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6ExthdrMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80004f04L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6ExthdrMasked.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U16 getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6ExthdrMasked.Builder setMask(U16 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.IPV6_EXTHDR;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6ExthdrMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6ExthdrMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80004f04L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6ExthdrMasked.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U16 getMask() {
        return mask;
    }

    @Override
    public OFOxmIpv6ExthdrMasked.Builder setMask(U16 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.IPV6_EXTHDR;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsBosMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsBosMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80004902L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmMplsBosMasked.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBooleanValue getMask() {
        return mask;
    }

    @Override
    public OFOxmMplsBosMasked.Builder setMask(OFBooleanValue mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.MPLS_BOS;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsBosMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsBosMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80004902L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmMplsBosMasked.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFBooleanValue getMask() {
        return mask;
    }

    @Override
    public OFOxmMplsBosMasked.Builder setMask(OFBooleanValue mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.MPLS_BOS;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIdMaskedVer13.java123
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIdMaskedVer14.java197
    @Override
    public long getTypeLen() {
        return 0x80004d10L;
    }

    @Override
    public U64 getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIdMasked.Builder setValue(U64 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U64 getMask() {
        return mask;
    }

    @Override
    public OFOxmTunnelIdMasked.Builder setMask(U64 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U64> getMatchField() {
        return MatchField.TUNNEL_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U64> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIdMaskedVer13.java197
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIdMaskedVer14.java123
    @Override
    public long getTypeLen() {
        return 0x80004d10L;
    }

    @Override
    public U64 getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIdMasked.Builder setValue(U64 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public U64 getMask() {
        return mask;
    }

    @Override
    public OFOxmTunnelIdMasked.Builder setMask(U64 mask) {
        this.mask = mask;
        this.maskSet = true;
        return this;
    }
    @Override
    public MatchField<U64> getMatchField() {
        return MatchField.TUNNEL_ID;
    }

    @Override
    public boolean isMasked() {
        return true;
    }

    @Override
    public OFOxm<U64> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnHeaderVer14.java39
org/projectfloodlight/openflow/protocol/ver14/OFExperimenterVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFNiciraHeaderVer14.java38
        public OFBsnHeader readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnStatsReplyVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFExperimenterStatsReplyVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFStatsReplyVer14.java38
        public OFBsnStatsReply readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property version == 5
            byte version = bb.readByte();
            if(version != (byte) 0x5)
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_14(5), got="+version);
            // fixed value property type == 19
            byte type = bb.readByte();
            if(type != (byte) 0x13)
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
FileLine
net/onrc/openvirtex/elements/datapath/OVXSwitch.java383
net/onrc/openvirtex/elements/datapath/OVXSwitch.java405
    public List<OFPortDesc> getPortList() {
        final LinkedList<OFPortDesc> portList = new LinkedList<OFPortDesc>();
        for (final OVXPort ovxPort : this.portMap.values()) {
            final OFPortDesc ofPort =OVXFactoryInst.myFactory.buildPortDesc()
                    .setPortNo(ovxPort.getPortNo())
                    .setName(ovxPort.getName())
                    .setConfig(ovxPort.getConfig())
                    .setHwAddr(ovxPort.getHwAddr())
                    .setState(ovxPort.getState())
                    .setAdvertised(ovxPort.getAdvertised())
                    .setCurr(ovxPort.getCurr())
                    .setSupported(ovxPort.getSupported())
                    .build();

            portList.add(ofPort);
        }
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnSetTunnelDstVer10.java195
org/projectfloodlight/openflow/protocol/ver10/OFActionNiciraDecTtlVer10.java83
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnSetTunnelDstVer11.java195
org/projectfloodlight/openflow/protocol/ver11/OFActionNiciraDecTtlVer11.java83
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnSetTunnelDstVer12.java195
org/projectfloodlight/openflow/protocol/ver12/OFActionNiciraDecTtlVer12.java83
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnSetTunnelDstVer13.java195
org/projectfloodlight/openflow/protocol/ver13/OFActionNiciraDecTtlVer13.java83
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnSetTunnelDstVer14.java195
org/projectfloodlight/openflow/protocol/ver14/OFActionNiciraDecTtlVer14.java83
        public OFActionBsnSetTunnelDst readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionRequestVer10.java76
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionRequestVer11.java76
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionRequestVer12.java76
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionRequestVer13.java76
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionRequestVer14.java76
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }

    @Override
    public boolean isEnabled() {
        return enabled;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }



    public OFBsnSetPktinSuppressionRequest.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnSetPktinSuppressionRequest.Builder {
        final OFBsnSetPktinSuppressionRequestVer10 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFNiciraControllerRoleReplyVer10.java241
org/projectfloodlight/openflow/protocol/ver10/OFNiciraControllerRoleRequestVer10.java241
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwClearDataReplyVer11.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableGetReplyVer11.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableSetRequestVer11.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetMirroringReplyVer11.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetMirroringRequestVer11.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetMirroringVer11.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionReplyVer11.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortRemoveReplyVer11.java238
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortRemoveRequestVer11.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwClearDataReplyVer12.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableGetReplyVer12.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableSetRequestVer12.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetMirroringReplyVer12.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetMirroringRequestVer12.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetMirroringVer12.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionReplyVer12.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortRemoveReplyVer12.java238
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortRemoveRequestVer12.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwClearDataReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableGetReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableSetRequestVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableGetReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableSetRequestVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetMirroringReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetMirroringRequestVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetAuxCxnsRequestVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetMirroringVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetSwitchPipelineReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortRemoveReplyVer13.java238
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortRemoveRequestVer13.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwClearDataReplyVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableGetReplyVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableSetRequestVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableGetReplyVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableSetRequestVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetMirroringReplyVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetMirroringRequestVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetAuxCxnsRequestVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetMirroringVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionReplyVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetSwitchPipelineReplyVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortRemoveReplyVer14.java238
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortRemoveRequestVer14.java238
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 20)
                throw new OFParseError("Wrong length: Expected=20(20), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x2320L
            int experimenter = bb.readInt();
            if(experimenter != 0x2320)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsEntryVer10.java507
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsEntryVer11.java502
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsEntryVer12.java502
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsEntryVer14.java607
        } else if (!txErrors.equals(other.txErrors))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime *  (int) (queueId ^ (queueId >>> 32));
        result = prime * result + ((txBytes == null) ? 0 : txBytes.hashCode());
        result = prime * result + ((txPackets == null) ? 0 : txPackets.hashCode());
        result = prime * result + ((txErrors == null) ? 0 : txErrors.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFMatchV2Ver11.java322
org/projectfloodlight/openflow/protocol/ver11/OFMatchV2Ver11.java759
        private boolean inPortSet;
        private OFPort inPort;
        private boolean wildcardsSet;
        private int wildcards;
        private boolean ethSrcSet;
        private MacAddress ethSrc;
        private boolean ethSrcMaskSet;
        private MacAddress ethSrcMask;
        private boolean ethDstSet;
        private MacAddress ethDst;
        private boolean ethDstMaskSet;
        private MacAddress ethDstMask;
        private boolean vlanVidSet;
        private int vlanVid;
        private boolean vlanPcpSet;
        private short vlanPcp;
        private boolean ethTypeSet;
        private int ethType;
        private boolean ipDscpSet;
        private short ipDscp;
        private boolean ipProtoSet;
        private short ipProto;
        private boolean ipv4SrcSet;
        private IPv4Address ipv4Src;
        private boolean ipv4SrcMaskSet;
        private IPv4Address ipv4SrcMask;
        private boolean ipv4DstSet;
        private IPv4Address ipv4Dst;
        private boolean ipv4DstMaskSet;
        private IPv4Address ipv4DstMask;
        private boolean tcpSrcSet;
        private int tcpSrc;
        private boolean tcpDstSet;
        private int tcpDst;
        private boolean mplsLabelSet;
        private long mplsLabel;
        private boolean mplsTcSet;
        private short mplsTc;
        private boolean metadataSet;
        private U64 metadata;
        private boolean metadataMaskSet;
        private U64 metadataMask;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnChecksumVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnGentableVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnMirrorVer13.java83
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnSetTunnelDstVer13.java84
org/projectfloodlight/openflow/protocol/ver13/OFActionIdCircuitVer13.java88
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnChecksumVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnGentableVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnMirrorVer14.java83
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnSetTunnelDstVer14.java84
        public OFActionIdBsnChecksum readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java414
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java414
                return new OFBsnLacpConvergenceNotifVer13(
                    xid,
                    convergenceStatus,
                    portNo,
                    actorSysPriority,
                    actorSysMac,
                    actorPortPriority,
                    actorPortNum,
                    actorKey,
                    partnerSysPriority,
                    partnerSysMac,
                    partnerPortPriority,
                    partnerPortNum,
                    partnerKey
                );
        }

    }

    static class Builder implements OFBsnLacpConvergenceNotif.Builder {
        // OF message fields
        private boolean xidSet;
        private long xid;
        private boolean convergenceStatusSet;
        private short convergenceStatus;
        private boolean portNoSet;
        private OFPort portNo;
        private boolean actorSysPrioritySet;
        private int actorSysPriority;
        private boolean actorSysMacSet;
        private MacAddress actorSysMac;
        private boolean actorPortPrioritySet;
        private int actorPortPriority;
        private boolean actorPortNumSet;
        private int actorPortNum;
        private boolean actorKeySet;
        private int actorKey;
        private boolean partnerSysPrioritySet;
        private int partnerSysPriority;
        private boolean partnerSysMacSet;
        private MacAddress partnerSysMac;
        private boolean partnerPortPrioritySet;
        private int partnerPortPriority;
        private boolean partnerPortNumSet;
        private int partnerPortNum;
        private boolean partnerKeySet;
        private int partnerKey;

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnMirrorVer10.java390
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnMirrorVer11.java390
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnMirrorVer12.java390
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnMirrorVer13.java390
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnMirrorVer14.java390
        OFActionBsnMirrorVer10 other = (OFActionBsnMirrorVer10) obj;

        if (destPort == null) {
            if (other.destPort != null)
                return false;
        } else if (!destPort.equals(other.destPort))
            return false;
        if( vlanTag != other.vlanTag)
            return false;
        if( copyStage != other.copyStage)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((destPort == null) ? 0 : destPort.hashCode());
        result = prime *  (int) (vlanTag ^ (vlanTag >>> 32));
        result = prime * result + copyStage;
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxTimeoutVer10.java393
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxTimeoutVer11.java393
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxTimeoutVer12.java393
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxTimeoutVer13.java393
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxTimeoutVer14.java393
        OFBsnPduRxTimeoutVer10 other = (OFBsnPduRxTimeoutVer10) obj;

        if( xid != other.xid)
            return false;
        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if( slotNum != other.slotNum)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime * result + slotNum;
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFGetConfigReplyVer10.java348
org/projectfloodlight/openflow/protocol/ver10/OFSetConfigVer10.java348
org/projectfloodlight/openflow/protocol/ver11/OFGetConfigReplyVer11.java348
org/projectfloodlight/openflow/protocol/ver11/OFSetConfigVer11.java348
org/projectfloodlight/openflow/protocol/ver12/OFGetConfigReplyVer12.java348
org/projectfloodlight/openflow/protocol/ver12/OFSetConfigVer12.java348
org/projectfloodlight/openflow/protocol/ver13/OFGetConfigReplyVer13.java348
org/projectfloodlight/openflow/protocol/ver13/OFSetConfigVer13.java348
org/projectfloodlight/openflow/protocol/ver14/OFGetConfigReplyVer14.java348
org/projectfloodlight/openflow/protocol/ver14/OFSetConfigVer14.java348
        OFGetConfigReplyVer10 other = (OFGetConfigReplyVer10) obj;

        if( xid != other.xid)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if( missSendLen != other.missSendLen)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + missSendLen;
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFHelloVer10.java93
org/projectfloodlight/openflow/protocol/ver10/OFHelloVer10.java142
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.HELLO;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFHello.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public List<OFHelloElem> getElements()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property elements not supported in version 1.0");
    }

    @Override
    public OFHello.Builder setElements(List<OFHelloElem> elements) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property elements not supported in version 1.0");
    }


        @Override
        public OFHello build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java105
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java111
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java111
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java111
    }

    // Accessors for OF message fields
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public MacAddress getHwAddr() {
        return hwAddr;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public Set<OFPortConfig> getConfig() {
        return config;
    }

    @Override
    public Set<OFPortState> getState() {
        return state;
    }

    @Override
    public Set<OFPortFeatures> getCurr() {
        return curr;
    }

    @Override
    public Set<OFPortFeatures> getAdvertised() {
        return advertised;
    }

    @Override
    public Set<OFPortFeatures> getSupported() {
        return supported;
    }

    @Override
    public Set<OFPortFeatures> getPeer() {
        return peer;
    }

    @Override
    public long getCurrSpeed()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsEntryVer10.java507
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsEntryVer11.java502
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsEntryVer12.java502
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsEntryVer13.java548
        } else if (!txErrors.equals(other.txErrors))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime *  (int) (queueId ^ (queueId >>> 32));
        result = prime * result + ((txBytes == null) ? 0 : txBytes.hashCode());
        result = prime * result + ((txPackets == null) ? 0 : txPackets.hashCode());
        result = prime * result + ((txErrors == null) ? 0 : txErrors.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java605
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java605
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java627
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java641
            U64 cookie = this.cookieSet ? this.cookie : DEFAULT_COOKIE;
            if(cookie == null)
                throw new NullPointerException("Property cookie must not be null");
            U64 packetCount = this.packetCountSet ? this.packetCount : DEFAULT_PACKET_COUNT;
            if(packetCount == null)
                throw new NullPointerException("Property packetCount must not be null");
            U64 byteCount = this.byteCountSet ? this.byteCount : DEFAULT_BYTE_COUNT;
            if(byteCount == null)
                throw new NullPointerException("Property byteCount must not be null");
            Match match = this.matchSet ? this.match : DEFAULT_MATCH;
            if(match == null)
                throw new NullPointerException("Property match must not be null");
            List<OFInstruction> instructions = this.instructionsSet ? this.instructions : DEFAULT_INSTRUCTIONS;
            if(instructions == null)
                throw new NullPointerException("Property instructions must not be null");


            return new OFFlowStatsEntryVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsEntryVer11.java108
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsEntryVer12.java179
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsEntryVer13.java179
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsEntryVer14.java179
    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsEntryVer11.java179
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsEntryVer12.java108
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsEntryVer13.java108
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsEntryVer14.java108
    @Override
    public OFGroupType getGroupType() {
        return groupType;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setGroupType(OFGroupType groupType) {
        this.groupType = groupType;
        this.groupTypeSet = true;
        return this;
    }
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setGroup(OFGroup group) {
        this.group = group;
        this.groupSet = true;
        return this;
    }
    @Override
    public List<OFBucket> getBuckets() {
        return buckets;
    }

    @Override
    public OFGroupDescStatsEntry.Builder setBuckets(List<OFBucket> buckets) {
        this.buckets = buckets;
        this.bucketsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFHelloVer11.java93
org/projectfloodlight/openflow/protocol/ver11/OFHelloVer11.java142
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.HELLO;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFHello.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public List<OFHelloElem> getElements()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property elements not supported in version 1.1");
    }

    @Override
    public OFHello.Builder setElements(List<OFHelloElem> elements) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property elements not supported in version 1.1");
    }


        @Override
        public OFHello build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFErrorTypeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFErrorTypeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFErrorTypeSerializerVer14.java30
public class OFErrorTypeSerializerVer12 {

    public final static short HELLO_FAILED_VAL = (short) 0x0;
    public final static short BAD_REQUEST_VAL = (short) 0x1;
    public final static short BAD_ACTION_VAL = (short) 0x2;
    public final static short BAD_INSTRUCTION_VAL = (short) 0x3;
    public final static short BAD_MATCH_VAL = (short) 0x4;
    public final static short FLOW_MOD_FAILED_VAL = (short) 0x5;
    public final static short GROUP_MOD_FAILED_VAL = (short) 0x6;
    public final static short PORT_MOD_FAILED_VAL = (short) 0x7;
    public final static short TABLE_MOD_FAILED_VAL = (short) 0x8;
    public final static short QUEUE_OP_FAILED_VAL = (short) 0x9;
    public final static short SWITCH_CONFIG_FAILED_VAL = (short) 0xa;
    public final static short ROLE_REQUEST_FAILED_VAL = (short) 0xb;
    public final static short EXPERIMENTER_VAL = (short) 0xffff;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFHelloVer12.java93
org/projectfloodlight/openflow/protocol/ver12/OFHelloVer12.java142
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.HELLO;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFHello.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public List<OFHelloElem> getElements()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property elements not supported in version 1.2");
    }

    @Override
    public OFHello.Builder setElements(List<OFHelloElem> elements) throws UnsupportedOperationException {
            throw new UnsupportedOperationException("Property elements not supported in version 1.2");
    }


        @Override
        public OFHello build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPacketQueueVer12.java110
org/projectfloodlight/openflow/protocol/ver13/OFPacketQueueVer13.java179
org/projectfloodlight/openflow/protocol/ver14/OFPacketQueueVer14.java179
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFPacketQueue.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFPacketQueue.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public List<OFQueueProp> getProperties() {
        return properties;
    }

    @Override
    public OFPacketQueue.Builder setProperties(List<OFQueueProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPacketQueueVer12.java179
org/projectfloodlight/openflow/protocol/ver13/OFPacketQueueVer13.java110
org/projectfloodlight/openflow/protocol/ver14/OFPacketQueueVer14.java110
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFPacketQueue.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFPacketQueue.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public List<OFQueueProp> getProperties() {
        return properties;
    }

    @Override
    public OFPacketQueue.Builder setProperties(List<OFQueueProp> properties) {
        this.properties = properties;
        this.propertiesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnArpIdleVer13.java398
org/projectfloodlight/openflow/protocol/ver14/OFBsnArpIdleVer14.java398
        OFBsnArpIdleVer13 other = (OFBsnArpIdleVer13) obj;

        if( xid != other.xid)
            return false;
        if( vlanVid != other.vlanVid)
            return false;
        if (ipv4Addr == null) {
            if (other.ipv4Addr != null)
                return false;
        } else if (!ipv4Addr.equals(other.ipv4Addr))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + vlanVid;
        result = prime * result + ((ipv4Addr == null) ? 0 : ipv4Addr.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsRequestVer13.java422
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsRequestVer14.java422
        OFBsnVlanCounterStatsRequestVer13 other = (OFBsnVlanCounterStatsRequestVer13) obj;

        if( xid != other.xid)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if( vlanVid != other.vlanVid)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + vlanVid;
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigVer13.java107
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigVer14.java174
    @Override
    public int getFlags() {
        return flags;
    }

    @Override
    public OFMeterConfig.Builder setFlags(int flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterConfig.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }
    @Override
    public List<OFMeterBand> getEntries() {
        return entries;
    }

    @Override
    public OFMeterConfig.Builder setEntries(List<OFMeterBand> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigVer13.java174
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigVer14.java107
    @Override
    public int getFlags() {
        return flags;
    }

    @Override
    public OFMeterConfig.Builder setFlags(int flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
    @Override
    public long getMeterId() {
        return meterId;
    }

    @Override
    public OFMeterConfig.Builder setMeterId(long meterId) {
        this.meterId = meterId;
        this.meterIdSet = true;
        return this;
    }
    @Override
    public List<OFMeterBand> getEntries() {
        return entries;
    }

    @Override
    public OFMeterConfig.Builder setEntries(List<OFMeterBand> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigVer13.java323
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigVer14.java323
        OFMeterConfigVer13 other = (OFMeterConfigVer13) obj;

        if( flags != other.flags)
            return false;
        if( meterId != other.meterId)
            return false;
        if (entries == null) {
            if (other.entries != null)
                return false;
        } else if (!entries.equals(other.entries))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + flags;
        result = prime *  (int) (meterId ^ (meterId >>> 32));
        result = prime * result + ((entries == null) ? 0 : entries.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBadRequestCodeSerializerVer10.java42
org/projectfloodlight/openflow/protocol/ver11/OFBadRequestCodeSerializerVer11.java43
org/projectfloodlight/openflow/protocol/ver12/OFBadRequestCodeSerializerVer12.java46
org/projectfloodlight/openflow/protocol/ver13/OFBadRequestCodeSerializerVer13.java47
org/projectfloodlight/openflow/protocol/ver14/OFBadRequestCodeSerializerVer14.java49
    public static OFBadRequestCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBadRequestCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFBadRequestCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFBadRequestCode ofWireValue(short val) {
        switch(val) {
            case BAD_VERSION_VAL:
                return OFBadRequestCode.BAD_VERSION;
            case BAD_TYPE_VAL:
                return OFBadRequestCode.BAD_TYPE;
            case BAD_STAT_VAL:
                return OFBadRequestCode.BAD_STAT;
            case BAD_EXPERIMENTER_VAL:
                return OFBadRequestCode.BAD_EXPERIMENTER;
            case BAD_SUBTYPE_VAL:
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxReplyVer10.java328
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxReplyVer11.java328
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxReplyVer12.java328
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxReplyVer13.java328
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxReplyVer14.java328
                throw new OFParseError("Wrong length: Expected=23(23), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x22L
            int subtype = bb.readInt();
            if(subtype != 0x22)
                throw new OFParseError("Wrong subtype: Expected=0x22L(0x22L), got="+subtype);
            long status = U32.f(bb.readInt());
            OFPort portNo = OFPort.read2Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxReplyVer10.java328
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxReplyVer11.java328
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxReplyVer12.java328
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxReplyVer13.java328
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxReplyVer14.java328
                throw new OFParseError("Wrong length: Expected=23(23), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x20L
            int subtype = bb.readInt();
            if(subtype != 0x20)
                throw new OFParseError("Wrong subtype: Expected=0x20L(0x20L), got="+subtype);
            long status = U32.f(bb.readInt());
            OFPort portNo = OFPort.read2Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFDescStatsRequestVer10.java109
org/projectfloodlight/openflow/protocol/ver11/OFDescStatsRequestVer11.java171
org/projectfloodlight/openflow/protocol/ver12/OFDescStatsRequestVer12.java171
org/projectfloodlight/openflow/protocol/ver13/OFDescStatsRequestVer13.java171
org/projectfloodlight/openflow/protocol/ver14/OFDescStatsRequestVer14.java171
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFDescStatsRequestVer10.java171
org/projectfloodlight/openflow/protocol/ver11/OFDescStatsRequestVer11.java109
org/projectfloodlight/openflow/protocol/ver12/OFDescStatsRequestVer12.java109
org/projectfloodlight/openflow/protocol/ver13/OFDescStatsRequestVer13.java109
org/projectfloodlight/openflow/protocol/ver14/OFDescStatsRequestVer14.java109
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
//
        @Override
        public OFDescStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsReplyVer10.java282
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsReplyVer11.java282
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsReplyVer12.java282
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsReplyVer13.java282
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsReplyVer14.java282
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(17), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 1
            short statsType = bb.readShort();
            if(statsType != (short) 0x1)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.FLOW(1), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer10.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsReplyVer10.java285
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsReplyVer11.java282
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsReplyVer12.java282
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsReplyVer13.java282
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsReplyVer14.java282
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(17), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 4
            short statsType = bb.readShort();
            if(statsType != (short) 0x4)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.PORT(4), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer10.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsReplyVer10.java282
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsReplyVer11.java282
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsReplyVer12.java282
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsReplyVer13.java282
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsReplyVer14.java282
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(17), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 5
            short statsType = bb.readShort();
            if(statsType != (short) 0x5)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.QUEUE(5), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer10.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsEntryVer10.java724
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsEntryVer11.java845
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsEntryVer12.java977
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsEntryVer13.java645
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsEntryVer14.java645
        if( maxEntries != other.maxEntries)
            return false;
        if( activeCount != other.activeCount)
            return false;
        if (lookupCount == null) {
            if (other.lookupCount != null)
                return false;
        } else if (!lookupCount.equals(other.lookupCount))
            return false;
        if (matchedCount == null) {
            if (other.matchedCount != null)
                return false;
        } else if (!matchedCount.equals(other.matchedCount))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime * result + ((name == null) ? 0 : name.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsReplyVer10.java282
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsReplyVer11.java282
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsReplyVer12.java282
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsReplyVer13.java282
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsReplyVer14.java282
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(17), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 3
            short statsType = bb.readShort();
            if(statsType != (short) 0x3)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.TABLE(3), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer10.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsRequestVer10.java109
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsRequestVer11.java171
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsRequestVer12.java171
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsRequestVer13.java171
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsRequestVer14.java171
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFTableStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsRequestVer10.java171
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsRequestVer11.java109
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsRequestVer12.java109
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsRequestVer13.java109
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsRequestVer14.java109
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFTableStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.TABLE;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFTableStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
//
        @Override
        public OFTableStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsRequestVer11.java109
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsRequestVer12.java171
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsRequestVer13.java171
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsRequestVer14.java171
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFGroupDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsRequestVer11.java171
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsRequestVer12.java109
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsRequestVer13.java109
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsRequestVer14.java109
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
//
        @Override
        public OFGroupDescStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFInstructionExperimenterVer11.java34
org/projectfloodlight/openflow/protocol/ver12/OFInstructionExperimenterVer12.java34
org/projectfloodlight/openflow/protocol/ver13/OFInstructionExperimenterVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFInstructionExperimenterVer14.java34
    public final static OFInstructionExperimenterVer11.Reader READER = new Reader();

    static class Reader implements OFMessageReader<OFInstructionExperimenter> {
        @Override
        public OFInstructionExperimenter readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            int experimenter = bb.readInt();
            bb.readerIndex(start);
            switch(experimenter) {
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsRequestVer12.java109
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsRequestVer13.java171
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsRequestVer14.java171
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupFeaturesStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_FEATURES;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupFeaturesStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFGroupFeaturesStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsRequestVer12.java171
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsRequestVer13.java109
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsRequestVer14.java109
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFGroupFeaturesStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.GROUP_FEATURES;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFGroupFeaturesStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
//
        @Override
        public OFGroupFeaturesStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnGentableVer13.java112
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnGentableVer14.java179
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public long getTableId() {
        return tableId;
    }

    @Override
    public OFActionBsnGentable.Builder setTableId(long tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFActionBsnGentable.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnGentableVer13.java179
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnGentableVer14.java112
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public long getTableId() {
        return tableId;
    }

    @Override
    public OFActionBsnGentable.Builder setTableId(long tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFActionBsnGentable.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsEntryVer13.java254
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsEntryVer14.java254
        public void write(ChannelBuffer bb, OFBsnGentableEntryStatsEntryVer13 message) {
            int startIndex = bb.writerIndex();
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            // keyLength is length indicator for key, will be
            // udpated when key has been written
            int keyLengthIndex = bb.writerIndex();
            bb.writeShort(0);
            int keyStartIndex = bb.writerIndex();
            ChannelUtils.writeList(bb, message.key);
            // update field length member keyLength
            int keyLength = bb.writerIndex() - keyStartIndex;
            bb.setShort(keyLengthIndex, keyLength);
            ChannelUtils.writeList(bb, message.stats);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFBsnGentableEntryStatsEntryVer13(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java940
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java783
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java801
        StringBuilder b = new StringBuilder("OFCalientFlowStatsEntryVer13(");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("durationSec=").append(durationSec);
        b.append(", ");
        b.append("durationNsec=").append(durationNsec);
        b.append(", ");
        b.append("priority=").append(priority);
        b.append(", ");
        b.append("idleTimeout=").append(idleTimeout);
        b.append(", ");
        b.append("hardTimeout=").append(hardTimeout);
        b.append(", ");
        b.append("flags=").append(flags);
        b.append(", ");
        b.append("cookie=").append(cookie);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesStatsRequestVer13.java109
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesStatsRequestVer14.java171
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterFeaturesStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_FEATURES;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterFeaturesStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFMeterFeaturesStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesStatsRequestVer13.java171
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesStatsRequestVer14.java109
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFMeterFeaturesStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.METER_FEATURES;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFMeterFeaturesStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
//
        @Override
        public OFMeterFeaturesStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsRequestVer13.java109
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsRequestVer14.java171
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT_DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }


        @Override
        public OFPortDescStatsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsRequestVer13.java171
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsRequestVer14.java109
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFPortDescStatsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.PORT_DESC;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public OFPortDescStatsRequest.Builder setFlags(Set<OFStatsRequestFlags> flags) {
        this.flags = flags;
        this.flagsSet = true;
        return this;
    }
//
        @Override
        public OFPortDescStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionOutputVer10.java142
org/projectfloodlight/openflow/protocol/ver11/OFActionOutputVer11.java142
org/projectfloodlight/openflow/protocol/ver12/OFActionOutputVer12.java142
org/projectfloodlight/openflow/protocol/ver13/OFActionOutputVer13.java142
org/projectfloodlight/openflow/protocol/ver14/OFActionOutputVer14.java142
                return new OFActionOutputVer10(
                    port,
                    maxLen
                );
        }

    }

    static class Builder implements OFActionOutput.Builder {
        // OF message fields
        private boolean portSet;
        private OFPort port;
        private boolean maxLenSet;
        private int maxLen;

    @Override
    public OFActionType getType() {
        return OFActionType.OUTPUT;
    }

    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFActionOutput.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public int getMaxLen() {
        return maxLen;
    }

    @Override
    public OFActionOutput.Builder setMaxLen(int maxLen) {
        this.maxLen = maxLen;
        this.maxLenSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowRemovedVer10.java261
org/projectfloodlight/openflow/protocol/ver10/OFFlowRemovedVer10.java462
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java271
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java480
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowRemoved.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property hardTimeout not supported in version 1.0");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortModVer10.java533
org/projectfloodlight/openflow/protocol/ver11/OFPortModVer11.java543
org/projectfloodlight/openflow/protocol/ver12/OFPortModVer12.java543
org/projectfloodlight/openflow/protocol/ver13/OFPortModVer13.java543
org/projectfloodlight/openflow/protocol/ver14/OFPortModVer14.java554
        if( advertise != other.advertise)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime * result + ((hwAddr == null) ? 0 : hwAddr.hashCode());
        result = prime *  (int) (config ^ (config >>> 32));
        result = prime *  (int) (mask ^ (mask >>> 32));
        result = prime *  (int) (advertise ^ (advertise >>> 32));
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java154
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java154
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java154
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java154
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java154
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java157
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java157
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java157
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java157
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java154
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java154
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java154
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java154
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java154
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java157
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedReasonSerializerVer11.java37
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedReasonSerializerVer12.java37
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedReasonSerializerVer13.java37
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedReasonSerializerVer14.java39
    public static OFFlowRemovedReason readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFFlowRemovedReason e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFFlowRemovedReason e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFFlowRemovedReason ofWireValue(byte val) {
        switch(val) {
            case IDLE_TIMEOUT_VAL:
                return OFFlowRemovedReason.IDLE_TIMEOUT;
            case HARD_TIMEOUT_VAL:
                return OFFlowRemovedReason.HARD_TIMEOUT;
            case DELETE_VAL:
                return OFFlowRemovedReason.DELETE;
            case GROUP_DELETE_VAL:
                return OFFlowRemovedReason.GROUP_DELETE;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupAddVer11.java440
org/projectfloodlight/openflow/protocol/ver11/OFGroupDeleteVer11.java440
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsEntryVer11.java340
org/projectfloodlight/openflow/protocol/ver11/OFGroupModifyVer11.java440
org/projectfloodlight/openflow/protocol/ver12/OFGroupAddVer12.java440
org/projectfloodlight/openflow/protocol/ver12/OFGroupDeleteVer12.java440
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsEntryVer12.java340
org/projectfloodlight/openflow/protocol/ver12/OFGroupModifyVer12.java440
org/projectfloodlight/openflow/protocol/ver13/OFGroupAddVer13.java440
org/projectfloodlight/openflow/protocol/ver13/OFGroupDeleteVer13.java440
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsEntryVer13.java340
org/projectfloodlight/openflow/protocol/ver13/OFGroupModifyVer13.java440
org/projectfloodlight/openflow/protocol/ver14/OFGroupAddVer14.java440
org/projectfloodlight/openflow/protocol/ver14/OFGroupDeleteVer14.java440
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsEntryVer14.java340
org/projectfloodlight/openflow/protocol/ver14/OFGroupModifyVer14.java440
        if (groupType == null) {
            if (other.groupType != null)
                return false;
        } else if (!groupType.equals(other.groupType))
            return false;
        if (group == null) {
            if (other.group != null)
                return false;
        } else if (!group.equals(other.group))
            return false;
        if (buckets == null) {
            if (other.buckets != null)
                return false;
        } else if (!buckets.equals(other.buckets))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFInstructionWriteMetadataVer11.java147
org/projectfloodlight/openflow/protocol/ver12/OFInstructionWriteMetadataVer12.java147
org/projectfloodlight/openflow/protocol/ver13/OFInstructionWriteMetadataVer13.java147
org/projectfloodlight/openflow/protocol/ver14/OFInstructionWriteMetadataVer14.java147
                return new OFInstructionWriteMetadataVer11(
                    metadata,
                    metadataMask
                );
        }

    }

    static class Builder implements OFInstructionWriteMetadata.Builder {
        // OF message fields
        private boolean metadataSet;
        private U64 metadata;
        private boolean metadataMaskSet;
        private U64 metadataMask;

    @Override
    public OFInstructionType getType() {
        return OFInstructionType.WRITE_METADATA;
    }

    @Override
    public U64 getMetadata() {
        return metadata;
    }

    @Override
    public OFInstructionWriteMetadata.Builder setMetadata(U64 metadata) {
        this.metadata = metadata;
        this.metadataSet = true;
        return this;
    }
    @Override
    public U64 getMetadataMask() {
        return metadataMask;
    }

    @Override
    public OFInstructionWriteMetadata.Builder setMetadataMask(U64 metadataMask) {
        this.metadataMask = metadataMask;
        this.metadataMaskSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortModFailedCodeSerializerVer11.java37
org/projectfloodlight/openflow/protocol/ver12/OFPortModFailedCodeSerializerVer12.java38
org/projectfloodlight/openflow/protocol/ver13/OFPortModFailedCodeSerializerVer13.java38
org/projectfloodlight/openflow/protocol/ver14/OFPortModFailedCodeSerializerVer14.java38
    public static OFPortModFailedCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFPortModFailedCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFPortModFailedCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFPortModFailedCode ofWireValue(short val) {
        switch(val) {
            case BAD_PORT_VAL:
                return OFPortModFailedCode.BAD_PORT;
            case BAD_HW_ADDR_VAL:
                return OFPortModFailedCode.BAD_HW_ADDR;
            case BAD_CONFIG_VAL:
                return OFPortModFailedCode.BAD_CONFIG;
            case BAD_ADVERTISE_VAL:
                return OFPortModFailedCode.BAD_ADVERTISE;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableConfigSerializerVer11.java39
org/projectfloodlight/openflow/protocol/ver12/OFTableConfigSerializerVer12.java39
org/projectfloodlight/openflow/protocol/ver13/OFTableConfigSerializerVer13.java36
    public final static int TABLE_MISS_MASK_VAL = 0x3;

    public static Set<OFTableConfig> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFTableConfig> set) {
        bb.writeInt(toWireValue(set));
    }

    public static void putTo(Set<OFTableConfig> set, PrimitiveSink sink) {
        sink.putInt(toWireValue(set));
    }


    public static Set<OFTableConfig> ofWireValue(int val) {
        EnumSet<OFTableConfig> set = EnumSet.noneOf(OFTableConfig.class);

        if((val & TABLE_MISS_MASK_VAL) == TABLE_MISS_CONTROLLER_VAL)
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsReplyVer12.java683
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsReplyVer13.java683
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsReplyVer14.java683
            OFStatsReplyFlagsSerializerVer12.putTo(message.flags, sink);
            // skip pad (4 bytes)
            sink.putLong(message.types);
            sink.putLong(message.capabilities);
            sink.putLong(message.maxGroupsAll);
            sink.putLong(message.maxGroupsSelect);
            sink.putLong(message.maxGroupsIndirect);
            sink.putLong(message.maxGroupsFf);
            sink.putLong(message.actionsAll);
            sink.putLong(message.actionsSelect);
            sink.putLong(message.actionsIndirect);
            sink.putLong(message.actionsFf);
        }
    }


    public void writeTo(ChannelBuffer bb) {
        WRITER.write(bb, this);
    }

    final static Writer WRITER = new Writer();
    static class Writer implements OFMessageWriter<OFGroupFeaturesStatsReplyVer12> {
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPacketInVer12.java627
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java655
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java655
        OFPacketInVer12 other = (OFPacketInVer12) obj;

        if( xid != other.xid)
            return false;
        if (bufferId == null) {
            if (other.bufferId != null)
                return false;
        } else if (!bufferId.equals(other.bufferId))
            return false;
        if( totalLen != other.totalLen)
            return false;
        if (reason == null) {
            if (other.reason != null)
                return false;
        } else if (!reason.equals(other.reason))
            return false;
        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if (match == null) {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsRequestVer13.java79
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsRequestVer14.java79
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public List<OFBsnTlv> getTlvs() {
        return tlvs;
    }



    public OFBsnGenericStatsRequest.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnGenericStatsRequest.Builder {
        final OFBsnGenericStatsRequestVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryAddVer13.java524
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsEntryVer13.java349
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryAddVer14.java524
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsEntryVer14.java349
        if (checksum == null) {
            if (other.checksum != null)
                return false;
        } else if (!checksum.equals(other.checksum))
            return false;
        if (key == null) {
            if (other.key != null)
                return false;
        } else if (!key.equals(other.key))
            return false;
        if (value == null) {
            if (other.value != null)
                return false;
        } else if (!value.equals(other.value))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsEntryVer13.java505
org/projectfloodlight/openflow/protocol/ver14/OFPortDescVer14.java674
        if( state != other.state)
            return false;
        if (properties == null) {
            if (other.properties != null)
                return false;
        } else if (!properties.equals(other.properties))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((portNo == null) ? 0 : portNo.hashCode());
        result = prime * result + ((hwAddr == null) ? 0 : hwAddr.hashCode());
        result = prime * result + ((name == null) ? 0 : name.hashCode());
        result = prime *  (int) (config ^ (config >>> 32));
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFHelloVer13.java102
org/projectfloodlight/openflow/protocol/ver13/OFHelloVer13.java159
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.HELLO;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFHello.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public List<OFHelloElem> getElements() {
        return elements;
    }

    @Override
    public OFHello.Builder setElements(List<OFHelloElem> elements) {
        this.elements = elements;
        this.elementsSet = true;
        return this;
    }


        @Override
        public OFHello build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFHelloVer14.java102
org/projectfloodlight/openflow/protocol/ver14/OFHelloVer14.java159
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.HELLO;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFHello.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public List<OFHelloElem> getElements() {
        return elements;
    }

    @Override
    public OFHello.Builder setElements(List<OFHelloElem> elements) {
        this.elements = elements;
        this.elementsSet = true;
        return this;
    }


        @Override
        public OFHello build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
net/onrc/openvirtex/api/service/handlers/tenant/RemoveOVXSwitch.java39
net/onrc/openvirtex/api/service/handlers/tenant/StartOVXSwitch.java40
net/onrc/openvirtex/api/service/handlers/tenant/StopOVXSwitch.java40
    Logger log = LogManager.getLogger(RemoveOVXSwitch.class.getName());


    @Override
    public JSONRPC2Response process(final Map<String, Object> params) {
        JSONRPC2Response resp = null;

        try {
            final Number tenantId = HandlerUtils.<Number>fetchField(
                    TenantHandler.TENANT, params, true, null);
            final Number dpid = HandlerUtils.<Number>fetchField(
                    TenantHandler.VDPID, params, true, null);


            HandlerUtils.isValidTenantId(tenantId.intValue());
            HandlerUtils
                    .isValidOVXSwitch(tenantId.intValue(), dpid.longValue());

            final OVXMap map = OVXMap.getInstance();
            final OVXNetwork virtualNetwork = map.getVirtualNetwork(tenantId
                    .intValue());
            virtualNetwork.removeSwitch(dpid.longValue());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortFeaturesSerializerVer10.java92
org/projectfloodlight/openflow/protocol/ver11/OFPortFeaturesSerializerVer11.java104
org/projectfloodlight/openflow/protocol/ver12/OFPortFeaturesSerializerVer12.java104
org/projectfloodlight/openflow/protocol/ver13/OFPortFeaturesSerializerVer13.java107
org/projectfloodlight/openflow/protocol/ver14/OFPortFeaturesSerializerVer14.java107
            set.add(OFPortFeatures.PF_PAUSE_ASYM);
        return Collections.unmodifiableSet(set);
    }

    public static int toWireValue(Set<OFPortFeatures> set) {
        int wireValue = 0;

        for(OFPortFeatures e: set) {
            switch(e) {
                case PF_10MB_HD:
                    wireValue |= PF_10MB_HD_VAL;
                    break;
                case PF_10MB_FD:
                    wireValue |= PF_10MB_FD_VAL;
                    break;
                case PF_100MB_HD:
                    wireValue |= PF_100MB_HD_VAL;
                    break;
                case PF_100MB_FD:
                    wireValue |= PF_100MB_FD_VAL;
                    break;
                case PF_1GB_HD:
                    wireValue |= PF_1GB_HD_VAL;
                    break;
                case PF_1GB_FD:
                    wireValue |= PF_1GB_FD_VAL;
                    break;
                case PF_10GB_FD:
                    wireValue |= PF_10GB_FD_VAL;
                    break;
                case PF_COPPER:
                    wireValue |= PF_COPPER_VAL;
                    break;
                case PF_FIBER:
                    wireValue |= PF_FIBER_VAL;
                    break;
                case PF_AUTONEG:
                    wireValue |= PF_AUTONEG_VAL;
                    break;
                case PF_PAUSE:
                    wireValue |= PF_PAUSE_VAL;
                    break;
                case PF_PAUSE_ASYM:
                    wireValue |= PF_PAUSE_ASYM_VAL;
                    break;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsEntryVer10.java689
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsEntryVer11.java797
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsEntryVer12.java909
        b.append("wildcards=").append(wildcards);
        b.append(", ");
        b.append("maxEntries=").append(maxEntries);
        b.append(", ");
        b.append("activeCount=").append(activeCount);
        b.append(", ");
        b.append("lookupCount=").append(lookupCount);
        b.append(", ");
        b.append("matchedCount=").append(matchedCount);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java343
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java343
    }

//
        @Override
        public OFGroupStatsEntry build() {
            OFGroup group = this.groupSet ? this.group : DEFAULT_GROUP_ID;
            if(group == null)
                throw new NullPointerException("Property group must not be null");
            long refCount = this.refCountSet ? this.refCount : DEFAULT_REF_COUNT;
            U64 packetCount = this.packetCountSet ? this.packetCount : DEFAULT_PACKET_COUNT;
            if(packetCount == null)
                throw new NullPointerException("Property packetCount must not be null");
            U64 byteCount = this.byteCountSet ? this.byteCount : DEFAULT_BYTE_COUNT;
            if(byteCount == null)
                throw new NullPointerException("Property byteCount must not be null");
            List<OFBucketCounter> bucketStats = this.bucketStatsSet ? this.bucketStats : DEFAULT_BUCKET_STATS;
            if(bucketStats == null)
                throw new NullPointerException("Property bucketStats must not be null");


            return new OFGroupStatsEntryVer11(
FileLine
net/onrc/openvirtex/messages/actions/ver10/OVXActionOutputVer10.java204
net/onrc/openvirtex/messages/actions/ver10/OVXActionOutputVer10.java280
                            }							
                        } else {
                            /*
                             * If inPort is edge and outPort is link:
                             * - retrieve link
                             * - generate the link's FMs
                             * - add actions to current FM to write packet fields
                             * related to the link
                             */
                            final OVXLink link = outPort.getLink().getOutLink();
                            linkId = link.getLinkId();
                            try {
                                flowId = vnet.getFlowManager().storeFlowValues(
                                        match.getEthSrc().getBytes(),
                                        match.getEthDst().getBytes());
                                link.generateLinkFMs(fm.clone(), flowId);
                                approvedActions.addAll(new OVXLinkUtils(sw
                                        .getTenantId(), linkId, flowId)
                                .setLinkFields());
                            } catch (IndexOutOfBoundException e) {
                                log.error(
                                        "Too many host to generate the flow pairs in this virtual network {}. "
                                                + "Dropping flow-mod {} ",
                                                sw.getTenantId(), fm);
                                throw new DroppedMessageException();
                            }
                        }
                    } else {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionStripVlanVer10.java78
org/projectfloodlight/openflow/protocol/ver11/OFActionCopyTtlInVer11.java78
org/projectfloodlight/openflow/protocol/ver11/OFActionCopyTtlOutVer11.java78
org/projectfloodlight/openflow/protocol/ver11/OFActionDecMplsTtlVer11.java78
org/projectfloodlight/openflow/protocol/ver11/OFActionDecNwTtlVer11.java78
org/projectfloodlight/openflow/protocol/ver11/OFActionPopVlanVer11.java78
org/projectfloodlight/openflow/protocol/ver11/OFInstructionClearActionsVer11.java78
org/projectfloodlight/openflow/protocol/ver12/OFActionCopyTtlInVer12.java78
org/projectfloodlight/openflow/protocol/ver12/OFActionCopyTtlOutVer12.java78
org/projectfloodlight/openflow/protocol/ver12/OFActionDecMplsTtlVer12.java78
org/projectfloodlight/openflow/protocol/ver12/OFActionDecNwTtlVer12.java78
org/projectfloodlight/openflow/protocol/ver12/OFActionPopVlanVer12.java78
org/projectfloodlight/openflow/protocol/ver12/OFInstructionClearActionsVer12.java78
org/projectfloodlight/openflow/protocol/ver13/OFActionCopyTtlInVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFActionCopyTtlOutVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFActionDecMplsTtlVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFActionDecNwTtlVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFActionPopPbbVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFActionPopVlanVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFInstructionClearActionsVer13.java78
org/projectfloodlight/openflow/protocol/ver14/OFActionCopyTtlInVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFActionCopyTtlOutVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFActionDecMplsTtlVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFActionDecNwTtlVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFActionPopPbbVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFActionPopVlanVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFInstructionClearActionsVer14.java78
                throw new OFParseError("Wrong type: Expected=OFActionType.STRIP_VLAN(3), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionStripVlanVer10Funnel FUNNEL = new OFActionStripVlanVer10Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportL2GreVer10.java735
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreVer11.java735
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreVer12.java735
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreVer13.java735
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreVer14.java735
            message.loopbackPortNo.write2Bytes(bb);
            message.localMac.write6Bytes(bb);
            message.nhMac.write6Bytes(bb);
            message.srcIp.write4Bytes(bb);
            message.dstIp.write4Bytes(bb);
            bb.writeByte(U8.t(message.dscp));
            bb.writeByte(U8.t(message.ttl));
            // pad: 2 bytes
            bb.writeZero(2);
            bb.writeInt(U32.t(message.vpn));
            bb.writeInt(U32.t(message.rateLimit));
            ChannelUtils.writeFixedLengthString(bb, message.ifName, 16);


        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFBsnVportL2GreVer10(");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportQInQVer10.java62
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportQInQVer11.java62
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportQInQVer12.java62
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportQInQVer13.java62
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportQInQVer14.java62
            throw new NullPointerException("OFBsnVportQInQVer10: property ifName cannot be null");
        }
        this.portNo = portNo;
        this.ingressTpid = ingressTpid;
        this.ingressVlanId = ingressVlanId;
        this.egressTpid = egressTpid;
        this.egressVlanId = egressVlanId;
        this.ifName = ifName;
    }

    // Accessors for OF message fields
    @Override
    public int getType() {
        return 0x0;
    }

    @Override
    public long getPortNo() {
        return portNo;
    }

    @Override
    public int getIngressTpid() {
        return ingressTpid;
    }

    @Override
    public int getIngressVlanId() {
        return ingressVlanId;
    }

    @Override
    public int getEgressTpid() {
        return egressTpid;
    }

    @Override
    public int getEgressVlanId() {
        return egressVlanId;
    }

    @Override
    public String getIfName() {
        return ifName;
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFEchoReplyVer10.java101
org/projectfloodlight/openflow/protocol/ver10/OFEchoReplyVer10.java158
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.ECHO_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFEchoReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFEchoReply.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFEchoReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFEchoRequestVer10.java101
org/projectfloodlight/openflow/protocol/ver10/OFEchoRequestVer10.java158
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.ECHO_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFEchoRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFEchoRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFEchoRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsEntryVer10.java102
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java102
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java102
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java109
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java112
    }

    // Accessors for OF message fields
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFEchoReplyVer11.java101
org/projectfloodlight/openflow/protocol/ver11/OFEchoReplyVer11.java158
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.ECHO_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFEchoReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFEchoReply.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFEchoReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFEchoRequestVer11.java101
org/projectfloodlight/openflow/protocol/ver11/OFEchoRequestVer11.java158
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.ECHO_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFEchoRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFEchoRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFEchoRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowModVer11.java45
org/projectfloodlight/openflow/protocol/ver12/OFFlowModVer12.java45
org/projectfloodlight/openflow/protocol/ver13/OFFlowModVer13.java45
org/projectfloodlight/openflow/protocol/ver14/OFFlowModVer14.java45
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 14
            byte type = bb.readByte();
            if(type != (byte) 0xe)
                throw new OFParseError("Wrong type: Expected=OFType.FLOW_MOD(14), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            U64.ofRaw(bb.readLong());
            U64.ofRaw(bb.readLong());
            TableId.readByte(bb);
            short command = bb.readByte();
            bb.readerIndex(start);
            switch(command) {
               case (short) 0x0:
                   // discriminator value OFFlowModCommand.ADD=0 for class OFFlowAddVer11
                   return OFFlowAddVer11.READER.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortModVer11.java477
org/projectfloodlight/openflow/protocol/ver12/OFPortModVer12.java477
org/projectfloodlight/openflow/protocol/ver13/OFPortModVer13.java477
            bb.writeByte((byte) 0x2);
            // fixed value property type = 16
            bb.writeByte((byte) 0x10);
            // fixed value property length = 40
            bb.writeShort((short) 0x28);
            bb.writeInt(U32.t(message.xid));
            message.portNo.write4Bytes(bb);
            // pad: 4 bytes
            bb.writeZero(4);
            message.hwAddr.write6Bytes(bb);
            // pad: 2 bytes
            bb.writeZero(2);
            bb.writeInt(U32.t(message.config));
            bb.writeInt(U32.t(message.mask));
            bb.writeInt(U32.t(message.advertise));
            // pad: 4 bytes
            bb.writeZero(4);


        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFPortModVer11(");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableConfigSerializerVer11.java41
org/projectfloodlight/openflow/protocol/ver12/OFTableConfigSerializerVer12.java41
org/projectfloodlight/openflow/protocol/ver14/OFTableConfigSerializerVer14.java40
    public static Set<OFTableConfig> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFTableConfig> set) {
        bb.writeInt(toWireValue(set));
    }

    public static void putTo(Set<OFTableConfig> set, PrimitiveSink sink) {
        sink.putInt(toWireValue(set));
    }


    public static Set<OFTableConfig> ofWireValue(int val) {
        EnumSet<OFTableConfig> set = EnumSet.noneOf(OFTableConfig.class);

        if((val & TABLE_MISS_MASK_VAL) == TABLE_MISS_CONTROLLER_VAL)
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFEchoReplyVer12.java101
org/projectfloodlight/openflow/protocol/ver12/OFEchoReplyVer12.java158
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.ECHO_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFEchoReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFEchoReply.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFEchoReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFEchoRequestVer12.java101
org/projectfloodlight/openflow/protocol/ver12/OFEchoRequestVer12.java158
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.ECHO_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFEchoRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFEchoRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFEchoRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsReplyVer12.java373
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsReplyVer13.java373
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsReplyVer14.java373
                return new OFGroupFeaturesStatsReplyVer12(
                    xid,
                    flags,
                    types,
                    capabilities,
                    maxGroupsAll,
                    maxGroupsSelect,
                    maxGroupsIndirect,
                    maxGroupsFf,
                    actionsAll,
                    actionsSelect,
                    actionsIndirect,
                    actionsFf
                );
        }

    }

    static class Builder implements OFGroupFeaturesStatsReply.Builder {
        // OF message fields
        private boolean xidSet;
        private long xid;
        private boolean flagsSet;
        private Set<OFStatsReplyFlags> flags;
        private boolean typesSet;
        private long types;
        private boolean capabilitiesSet;
        private long capabilities;
        private boolean maxGroupsAllSet;
        private long maxGroupsAll;
        private boolean maxGroupsSelectSet;
        private long maxGroupsSelect;
        private boolean maxGroupsIndirectSet;
        private long maxGroupsIndirect;
        private boolean maxGroupsFfSet;
        private long maxGroupsFf;
        private boolean actionsAllSet;
        private long actionsAll;
        private boolean actionsSelectSet;
        private long actionsSelect;
        private boolean actionsIndirectSet;
        private long actionsIndirect;
        private boolean actionsFfSet;
        private long actionsFf;

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionCircuitVer13.java221
org/projectfloodlight/openflow/protocol/ver13/OFActionIdCircuitVer13.java96
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x748771L
            int experimenter = bb.readInt();
            if(experimenter != 0x748771)
                throw new OFParseError("Wrong experimenter: Expected=0x748771L(0x748771L), got="+experimenter);
            // fixed value property subtype == 0x19
            short subtype = bb.readShort();
            if(subtype != (short) 0x19)
                throw new OFParseError("Wrong subtype: Expected=0x19(0x19), got="+subtype);
            // fixed value property hlength == 0x10
            short hlength = bb.readShort();
            if(hlength != (short) 0x10)
                throw new OFParseError("Wrong hlength: Expected=0x10(0x10), got="+hlength);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryAddVer13.java79
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryAddVer14.java79
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2eL;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public List<OFBsnTlv> getValue() {
        return value;
    }



    public OFBsnGentableEntryAdd.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnGentableEntryAdd.Builder {
        final OFBsnGentableEntryAddVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaUploadVer13.java438
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaUploadVer14.java438
        StringBuilder b = new StringBuilder("OFBsnLuaUploadVer13(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("flags=").append(flags);
        b.append(", ");
        b.append("filename=").append(filename);
        b.append(", ");
        b.append("data=").append(Arrays.toString(data));
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvReferenceVer13.java102
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvReferenceVer13.java159
    @Override
    public int getType() {
        return 0x3b;
    }

    @Override
    public int getTableId() {
        return tableId;
    }

    @Override
    public OFBsnTlvReference.Builder setTableId(int tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnTlvReference.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFBsnTlvReference build() {
                int tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFEchoReplyVer13.java101
org/projectfloodlight/openflow/protocol/ver13/OFEchoReplyVer13.java158
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.ECHO_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFEchoReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFEchoReply.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFEchoReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFEchoRequestVer13.java101
org/projectfloodlight/openflow/protocol/ver13/OFEchoRequestVer13.java158
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.ECHO_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFEchoRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFEchoRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFEchoRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandDropVer13.java137
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandDropVer14.java137
                return new OFMeterBandDropVer13(
                    rate,
                    burstSize
                );
        }

    }

    static class Builder implements OFMeterBandDrop.Builder {
        // OF message fields
        private boolean rateSet;
        private long rate;
        private boolean burstSizeSet;
        private long burstSize;

    @Override
    public int getType() {
        return 0x1;
    }

    @Override
    public long getRate() {
        return rate;
    }

    @Override
    public OFMeterBandDrop.Builder setRate(long rate) {
        this.rate = rate;
        this.rateSet = true;
        return this;
    }
    @Override
    public long getBurstSize() {
        return burstSize;
    }

    @Override
    public OFMeterBandDrop.Builder setBurstSize(long burstSize) {
        this.burstSize = burstSize;
        this.burstSizeSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsEntryVer13.java298
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsEntryVer13.java492
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsEntryVer14.java298
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsEntryVer14.java492
            throw new UnsupportedOperationException("Property maxEntries not supported in version 1.3");
    }
    @Override
    public long getActiveCount() {
        return activeCount;
    }

    @Override
    public OFTableStatsEntry.Builder setActiveCount(long activeCount) {
        this.activeCount = activeCount;
        this.activeCountSet = true;
        return this;
    }
    @Override
    public U64 getLookupCount() {
        return lookupCount;
    }

    @Override
    public OFTableStatsEntry.Builder setLookupCount(U64 lookupCount) {
        this.lookupCount = lookupCount;
        this.lookupCountSet = true;
        return this;
    }
    @Override
    public U64 getMatchedCount() {
        return matchedCount;
    }

    @Override
    public OFTableStatsEntry.Builder setMatchedCount(U64 matchedCount) {
        this.matchedCount = matchedCount;
        this.matchedCountSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFAsyncGetReplyVer14.java359
org/projectfloodlight/openflow/protocol/ver14/OFAsyncGetRequestVer14.java359
org/projectfloodlight/openflow/protocol/ver14/OFAsyncSetVer14.java359
                throw new OFParseError("Wrong type: Expected=OFType.GET_ASYNC_REPLY(27), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            List<OFAsyncConfigProp> properties = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFAsyncConfigPropVer14.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvReferenceVer14.java102
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvReferenceVer14.java159
    @Override
    public int getType() {
        return 0x3b;
    }

    @Override
    public int getTableId() {
        return tableId;
    }

    @Override
    public OFBsnTlvReference.Builder setTableId(int tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnTlvReference.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFBsnTlvReference build() {
                int tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFEchoReplyVer14.java101
org/projectfloodlight/openflow/protocol/ver14/OFEchoReplyVer14.java158
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ECHO_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFEchoReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFEchoReply.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFEchoReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFEchoRequestVer14.java101
org/projectfloodlight/openflow/protocol/ver14/OFEchoRequestVer14.java158
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.ECHO_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFEchoRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFEchoRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFEchoRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFPortDescPropOpticalVer14.java469
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsPropOpticalVer14.java545
        public OFPortDescPropOptical readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x1
            short type = bb.readShort();
            if(type != (short) 0x1)
                throw new OFParseError("Wrong type: Expected=0x1(0x1), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 44)
                throw new OFParseError("Wrong length: Expected=44(44), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);
            long supported = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnSetTunnelDstVer10.java200
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnSetTunnelDstVer11.java200
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnSetTunnelDstVer12.java200
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnSetTunnelDstVer13.java200
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnDhcpOffloadVer13.java88
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnSetTunnelDstVer14.java200
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnDhcpOffloadVer14.java88
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x2L
            int subtype = bb.readInt();
            if(subtype != 0x2)
                throw new OFParseError("Wrong subtype: Expected=0x2L(0x2L), got="+subtype);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsReplyVer10.java282
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsReplyVer11.java282
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsReplyVer12.java282
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java505
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsReplyVer13.java282
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java505
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsReplyVer14.java282
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java505
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(17), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 1
            short statsType = bb.readShort();
            if(statsType != (short) 0x1)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.FLOW(1), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer10.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFGetConfigReplyVer10.java254
org/projectfloodlight/openflow/protocol/ver11/OFGetConfigReplyVer11.java254
org/projectfloodlight/openflow/protocol/ver12/OFGetConfigReplyVer12.java254
org/projectfloodlight/openflow/protocol/ver13/OFGetConfigReplyVer13.java254
org/projectfloodlight/openflow/protocol/ver14/OFGetConfigReplyVer14.java254
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 8
            byte type = bb.readByte();
            if(type != (byte) 0x8)
                throw new OFParseError("Wrong type: Expected=OFType.GET_CONFIG_REPLY(8), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            Set<OFConfigFlags> flags = OFConfigFlagsSerializerVer10.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortModVer10.java232
org/projectfloodlight/openflow/protocol/ver11/OFPortModVer11.java232
org/projectfloodlight/openflow/protocol/ver12/OFPortModVer12.java232
org/projectfloodlight/openflow/protocol/ver13/OFPortModVer13.java232
            throw new UnsupportedOperationException("Property properties not supported in version 1.0");
    }


        @Override
        public OFPortMod build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : parentMessage.hwAddr;
                if(hwAddr == null)
                    throw new NullPointerException("Property hwAddr must not be null");
                long config = this.configSet ? this.config : parentMessage.config;
                long mask = this.maskSet ? this.mask : parentMessage.mask;
                long advertise = this.advertiseSet ? this.advertise : parentMessage.advertise;

                //
                return new OFPortModVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFSetConfigVer10.java254
org/projectfloodlight/openflow/protocol/ver11/OFSetConfigVer11.java254
org/projectfloodlight/openflow/protocol/ver12/OFSetConfigVer12.java254
org/projectfloodlight/openflow/protocol/ver13/OFSetConfigVer13.java254
org/projectfloodlight/openflow/protocol/ver14/OFSetConfigVer14.java254
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 9
            byte type = bb.readByte();
            if(type != (byte) 0x9)
                throw new OFParseError("Wrong type: Expected=OFType.SET_CONFIG(9), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            Set<OFConfigFlags> flags = OFConfigFlagsSerializerVer10.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsEntryVer10.java323
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsEntryVer10.java537
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsEntryVer11.java356
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsEntryVer11.java602
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsEntryVer12.java396
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsEntryVer12.java674
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsEntryVer13.java299
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsEntryVer13.java493
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsEntryVer14.java299
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsEntryVer14.java493
    }
    @Override
    public long getActiveCount() {
        return activeCount;
    }

    @Override
    public OFTableStatsEntry.Builder setActiveCount(long activeCount) {
        this.activeCount = activeCount;
        this.activeCountSet = true;
        return this;
    }
    @Override
    public U64 getLookupCount() {
        return lookupCount;
    }

    @Override
    public OFTableStatsEntry.Builder setLookupCount(U64 lookupCount) {
        this.lookupCount = lookupCount;
        this.lookupCountSet = true;
        return this;
    }
    @Override
    public U64 getMatchedCount() {
        return matchedCount;
    }

    @Override
    public OFTableStatsEntry.Builder setMatchedCount(U64 matchedCount) {
        this.matchedCount = matchedCount;
        this.matchedCountSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsRequestVer13.java357
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsReplyVer13.java350
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsRequestVer13.java521
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsReplyVer13.java350
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsRequestVer14.java357
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsReplyVer14.java312
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer13.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsReplyVer13.java77
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsReplyVer14.java77
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xeL;
    }

    @Override
    public String getImageChecksum() {
        return imageChecksum;
    }

    @Override
    public String getStartupConfigChecksum() {
        return startupConfigChecksum;
    }



    public OFBsnImageDescStatsReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnImageDescStatsReply.Builder {
        final OFBsnImageDescStatsReplyVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java984
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java819
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java839
        OFCalientFlowStatsEntryVer13 other = (OFCalientFlowStatsEntryVer13) obj;

        if (tableId == null) {
            if (other.tableId != null)
                return false;
        } else if (!tableId.equals(other.tableId))
            return false;
        if( durationSec != other.durationSec)
            return false;
        if( durationNsec != other.durationNsec)
            return false;
        if( priority != other.priority)
            return false;
        if( idleTimeout != other.idleTimeout)
            return false;
        if( hardTimeout != other.hardTimeout)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        if (cookie == null) {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java611
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java624
    }

//
        @Override
        public OFFlowStatsEntry build() {
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            long durationSec = this.durationSecSet ? this.durationSec : DEFAULT_DURATION_SEC;
            long durationNsec = this.durationNsecSet ? this.durationNsec : DEFAULT_DURATION_NSEC;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFHelloElemVersionbitmapVer13.java174
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropInstructionsMissVer13.java174
org/projectfloodlight/openflow/protocol/ver14/OFHelloElemVersionbitmapVer14.java174
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropInstructionsMissVer14.java174
        public OFHelloElemVersionbitmap readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x1
            short type = bb.readShort();
            if(type != (short) 0x1)
                throw new OFParseError("Wrong type: Expected=0x1(0x1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<U32> bitmaps = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), U32.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesFailedCodeSerializerVer13.java37
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesFailedCodeSerializerVer14.java34
    public final static short EPERM_VAL = (short) 0x5;

    public static OFTableFeaturesFailedCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFTableFeaturesFailedCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFTableFeaturesFailedCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFTableFeaturesFailedCode ofWireValue(short val) {
        switch(val) {
            case BAD_TABLE_VAL:
                return OFTableFeaturesFailedCode.BAD_TABLE;
            case BAD_METADATA_VAL:
                return OFTableFeaturesFailedCode.BAD_METADATA;
            case BAD_TYPE_VAL:
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsReplyVer13.java283
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsRequestVer13.java282
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsReplyVer14.java282
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsRequestVer14.java282
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(19), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                //System.out.println("Buffer doesnt have all data..but continue");
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 12
            short statsType = bb.readShort();
            if(statsType != (short) 0xc)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.TABLE_FEATURES(12), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer13.readFrom(bb);
FileLine
net/onrc/openvirtex/elements/link/OVXLink.java288
net/onrc/openvirtex/elements/link/OVXLink.java296
                            if (fe.getCommand().equals(OFFlowModCommand.ADD))
                            {
                            OVXFlowAdd fm = OVXFactoryInst.myOVXFactory.buildOVXFlowAdd(fe.getXid(), fe.getMatch(), U64.of(((OVXFlowTable) this.getSrcPort()
                                    .getParentSwitch().getFlowTable())
                                    .getCookie(fe, true)), fe.getIdleTimeout(), fe.getHardTimeout(), fe.getPriority(), fe.getBufferId(), fe.getOutPort(), fe.getFlags(), fe.getActions());
 
                            this.generateLinkFMs(fm, flowId);
                            }
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionExperimenterVer10.java34
org/projectfloodlight/openflow/protocol/ver11/OFActionExperimenterVer11.java34
org/projectfloodlight/openflow/protocol/ver12/OFActionExperimenterVer12.java34
org/projectfloodlight/openflow/protocol/ver13/OFActionExperimenterVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFActionExperimenterVer14.java34
    public final static OFActionExperimenterVer10.Reader READER = new Reader();

    static class Reader implements OFMessageReader<OFActionExperimenter> {
        @Override
        public OFActionExperimenter readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            int experimenter = bb.readInt();
            bb.readerIndex(start);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduSlotNumSerializerVer10.java30
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduSlotNumSerializerVer11.java30
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduSlotNumSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduSlotNumSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduSlotNumSerializerVer14.java30
public class OFBsnPduSlotNumSerializerVer10 {

    public final static byte PDU_SLOT_NUM_ANY_VAL = (byte) 0xff;

    public static OFBsnPduSlotNum readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBsnPduSlotNum e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFBsnPduSlotNum e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFBsnPduSlotNum ofWireValue(byte val) {
        switch(val) {
            case PDU_SLOT_NUM_ANY_VAL:
                return OFBsnPduSlotNum.PDU_SLOT_NUM_ANY;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFBsnPduSlotNum in version 1.0: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportQInQUntaggedSerializerVer10.java30
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportQInQUntaggedSerializerVer11.java30
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportQInQUntaggedSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportQInQUntaggedSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportQInQUntaggedSerializerVer14.java30
public class OFBsnVportQInQUntaggedSerializerVer10 {

    public final static short BSN_VPORT_Q_IN_Q_UNTAGGED_VAL = (short) 0xffff;

    public static OFBsnVportQInQUntagged readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBsnVportQInQUntagged e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFBsnVportQInQUntagged e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFBsnVportQInQUntagged ofWireValue(short val) {
        switch(val) {
            case BSN_VPORT_Q_IN_Q_UNTAGGED_VAL:
                return OFBsnVportQInQUntagged.BSN_VPORT_Q_IN_Q_UNTAGGED;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFBsnVportQInQUntagged in version 1.0: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java40
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java40
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java40
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java40
        private final static OFPort DEFAULT_PORT_NO = OFPort.ANY;
        private final static U64 DEFAULT_RX_PACKETS = U64.ZERO;
        private final static U64 DEFAULT_TX_PACKETS = U64.ZERO;
        private final static U64 DEFAULT_RX_BYTES = U64.ZERO;
        private final static U64 DEFAULT_TX_BYTES = U64.ZERO;
        private final static U64 DEFAULT_RX_DROPPED = U64.ZERO;
        private final static U64 DEFAULT_TX_DROPPED = U64.ZERO;
        private final static U64 DEFAULT_RX_ERRORS = U64.ZERO;
        private final static U64 DEFAULT_TX_ERRORS = U64.ZERO;
        private final static U64 DEFAULT_RX_FRAME_ERR = U64.ZERO;
        private final static U64 DEFAULT_RX_OVER_ERR = U64.ZERO;
        private final static U64 DEFAULT_RX_CRC_ERR = U64.ZERO;
        private final static U64 DEFAULT_COLLISIONS = U64.ZERO;

    // OF message fields
    private final OFPort portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsEntryVer10.java365
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsEntryVer11.java365
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsEntryVer12.java365
    }

//
        @Override
        public OFQueueStatsEntry build() {
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            long queueId = this.queueIdSet ? this.queueId : DEFAULT_QUEUE_ID;
            U64 txBytes = this.txBytesSet ? this.txBytes : DEFAULT_TX_BYTES;
            if(txBytes == null)
                throw new NullPointerException("Property txBytes must not be null");
            U64 txPackets = this.txPacketsSet ? this.txPackets : DEFAULT_TX_PACKETS;
            if(txPackets == null)
                throw new NullPointerException("Property txPackets must not be null");
            U64 txErrors = this.txErrorsSet ? this.txErrors : DEFAULT_TX_ERRORS;
            if(txErrors == null)
                throw new NullPointerException("Property txErrors must not be null");


            return new OFQueueStatsEntryVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java154
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java154
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java155
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java155
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java155
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java155
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java157
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java154
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java154
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java154
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java154
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java154
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java154
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java154
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java154
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java155
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java157
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java157
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java157
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java157
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout() {
        return hardTimeout;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup() {
        return outGroup;
    }

    @Override
    public Set<OFFlowModFlags> getFlags() {
        return flags;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public List<OFInstruction> getInstructions() {
        return instructions;
    }

    @Override
    public List<OFAction> getActions()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java601
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java601
            bb.writeShort((short) 0x2);
            OFStatsRequestFlagsSerializerVer12.writeTo(bb, message.flags);
            // pad: 4 bytes
            bb.writeZero(4);
            message.tableId.writeByte(bb);
            // pad: 3 bytes
            bb.writeZero(3);
            message.outPort.write4Bytes(bb);
            message.outGroup.write4Bytes(bb);
            // pad: 4 bytes
            bb.writeZero(4);
            bb.writeLong(message.cookie.getValue());
            bb.writeLong(message.cookieMask.getValue());
            message.match.writeTo(bb);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFAggregateStatsRequestVer12(");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFExperimenterErrorMsgVer12.java376
org/projectfloodlight/openflow/protocol/ver13/OFExperimenterErrorMsgVer13.java376
org/projectfloodlight/openflow/protocol/ver14/OFExperimenterErrorMsgVer14.java376
            bb.writeByte((byte) 0x3);
            // fixed value property type = 1
            bb.writeByte((byte) 0x1);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            bb.writeInt(U32.t(message.xid));
            // fixed value property errType = 65535
            bb.writeShort((short) 0xffff);
            bb.writeShort(U16.t(message.subtype));
            bb.writeInt(U32.t(message.experimenter));
            message.data.writeTo(bb);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFExperimenterErrorMsgVer12(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java601
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java601
            bb.writeShort((short) 0x2);
            OFStatsRequestFlagsSerializerVer13.writeTo(bb, message.flags);
            // pad: 4 bytes
            bb.writeZero(4);
            message.tableId.writeByte(bb);
            // pad: 3 bytes
            bb.writeZero(3);
            message.outPort.write4Bytes(bb);
            message.outGroup.write4Bytes(bb);
            // pad: 4 bytes
            bb.writeZero(4);
            bb.writeLong(message.cookie.getValue());
            bb.writeLong(message.cookieMask.getValue());
            message.match.writeTo(bb);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFAggregateStatsRequestVer13(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsEntryVer13.java111
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsEntryVer14.java182
    @Override
    public U64 getCounterId() {
        return counterId;
    }

    @Override
    public OFBsnDebugCounterDescStatsEntry.Builder setCounterId(U64 counterId) {
        this.counterId = counterId;
        this.counterIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnDebugCounterDescStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public String getDescription() {
        return description;
    }

    @Override
    public OFBsnDebugCounterDescStatsEntry.Builder setDescription(String description) {
        this.description = description;
        this.descriptionSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsEntryVer13.java182
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsEntryVer14.java111
    @Override
    public U64 getCounterId() {
        return counterId;
    }

    @Override
    public OFBsnDebugCounterDescStatsEntry.Builder setCounterId(U64 counterId) {
        this.counterId = counterId;
        this.counterIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFBsnDebugCounterDescStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public String getDescription() {
        return description;
    }

    @Override
    public OFBsnDebugCounterDescStatsEntry.Builder setDescription(String description) {
        this.description = description;
        this.descriptionSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsEntryVer13.java100
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsEntryVer13.java154
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryStatsEntry.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getStats() {
        return stats;
    }

    @Override
    public OFBsnGentableEntryStatsEntry.Builder setStats(List<OFBsnTlv> stats) {
        this.stats = stats;
        this.statsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFBsnGentableEntryStatsEntry build() {
                List<OFBsnTlv> key = this.keySet ? this.key : parentMessage.key;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsEntryVer13.java103
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsEntryVer14.java172
    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableStatsEntry.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getEntryCount() {
        return entryCount;
    }

    @Override
    public OFBsnGentableStatsEntry.Builder setEntryCount(long entryCount) {
        this.entryCount = entryCount;
        this.entryCountSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableStatsEntry.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsEntryVer13.java172
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsEntryVer14.java103
    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnGentableStatsEntry.Builder setTableId(GenTableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public long getEntryCount() {
        return entryCount;
    }

    @Override
    public OFBsnGentableStatsEntry.Builder setEntryCount(long entryCount) {
        this.entryCount = entryCount;
        this.entryCountSet = true;
        return this;
    }
    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnGentableStatsEntry.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsEntryVer13.java139
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsEntryVer14.java139
                return new OFBsnPortCounterStatsEntryVer13(
                    portNo,
                    values
                );
        }

    }

    static class Builder implements OFBsnPortCounterStatsEntry.Builder {
        // OF message fields
        private boolean portNoSet;
        private OFPort portNo;
        private boolean valuesSet;
        private List<U64> values;

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPortCounterStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public List<U64> getValues() {
        return values;
    }

    @Override
    public OFBsnPortCounterStatsEntry.Builder setValues(List<U64> values) {
        this.values = values;
        this.valuesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsEntryVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsEntryVer14.java134
                return new OFBsnVlanCounterStatsEntryVer13(
                    vlanVid,
                    values
                );
        }

    }

    static class Builder implements OFBsnVlanCounterStatsEntry.Builder {
        // OF message fields
        private boolean vlanVidSet;
        private int vlanVid;
        private boolean valuesSet;
        private List<U64> values;

    @Override
    public int getVlanVid() {
        return vlanVid;
    }

    @Override
    public OFBsnVlanCounterStatsEntry.Builder setVlanVid(int vlanVid) {
        this.vlanVid = vlanVid;
        this.vlanVidSet = true;
        return this;
    }
    @Override
    public List<U64> getValues() {
        return values;
    }

    @Override
    public OFBsnVlanCounterStatsEntry.Builder setValues(List<U64> values) {
        this.values = values;
        this.valuesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterConstantsSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterConstantsSerializerVer14.java30
public class OFBsnVrfCounterConstantsSerializerVer13 {

    public final static int BSN_VRF_ALL_VAL = (int) 0xffffffff;

    public static OFBsnVrfCounterConstants readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readInt());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFBsnVrfCounterConstants e) {
        bb.writeInt(toWireValue(e));
    }

    public static void putTo(OFBsnVrfCounterConstants e, PrimitiveSink sink) {
        sink.putInt(toWireValue(e));
    }

    public static OFBsnVrfCounterConstants ofWireValue(int val) {
        switch(val) {
            case BSN_VRF_ALL_VAL:
                return OFBsnVrfCounterConstants.BSN_VRF_ALL;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFBsnVrfCounterConstants in version 1.3: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsEntryVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsEntryVer14.java134
                return new OFBsnVrfCounterStatsEntryVer13(
                    vrf,
                    values
                );
        }

    }

    static class Builder implements OFBsnVrfCounterStatsEntry.Builder {
        // OF message fields
        private boolean vrfSet;
        private long vrf;
        private boolean valuesSet;
        private List<U64> values;

    @Override
    public long getVrf() {
        return vrf;
    }

    @Override
    public OFBsnVrfCounterStatsEntry.Builder setVrf(long vrf) {
        this.vrf = vrf;
        this.vrfSet = true;
        return this;
    }
    @Override
    public List<U64> getValues() {
        return values;
    }

    @Override
    public OFBsnVrfCounterStatsEntry.Builder setValues(List<U64> values) {
        this.values = values;
        this.valuesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFHelloElemTypeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFHelloElemTypeSerializerVer14.java30
public class OFHelloElemTypeSerializerVer13 {

    public final static short VERSIONBITMAP_VAL = (short) 0x1;

    public static OFHelloElemType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFHelloElemType e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFHelloElemType e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFHelloElemType ofWireValue(short val) {
        switch(val) {
            case VERSIONBITMAP_VAL:
                return OFHelloElemType.VERSIONBITMAP;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFHelloElemType in version 1.3: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java601
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java601
            bb.writeShort((short) 0x2);
            OFStatsRequestFlagsSerializerVer14.writeTo(bb, message.flags);
            // pad: 4 bytes
            bb.writeZero(4);
            message.tableId.writeByte(bb);
            // pad: 3 bytes
            bb.writeZero(3);
            message.outPort.write4Bytes(bb);
            message.outGroup.write4Bytes(bb);
            // pad: 4 bytes
            bb.writeZero(4);
            bb.writeLong(message.cookie.getValue());
            bb.writeLong(message.cookieMask.getValue());
            message.match.writeTo(bb);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFAggregateStatsRequestVer14(");
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsEntryVer14.java100
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsEntryVer14.java154
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryStatsEntry.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getStats() {
        return stats;
    }

    @Override
    public OFBsnGentableEntryStatsEntry.Builder setStats(List<OFBsnTlv> stats) {
        this.stats = stats;
        this.statsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFBsnGentableEntryStatsEntry build() {
                List<OFBsnTlv> key = this.keySet ? this.key : parentMessage.key;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java843
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java843
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java843
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java843
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java843
            sink.putShort((short) 0x0);
            sink.putInt(message.idleTimeout);
            sink.putInt(message.hardTimeout);
            sink.putInt(message.priority);
            message.bufferId.putTo(sink);
            message.outPort.putTo(sink);
            message.outGroup.putTo(sink);
            OFFlowModFlagsSerializerVer14.putTo(message.flags, sink);
            sink.putInt(message.importance);
            message.match.putTo(sink);
            FunnelUtils.putList(message.instructions, sink);
        }
    }


    public void writeTo(ChannelBuffer bb) {
        WRITER.write(bb, this);
    }

    final static Writer WRITER = new Writer();
    static class Writer implements OFMessageWriter<OFFlowAddVer14> {
FileLine
net/onrc/openvirtex/core/io/ControllerChannelHandler.java590
net/onrc/openvirtex/core/io/SwitchChannelHandler.java799
            this.sw.setConnected(false);

        }

    }

    @Override
    protected OFMessage sendHandShakeMessage(final OFType type) throws IOException {
//        final OFMessage m = BasicFactory.getInstance().getMessage(type);
//        m.setXid(this.handshakeTransactionIds--);
    	 OFMessage m=null;
    	 
         if(type == OFType.HELLO)
         {
         	m=(OFMessage) OVXFactoryInst.myFactory.buildHello().setXid(this.handshakeTransactionIds--).build();
         	this.channel.write(Collections.singletonList(m));
         }
         else if(type == OFType.FEATURES_REQUEST)
         {
         	m=(OFMessage) OVXFactoryInst.myFactory.buildFeaturesRequest().setXid(this.handshakeTransactionIds--).build();
         	this.channel.write(Collections.singletonList(m));
         }
         return m;
   
    }
FileLine
net/onrc/openvirtex/messages/ver10/OVXFlowModifyVer10.java289
net/onrc/openvirtex/messages/ver13/OVXFlowModifyVer13.java269
        return (this.flags.contains(OFFlowModFlagsSerializerVer10.ofWireValue(flagbit)));
    }

    public OVXFlowMod clone() {
        OVXFlowMod flowMod = null;
        flowMod = OVXFactoryInst.myOVXFactory.buildOVXFlowModify(this.getXid(),this.getMatch(), this.getCookie(), this.getIdleTimeout(), this.getHardTimeout(),this.getPriority(), this.getBufferId(), this.getOutPort(), this.getFlags(), this.getActions());
        return flowMod;
    }

    public Map<String, Object> toMap() {
        final Map<String, Object> map = new LinkedHashMap<String, Object>();
FileLine
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteStrictVer13.java249
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteVer13.java253
net/onrc/openvirtex/messages/ver13/OVXFlowModifyStrictVer13.java252
        if (!this.getMatch().isFullyWildcarded(MatchField.IPV4_DST)) {
            OFOxmIpv4Dst oxmIpv4Dst = new OFOxmIpv4DstVer13(IPv4Address.of(IPMapper.getPhysicalIp(sw.getTenantId(),
                    ((OFMatchV3)this.match).get(MatchField.IPV4_DST).getInt())));
            final OVXActionSetField dstAct = OVXFactoryInst.myOVXFactory.buildOVXActionSetField(oxmIpv4Dst);
            this.approvedActions.add(0, dstAct);
        }
    }

    /**
     * @param flagbit
     *            The OFFlowMod flag
     * @return true if the flag is set
     */
    public boolean hasFlag(short flagbit) {
        return (this.flags.contains(OFFlowModFlagsSerializerVer13.ofWireValue(flagbit)));
    }

    public OVXFlowMod clone() {
        OVXFlowMod flowMod = null;
        if (OVXFactoryInst.ofversion == 10) {
            flowMod = OVXFactoryInst.myOVXFactory.buildOVXFlowDeleteStrict(this.getXid(), this.getMatch(), this.getCookie(), this.getIdleTimeout(), this.getHardTimeout(), this.getPriority(), this.getBufferId(), this.getOutPort(), this.getFlags(), this.getActions());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowAddVer10.java695
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteStrictVer10.java694
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteVer10.java694
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyStrictVer10.java694
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyVer10.java694
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java753
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java753
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java753
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java753
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java753
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java753
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java753
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java753
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java753
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java753
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java797
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java793
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java792
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java793
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java791
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java768
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java768
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java768
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java768
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java768
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 14
            byte type = bb.readByte();
            if(type != (byte) 0xe)
                throw new OFParseError("Wrong type: Expected=OFType.FLOW_MOD(14), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortModVer11.java405
org/projectfloodlight/openflow/protocol/ver12/OFPortModVer12.java405
org/projectfloodlight/openflow/protocol/ver13/OFPortModVer13.java405
org/projectfloodlight/openflow/protocol/ver14/OFPortModVer14.java413
                throw new OFParseError("Wrong length: Expected=40(40), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            OFPort portNo = OFPort.read4Bytes(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            MacAddress hwAddr = MacAddress.read6Bytes(bb);
            // pad: 2 bytes
            bb.skipBytes(2);
            long config = U32.f(bb.readInt());
            long mask = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java382
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java382
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java382
                return new OFFlowRemovedVer12(
                    xid,
                    cookie,
                    priority,
                    reason,
                    tableId,
                    durationSec,
                    durationNsec,
                    idleTimeout,
                    hardTimeout,
                    packetCount,
                    byteCount,
                    match
                );
        }

    }

    static class Builder implements OFFlowRemoved.Builder {
        // OF message fields
        private boolean xidSet;
        private long xid;
        private boolean cookieSet;
        private U64 cookie;
        private boolean prioritySet;
        private int priority;
        private boolean reasonSet;
        private short reason;
        private boolean tableIdSet;
        private TableId tableId;
        private boolean durationSecSet;
        private long durationSec;
        private boolean durationNsecSet;
        private long durationNsec;
        private boolean idleTimeoutSet;
        private int idleTimeout;
        private boolean hardTimeoutSet;
        private int hardTimeout;
        private boolean packetCountSet;
        private U64 packetCount;
        private boolean byteCountSet;
        private U64 byteCount;
        private boolean matchSet;
        private Match match;

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFMatchV3Ver12.java556
org/projectfloodlight/openflow/protocol/ver13/OFHelloElemVersionbitmapVer13.java174
org/projectfloodlight/openflow/protocol/ver13/OFMatchV3Ver13.java558
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropInstructionsMissVer13.java174
org/projectfloodlight/openflow/protocol/ver14/OFHelloElemVersionbitmapVer14.java174
org/projectfloodlight/openflow/protocol/ver14/OFMatchV3Ver14.java556
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropInstructionsMissVer14.java174
        public OFMatchV3 readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x1
            short type = bb.readShort();
            if(type != (short) 0x1)
                throw new OFParseError("Wrong type: Expected=0x1(0x1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsRequestVer13.java355
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsRequestVer13.java355
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsRequestVer14.java355
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsRequestVer14.java355
        public OFBsnGentableEntryDescStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            if(!this.tableIdSet)
                throw new IllegalStateException("Property tableId doesn't have default value -- must be set");
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            U128 checksum = this.checksumSet ? this.checksum : DEFAULT_CHECKSUM;
            if(checksum == null)
                throw new NullPointerException("Property checksum must not be null");
            U128 checksumMask = this.checksumMaskSet ? this.checksumMask : DEFAULT_CHECKSUM_MASK;
            if(checksumMask == null)
                throw new NullPointerException("Property checksumMask must not be null");


            return new OFBsnGentableEntryDescStatsRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvCircuitIdVer13.java173
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropApplySetfieldVer13.java174
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvCircuitIdVer14.java173
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropApplySetfieldVer14.java174
        public OFBsnTlvCircuitId readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0xe
            short type = bb.readShort();
            if(type != (short) 0xe)
                throw new OFParseError("Wrong type: Expected=0xe(0xe), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsEntryVer13.java496
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsEntryVer14.java548
        StringBuilder b = new StringBuilder("OFQueueStatsEntryVer13(");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("queueId=").append(queueId);
        b.append(", ");
        b.append("txBytes=").append(txBytes);
        b.append(", ");
        b.append("txPackets=").append(txPackets);
        b.append(", ");
        b.append("txErrors=").append(txErrors);
        b.append(", ");
        b.append("durationSec=").append(durationSec);
        b.append(", ");
        b.append("durationNsec=").append(durationNsec);
        b.append(")");
FileLine
net/onrc/openvirtex/messages/ver10/OVXFactoryVer10.java311
net/onrc/openvirtex/messages/ver13/OVXFactoryVer13.java323
	}

	@Override
	public OVXMatch buildOVXMatchV1(int wildcards, OFPort inPort, MacAddress ethSrc, MacAddress ethDst, OFVlanVidMatch vlanVid, VlanPcp vlanPcp, EthType ethType, IpDscp ipDscp, IpProtocol ipProto, IPv4Address ipv4Src, IPv4Address ipv4Dst, TransportPort tcpSrc, TransportPort tcpDst,long cookie,byte[] pktData) {
		
		return (OVXMatch)new OVXMatch(wildcards, inPort, ethDst, ethDst, vlanVid, vlanPcp, ethType, ipDscp, ipProto, ipv4Dst, ipv4Dst, tcpDst, tcpDst,cookie,pktData);
	}


	@Override
	public OVXPortStatsRequest buildOVXPortStatsRequest(long xid, Set<OFStatsRequestFlags> flags,
			OFPort portNo) {
		
		return (OVXPortStatsRequest)new OVXPortStatsRequestVer10(xid, flags, portNo);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionEnqueueVer10.java100
org/projectfloodlight/openflow/protocol/ver10/OFActionEnqueueVer10.java157
    @Override
    public OFActionType getType() {
        return OFActionType.ENQUEUE;
    }

    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFActionEnqueue.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public long getQueueId() {
        return queueId;
    }

    @Override
    public OFActionEnqueue.Builder setQueueId(long queueId) {
        this.queueId = queueId;
        this.queueIdSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }



        @Override
        public OFActionEnqueue build() {
                OFPort port = this.portSet ? this.port : parentMessage.port;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionOutputVer10.java100
org/projectfloodlight/openflow/protocol/ver10/OFActionOutputVer10.java157
    @Override
    public OFActionType getType() {
        return OFActionType.OUTPUT;
    }

    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFActionOutput.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public int getMaxLen() {
        return maxLen;
    }

    @Override
    public OFActionOutput.Builder setMaxLen(int maxLen) {
        this.maxLen = maxLen;
        this.maxLenSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }



        @Override
        public OFActionOutput build() {
                OFPort port = this.portSet ? this.port : parentMessage.port;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFAggregateStatsRequestVer10.java399
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsRequestVer10.java399
        public OFAggregateStatsRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            Set<OFStatsRequestFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
            Match match = this.matchSet ? this.match : DEFAULT_MATCH;
            if(match == null)
                throw new NullPointerException("Property match must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            OFPort outPort = this.outPortSet ? this.outPort : DEFAULT_OUT_PORT;
            if(outPort == null)
                throw new NullPointerException("Property outPort must not be null");


            return new OFAggregateStatsRequestVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxRequestVer10.java77
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxRequestVer11.java77
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxRequestVer12.java77
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxRequestVer13.java77
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxRequestVer14.java77
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x21L;
    }

    @Override
    public long getTimeoutMs() {
        return timeoutMs;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public byte[] getData() {
        return data;
    }



    public OFBsnPduRxRequest.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnPduRxRequest.Builder {
        final OFBsnPduRxRequestVer10 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxRequestVer10.java77
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxRequestVer11.java77
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxRequestVer12.java77
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxRequestVer13.java77
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxRequestVer14.java77
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1fL;
    }

    @Override
    public long getTxIntervalMs() {
        return txIntervalMs;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public short getSlotNum() {
        return slotNum;
    }

    @Override
    public byte[] getData() {
        return data;
    }



    public OFBsnPduTxRequest.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnPduTxRequest.Builder {
        final OFBsnPduTxRequestVer10 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFErrorTypeSerializerVer10.java39
org/projectfloodlight/openflow/protocol/ver11/OFErrorTypeSerializerVer11.java44
org/projectfloodlight/openflow/protocol/ver12/OFErrorTypeSerializerVer12.java46
org/projectfloodlight/openflow/protocol/ver13/OFErrorTypeSerializerVer13.java48
org/projectfloodlight/openflow/protocol/ver14/OFErrorTypeSerializerVer14.java52
    public static OFErrorType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFErrorType e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFErrorType e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFErrorType ofWireValue(short val) {
        switch(val) {
            case HELLO_FAILED_VAL:
                return OFErrorType.HELLO_FAILED;
            case BAD_REQUEST_VAL:
                return OFErrorType.BAD_REQUEST;
            case BAD_ACTION_VAL:
                return OFErrorType.BAD_ACTION;
            case FLOW_MOD_FAILED_VAL:
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueGetConfigRequestVer10.java100
org/projectfloodlight/openflow/protocol/ver10/OFQueueGetConfigRequestVer10.java157
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.QUEUE_GET_CONFIG_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueGetConfigRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFQueueGetConfigRequest.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }


        @Override
        public OFQueueGetConfigRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsEntryVer10.java365
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsEntryVer11.java365
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsEntryVer12.java365
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsEntryVer13.java391
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsEntryVer14.java410
    }

//
        @Override
        public OFQueueStatsEntry build() {
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            long queueId = this.queueIdSet ? this.queueId : DEFAULT_QUEUE_ID;
            U64 txBytes = this.txBytesSet ? this.txBytes : DEFAULT_TX_BYTES;
            if(txBytes == null)
                throw new NullPointerException("Property txBytes must not be null");
            U64 txPackets = this.txPacketsSet ? this.txPackets : DEFAULT_TX_PACKETS;
            if(txPackets == null)
                throw new NullPointerException("Property txPackets must not be null");
            U64 txErrors = this.txErrorsSet ? this.txErrors : DEFAULT_TX_ERRORS;
            if(txErrors == null)
                throw new NullPointerException("Property txErrors must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFActionOutputVer11.java100
org/projectfloodlight/openflow/protocol/ver11/OFActionOutputVer11.java157
    @Override
    public OFActionType getType() {
        return OFActionType.OUTPUT;
    }

    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFActionOutput.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public int getMaxLen() {
        return maxLen;
    }

    @Override
    public OFActionOutput.Builder setMaxLen(int maxLen) {
        this.maxLen = maxLen;
        this.maxLenSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }



        @Override
        public OFActionOutput build() {
                OFPort port = this.portSet ? this.port : parentMessage.port;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFInstructionWriteMetadataVer11.java103
org/projectfloodlight/openflow/protocol/ver11/OFInstructionWriteMetadataVer11.java162
    @Override
    public OFInstructionType getType() {
        return OFInstructionType.WRITE_METADATA;
    }

    @Override
    public U64 getMetadata() {
        return metadata;
    }

    @Override
    public OFInstructionWriteMetadata.Builder setMetadata(U64 metadata) {
        this.metadata = metadata;
        this.metadataSet = true;
        return this;
    }
    @Override
    public U64 getMetadataMask() {
        return metadataMask;
    }

    @Override
    public OFInstructionWriteMetadata.Builder setMetadataMask(U64 metadataMask) {
        this.metadataMask = metadataMask;
        this.metadataMaskSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }



        @Override
        public OFInstructionWriteMetadata build() {
                U64 metadata = this.metadataSet ? this.metadata : parentMessage.metadata;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortStatusVer11.java256
org/projectfloodlight/openflow/protocol/ver12/OFPortStatusVer12.java256
org/projectfloodlight/openflow/protocol/ver13/OFPortStatusVer13.java256
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 12
            byte type = bb.readByte();
            if(type != (byte) 0xc)
                throw new OFParseError("Wrong type: Expected=OFType.PORT_STATUS(12), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 80)
                throw new OFParseError("Wrong length: Expected=80(80), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            OFPortReason reason = OFPortReasonSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFQueueGetConfigRequestVer11.java100
org/projectfloodlight/openflow/protocol/ver11/OFQueueGetConfigRequestVer11.java157
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.QUEUE_GET_CONFIG_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueGetConfigRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFQueueGetConfigRequest.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }


        @Override
        public OFQueueGetConfigRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFActionOutputVer12.java100
org/projectfloodlight/openflow/protocol/ver12/OFActionOutputVer12.java157
    @Override
    public OFActionType getType() {
        return OFActionType.OUTPUT;
    }

    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFActionOutput.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public int getMaxLen() {
        return maxLen;
    }

    @Override
    public OFActionOutput.Builder setMaxLen(int maxLen) {
        this.maxLen = maxLen;
        this.maxLenSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFActionOutput build() {
                OFPort port = this.portSet ? this.port : parentMessage.port;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java602
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java602
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java602
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java602
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java602
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java602
            OFStatsRequestFlagsSerializerVer12.writeTo(bb, message.flags);
            // pad: 4 bytes
            bb.writeZero(4);
            message.tableId.writeByte(bb);
            // pad: 3 bytes
            bb.writeZero(3);
            message.outPort.write4Bytes(bb);
            message.outGroup.write4Bytes(bb);
            // pad: 4 bytes
            bb.writeZero(4);
            bb.writeLong(message.cookie.getValue());
            bb.writeLong(message.cookieMask.getValue());
            message.match.writeTo(bb);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFAggregateStatsRequestVer12(");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFInstructionWriteMetadataVer12.java103
org/projectfloodlight/openflow/protocol/ver12/OFInstructionWriteMetadataVer12.java162
    @Override
    public OFInstructionType getType() {
        return OFInstructionType.WRITE_METADATA;
    }

    @Override
    public U64 getMetadata() {
        return metadata;
    }

    @Override
    public OFInstructionWriteMetadata.Builder setMetadata(U64 metadata) {
        this.metadata = metadata;
        this.metadataSet = true;
        return this;
    }
    @Override
    public U64 getMetadataMask() {
        return metadataMask;
    }

    @Override
    public OFInstructionWriteMetadata.Builder setMetadataMask(U64 metadataMask) {
        this.metadataMask = metadataMask;
        this.metadataMaskSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFInstructionWriteMetadata build() {
                U64 metadata = this.metadataSet ? this.metadata : parentMessage.metadata;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFQueueGetConfigRequestVer12.java100
org/projectfloodlight/openflow/protocol/ver12/OFQueueGetConfigRequestVer12.java157
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.QUEUE_GET_CONFIG_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueGetConfigRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFQueueGetConfigRequest.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }


        @Override
        public OFQueueGetConfigRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleReplyVer12.java256
org/projectfloodlight/openflow/protocol/ver13/OFRoleReplyVer13.java256
org/projectfloodlight/openflow/protocol/ver14/OFRoleReplyVer14.java256
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 25
            byte type = bb.readByte();
            if(type != (byte) 0x19)
                throw new OFParseError("Wrong type: Expected=OFType.ROLE_REPLY(25), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            OFControllerRole role = OFControllerRoleSerializerVer12.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleReplyVer12.java260
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestVer12.java260
                throw new OFParseError("Wrong type: Expected=OFType.ROLE_REPLY(25), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            OFControllerRole role = OFControllerRoleSerializerVer12.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            U64 generationId = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestVer12.java256
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestVer13.java256
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestVer14.java256
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_12(3), got="+version);
            // fixed value property type == 24
            byte type = bb.readByte();
            if(type != (byte) 0x18)
                throw new OFParseError("Wrong type: Expected=OFType.ROLE_REQUEST(24), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            OFControllerRole role = OFControllerRoleSerializerVer12.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionOutputVer13.java100
org/projectfloodlight/openflow/protocol/ver13/OFActionOutputVer13.java157
    @Override
    public OFActionType getType() {
        return OFActionType.OUTPUT;
    }

    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFActionOutput.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public int getMaxLen() {
        return maxLen;
    }

    @Override
    public OFActionOutput.Builder setMaxLen(int maxLen) {
        this.maxLen = maxLen;
        this.maxLenSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFActionOutput build() {
                OFPort port = this.portSet ? this.port : parentMessage.port;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFAsyncGetReplyVer13.java497
org/projectfloodlight/openflow/protocol/ver13/OFAsyncGetRequestVer13.java497
org/projectfloodlight/openflow/protocol/ver13/OFAsyncSetVer13.java497
            bb.writeByte((byte) 0x1b);
            // fixed value property length = 32
            bb.writeShort((short) 0x20);
            bb.writeInt(U32.t(message.xid));
            bb.writeInt(U32.t(message.packetInMaskEqualMaster));
            bb.writeInt(U32.t(message.packetInMaskSlave));
            bb.writeInt(U32.t(message.portStatusMaskEqualMaster));
            bb.writeInt(U32.t(message.portStatusMaskSlave));
            bb.writeInt(U32.t(message.flowRemovedMaskEqualMaster));
            bb.writeInt(U32.t(message.flowRemovedMaskSlave));


        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFAsyncGetReplyVer13(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsRequestVer13.java268
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsRequestVer13.java268
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsRequestVer13.java313
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsRequestVer13.java360
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsRequestVer13.java309
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsRequestVer13.java268
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsRequestVer13.java399
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsRequestVer13.java399
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsRequestVer13.java268
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsRequestVer13.java268
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsRequestVer13.java268
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsRequestVer13.java313
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsRequestVer13.java268
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsRequestVer13.java268
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsRequestVer13.java306
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsRequestVer13.java306
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsRequestVer13.java524
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsRequestVer13.java268
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsRequestVer13.java313
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortsRequestVer13.java268
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsRequestFlags> flags = OFStatsRequestFlagsSerializerVer13.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsReplyVer13.java358
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsReplyVer13.java353
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsReplyVer13.java315
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsReplyVer13.java353
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortsReplyVer13.java315
                throw new OFParseError("Wrong length: Expected=536(536), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
                throw new OFParseError("Wrong statsType: Expected=OFStatsType.EXPERIMENTER(65535), got="+statsType);
            Set<OFStatsReplyFlags> flags = OFStatsReplyFlagsSerializerVer13.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionWriteMetadataVer13.java103
org/projectfloodlight/openflow/protocol/ver13/OFInstructionWriteMetadataVer13.java162
    @Override
    public OFInstructionType getType() {
        return OFInstructionType.WRITE_METADATA;
    }

    @Override
    public U64 getMetadata() {
        return metadata;
    }

    @Override
    public OFInstructionWriteMetadata.Builder setMetadata(U64 metadata) {
        this.metadata = metadata;
        this.metadataSet = true;
        return this;
    }
    @Override
    public U64 getMetadataMask() {
        return metadataMask;
    }

    @Override
    public OFInstructionWriteMetadata.Builder setMetadataMask(U64 metadataMask) {
        this.metadataMask = metadataMask;
        this.metadataMaskSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFInstructionWriteMetadata build() {
                U64 metadata = this.metadataSet ? this.metadata : parentMessage.metadata;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFQueueGetConfigRequestVer13.java100
org/projectfloodlight/openflow/protocol/ver13/OFQueueGetConfigRequestVer13.java157
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.QUEUE_GET_CONFIG_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueGetConfigRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFQueueGetConfigRequest.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }


        @Override
        public OFQueueGetConfigRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFRoleReplyVer13.java260
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestVer13.java260
                throw new OFParseError("Wrong type: Expected=OFType.ROLE_REPLY(25), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            OFControllerRole role = OFControllerRoleSerializerVer13.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            U64 generationId = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFActionOutputVer14.java100
org/projectfloodlight/openflow/protocol/ver14/OFActionOutputVer14.java157
    @Override
    public OFActionType getType() {
        return OFActionType.OUTPUT;
    }

    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFActionOutput.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public int getMaxLen() {
        return maxLen;
    }

    @Override
    public OFActionOutput.Builder setMaxLen(int maxLen) {
        this.maxLen = maxLen;
        this.maxLenSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFActionOutput build() {
                OFPort port = this.portSet ? this.port : parentMessage.port;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFInstructionWriteMetadataVer14.java103
org/projectfloodlight/openflow/protocol/ver14/OFInstructionWriteMetadataVer14.java162
    @Override
    public OFInstructionType getType() {
        return OFInstructionType.WRITE_METADATA;
    }

    @Override
    public U64 getMetadata() {
        return metadata;
    }

    @Override
    public OFInstructionWriteMetadata.Builder setMetadata(U64 metadata) {
        this.metadata = metadata;
        this.metadataSet = true;
        return this;
    }
    @Override
    public U64 getMetadataMask() {
        return metadataMask;
    }

    @Override
    public OFInstructionWriteMetadata.Builder setMetadataMask(U64 metadataMask) {
        this.metadataMask = metadataMask;
        this.metadataMaskSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFInstructionWriteMetadata build() {
                U64 metadata = this.metadataSet ? this.metadata : parentMessage.metadata;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFRoleReplyVer14.java260
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestVer14.java260
                throw new OFParseError("Wrong type: Expected=OFType.ROLE_REPLY(25), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 24)
                throw new OFParseError("Wrong length: Expected=24(24), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            OFControllerRole role = OFControllerRoleSerializerVer14.readFrom(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            U64 generationId = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/OFFlowAdd.java30
org/projectfloodlight/openflow/protocol/OFFlowDelete.java30
org/projectfloodlight/openflow/protocol/OFFlowDeleteStrict.java30
org/projectfloodlight/openflow/protocol/OFFlowModify.java30
org/projectfloodlight/openflow/protocol/OFFlowModifyStrict.java30
public interface OFFlowAdd extends OFObject, OFFlowMod {
    OFVersion getVersion();
    OFType getType();
    long getXid();
    U64 getCookie();
    U64 getCookieMask() throws UnsupportedOperationException;
    TableId getTableId() throws UnsupportedOperationException;
    OFFlowModCommand getCommand();
    int getIdleTimeout();
    int getHardTimeout();
    int getPriority();
    OFBufferId getBufferId();
    OFPort getOutPort();
    OFGroup getOutGroup() throws UnsupportedOperationException;
    Set<OFFlowModFlags> getFlags();
    Match getMatch();
    List<OFInstruction> getInstructions() throws UnsupportedOperationException;
    List<OFAction> getActions() throws UnsupportedOperationException;
    int getImportance() throws UnsupportedOperationException;


    void writeTo(ChannelBuffer channelBuffer);

    Builder createBuilder();
    public interface Builder extends OFFlowMod.Builder {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnInterfaceVer10.java351
org/projectfloodlight/openflow/protocol/ver11/OFBsnInterfaceVer11.java351
org/projectfloodlight/openflow/protocol/ver12/OFBsnInterfaceVer12.java351
org/projectfloodlight/openflow/protocol/ver13/OFBsnInterfaceVer13.java351
org/projectfloodlight/openflow/protocol/ver14/OFBsnInterfaceVer14.java351
        StringBuilder b = new StringBuilder("OFBsnInterfaceVer10(");
        b.append("hwAddr=").append(hwAddr);
        b.append(", ");
        b.append("name=").append(name);
        b.append(", ");
        b.append("ipv4Addr=").append(ipv4Addr);
        b.append(", ");
        b.append("ipv4Netmask=").append(ipv4Netmask);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxReplyVer10.java417
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxReplyVer10.java417
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxReplyVer11.java417
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxReplyVer11.java417
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxReplyVer12.java417
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxReplyVer12.java417
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxReplyVer13.java417
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxReplyVer13.java417
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxReplyVer14.java417
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxReplyVer14.java417
        StringBuilder b = new StringBuilder("OFBsnPduRxReplyVer10(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("status=").append(status);
        b.append(", ");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("slotNum=").append(slotNum);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFEchoReplyVer10.java220
org/projectfloodlight/openflow/protocol/ver10/OFEchoRequestVer10.java220
org/projectfloodlight/openflow/protocol/ver11/OFEchoReplyVer11.java220
org/projectfloodlight/openflow/protocol/ver11/OFEchoRequestVer11.java220
org/projectfloodlight/openflow/protocol/ver12/OFEchoReplyVer12.java220
org/projectfloodlight/openflow/protocol/ver12/OFEchoRequestVer12.java220
org/projectfloodlight/openflow/protocol/ver13/OFEchoReplyVer13.java220
org/projectfloodlight/openflow/protocol/ver13/OFEchoRequestVer13.java220
org/projectfloodlight/openflow/protocol/ver14/OFEchoReplyVer14.java220
org/projectfloodlight/openflow/protocol/ver14/OFEchoRequestVer14.java220
                throw new OFParseError("Wrong type: Expected=OFType.ECHO_REPLY(3), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            byte[] data = ChannelUtils.readBytes(bb, length - (bb.readerIndex() - start));
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowRemovedReasonSerializerVer10.java36
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedReasonSerializerVer11.java37
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedReasonSerializerVer12.java37
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedReasonSerializerVer13.java37
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedReasonSerializerVer14.java39
    public static OFFlowRemovedReason readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFFlowRemovedReason e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFFlowRemovedReason e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFFlowRemovedReason ofWireValue(byte val) {
        switch(val) {
            case IDLE_TIMEOUT_VAL:
                return OFFlowRemovedReason.IDLE_TIMEOUT;
            case HARD_TIMEOUT_VAL:
                return OFFlowRemovedReason.HARD_TIMEOUT;
            case DELETE_VAL:
                return OFFlowRemovedReason.DELETE;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowRemovedVer10.java261
org/projectfloodlight/openflow/protocol/ver10/OFFlowRemovedVer10.java462
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java276
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java491
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java276
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java491
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java276
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java491
    }
    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationSec(long durationSec) {
        this.durationSec = durationSec;
        this.durationSecSet = true;
        return this;
    }
    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public OFFlowRemoved.Builder setDurationNsec(long durationNsec) {
        this.durationNsec = durationNsec;
        this.durationNsecSet = true;
        return this;
    }
    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public OFFlowRemoved.Builder setIdleTimeout(int idleTimeout) {
        this.idleTimeout = idleTimeout;
        this.idleTimeoutSet = true;
        return this;
    }
    @Override
    public int getHardTimeout()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java880
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java880
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java880
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsPropEthernetVer14.java389
        b.append(", ");
        b.append("rxFrameErr=").append(rxFrameErr);
        b.append(", ");
        b.append("rxOverErr=").append(rxOverErr);
        b.append(", ");
        b.append("rxCrcErr=").append(rxCrcErr);
        b.append(", ");
        b.append("collisions=").append(collisions);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsRequestVer10.java407
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsRequestVer11.java407
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsRequestVer12.java407
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsRequestVer13.java407
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsRequestVer14.java407
        StringBuilder b = new StringBuilder("OFQueueStatsRequestVer10(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("flags=").append(flags);
        b.append(", ");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("queueId=").append(queueId);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFStatsReplyFlagsSerializerVer10.java38
org/projectfloodlight/openflow/protocol/ver11/OFStatsReplyFlagsSerializerVer11.java38
org/projectfloodlight/openflow/protocol/ver12/OFStatsReplyFlagsSerializerVer12.java38
org/projectfloodlight/openflow/protocol/ver13/OFStatsReplyFlagsSerializerVer13.java38
org/projectfloodlight/openflow/protocol/ver14/OFStatsReplyFlagsSerializerVer14.java38
    public static Set<OFStatsReplyFlags> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFStatsReplyFlags> set) {
        bb.writeShort(toWireValue(set));
    }

    public static void putTo(Set<OFStatsReplyFlags> set, PrimitiveSink sink) {
        sink.putShort(toWireValue(set));
    }


    public static Set<OFStatsReplyFlags> ofWireValue(short val) {
        EnumSet<OFStatsReplyFlags> set = EnumSet.noneOf(OFStatsReplyFlags.class);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFStatsRequestFlagsSerializerVer10.java37
org/projectfloodlight/openflow/protocol/ver11/OFStatsRequestFlagsSerializerVer11.java37
org/projectfloodlight/openflow/protocol/ver12/OFStatsRequestFlagsSerializerVer12.java37
org/projectfloodlight/openflow/protocol/ver13/OFStatsRequestFlagsSerializerVer13.java38
org/projectfloodlight/openflow/protocol/ver14/OFStatsRequestFlagsSerializerVer14.java38
    public static Set<OFStatsRequestFlags> readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, Set<OFStatsRequestFlags> set) {
        bb.writeShort(toWireValue(set));
    }

    public static void putTo(Set<OFStatsRequestFlags> set, PrimitiveSink sink) {
        sink.putShort(toWireValue(set));
    }


    public static Set<OFStatsRequestFlags> ofWireValue(short val) {
        EnumSet<OFStatsRequestFlags> set = EnumSet.noneOf(OFStatsRequestFlags.class);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBucketVer11.java366
org/projectfloodlight/openflow/protocol/ver12/OFBucketVer12.java366
org/projectfloodlight/openflow/protocol/ver13/OFBucketVer13.java366
org/projectfloodlight/openflow/protocol/ver14/OFBucketVer14.java366
        StringBuilder b = new StringBuilder("OFBucketVer11(");
        b.append("weight=").append(weight);
        b.append(", ");
        b.append("watchPort=").append(watchPort);
        b.append(", ");
        b.append("watchGroup=").append(watchGroup);
        b.append(", ");
        b.append("actions=").append(actions);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFeaturesReplyVer11.java40
org/projectfloodlight/openflow/protocol/ver12/OFFeaturesReplyVer12.java40
    final static int MINIMUM_LENGTH = 32;

        private final static long DEFAULT_XID = 0x0L;
        private final static DatapathId DEFAULT_DATAPATH_ID = DatapathId.NONE;
        private final static long DEFAULT_N_BUFFERS = 0x0L;
        private final static short DEFAULT_N_TABLES = (short) 0x0;
        private final static Set<OFCapabilities> DEFAULT_CAPABILITIES = ImmutableSet.<OFCapabilities>of();
        private final static long DEFAULT_RESERVED = 0x0L;
        private final static List<OFPortDesc> DEFAULT_PORTS = ImmutableList.<OFPortDesc>of();

    // OF message fields
    private final long xid;
    private final DatapathId datapathId;
    private final long nBuffers;
    private final short nTables;
    private final Set<OFCapabilities> capabilities;
    private final long reserved;
    private final List<OFPortDesc> ports;
//
    // Immutable default instance
    final static OFFeaturesReplyVer11 DEFAULT = new OFFeaturesReplyVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupAddVer11.java416
org/projectfloodlight/openflow/protocol/ver11/OFGroupDeleteVer11.java416
org/projectfloodlight/openflow/protocol/ver11/OFGroupModifyVer11.java416
org/projectfloodlight/openflow/protocol/ver12/OFGroupAddVer12.java416
org/projectfloodlight/openflow/protocol/ver12/OFGroupDeleteVer12.java416
org/projectfloodlight/openflow/protocol/ver12/OFGroupModifyVer12.java416
org/projectfloodlight/openflow/protocol/ver13/OFGroupAddVer13.java416
org/projectfloodlight/openflow/protocol/ver13/OFGroupDeleteVer13.java416
org/projectfloodlight/openflow/protocol/ver13/OFGroupModifyVer13.java416
org/projectfloodlight/openflow/protocol/ver14/OFGroupAddVer14.java416
org/projectfloodlight/openflow/protocol/ver14/OFGroupDeleteVer14.java416
org/projectfloodlight/openflow/protocol/ver14/OFGroupModifyVer14.java416
        StringBuilder b = new StringBuilder("OFGroupAddVer11(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("groupType=").append(groupType);
        b.append(", ");
        b.append("group=").append(group);
        b.append(", ");
        b.append("buckets=").append(buckets);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFNiciraHeaderVer11.java45
org/projectfloodlight/openflow/protocol/ver12/OFNiciraHeaderVer12.java45
org/projectfloodlight/openflow/protocol/ver13/OFNiciraHeaderVer13.java45
org/projectfloodlight/openflow/protocol/ver14/OFNiciraHeaderVer14.java45
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property experimenter == 0x2320L
            int experimenter = bb.readInt();
            if(experimenter != 0x2320)
                throw new OFParseError("Wrong experimenter: Expected=0x2320L(0x2320L), got="+experimenter);
            int subtype = bb.readInt();
            bb.readerIndex(start);
            switch(subtype) {
               default:
                   throw new OFParseError("Unknown value for discriminator subtype of class OFNiciraHeaderVer11: " + subtype);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFExperimenterErrorMsgVer12.java399
org/projectfloodlight/openflow/protocol/ver13/OFExperimenterErrorMsgVer13.java399
org/projectfloodlight/openflow/protocol/ver14/OFExperimenterErrorMsgVer14.java399
        StringBuilder b = new StringBuilder("OFExperimenterErrorMsgVer12(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("subtype=").append(subtype);
        b.append(", ");
        b.append("experimenter=").append(experimenter);
        b.append(", ");
        b.append("data=").append(data);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPacketInReasonSerializerVer12.java36
org/projectfloodlight/openflow/protocol/ver13/OFPacketInReasonSerializerVer13.java50
org/projectfloodlight/openflow/protocol/ver14/OFPacketInReasonSerializerVer14.java53
    public static OFPacketInReason readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFPacketInReason e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFPacketInReason e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFPacketInReason ofWireValue(byte val) {
        switch(val) {
            case NO_MATCH_VAL:
                return OFPacketInReason.NO_MATCH;
            case ACTION_VAL:
                return OFPacketInReason.ACTION;
            case INVALID_TTL_VAL:
                return OFPacketInReason.INVALID_TTL;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionVer13.java347
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionVer14.java347
        StringBuilder b = new StringBuilder("OFBsnControllerConnectionVer13(");
        b.append("state=").append(state);
        b.append(", ");
        b.append("auxiliaryId=").append(auxiliaryId);
        b.append(", ");
        b.append("role=").append(role);
        b.append(", ");
        b.append("uri=").append(uri);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsRequestVer13.java467
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsRequestVer14.java467
        StringBuilder b = new StringBuilder("OFBsnGenericStatsRequestVer13(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("flags=").append(flags);
        b.append(", ");
        b.append("name=").append(name);
        b.append(", ");
        b.append("tlvs=").append(tlvs);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearReplyVer13.java418
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearReplyVer14.java418
        StringBuilder b = new StringBuilder("OFBsnGentableClearReplyVer13(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("deletedCount=").append(deletedCount);
        b.append(", ");
        b.append("errorCount=").append(errorCount);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearRequestVer13.java432
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearRequestVer14.java432
        StringBuilder b = new StringBuilder("OFBsnGentableClearRequestVer13(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("checksum=").append(checksum);
        b.append(", ");
        b.append("checksumMask=").append(checksumMask);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsEntryVer13.java348
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsEntryVer14.java348
        StringBuilder b = new StringBuilder("OFBsnGentableDescStatsEntryVer13(");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("name=").append(name);
        b.append(", ");
        b.append("bucketsSize=").append(bucketsSize);
        b.append(", ");
        b.append("maxEntries=").append(maxEntries);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsReplyVer13.java460
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsReplyVer14.java460
        StringBuilder b = new StringBuilder("OFBsnImageDescStatsReplyVer13(");
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("flags=").append(flags);
        b.append(", ");
        b.append("imageChecksum=").append(imageChecksum);
        b.append(", ");
        b.append("startupConfigChecksum=").append(startupConfigChecksum);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsEntryVer13.java620
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsEntryVer14.java620
        StringBuilder b = new StringBuilder("OFTableStatsEntryVer13(");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("activeCount=").append(activeCount);
        b.append(", ");
        b.append("lookupCount=").append(lookupCount);
        b.append(", ");
        b.append("matchedCount=").append(matchedCount);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/OFAggregateStatsRequest.java47
org/projectfloodlight/openflow/protocol/OFFlowStatsRequest.java47
        OFAggregateStatsRequest build();
        OFVersion getVersion();
        OFType getType();
        long getXid();
        Builder setXid(long xid);
        OFStatsType getStatsType();
        Set<OFStatsRequestFlags> getFlags();
        Builder setFlags(Set<OFStatsRequestFlags> flags);
        TableId getTableId();
        Builder setTableId(TableId tableId);
        OFPort getOutPort();
        Builder setOutPort(OFPort outPort);
        OFGroup getOutGroup() throws UnsupportedOperationException;
        Builder setOutGroup(OFGroup outGroup) throws UnsupportedOperationException;
        U64 getCookie() throws UnsupportedOperationException;
        Builder setCookie(U64 cookie) throws UnsupportedOperationException;
        U64 getCookieMask() throws UnsupportedOperationException;
        Builder setCookieMask(U64 cookieMask) throws UnsupportedOperationException;
        Match getMatch();
        Builder setMatch(Match match);
    }
}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnInterfaceVer10.java171
org/projectfloodlight/openflow/protocol/ver11/OFBsnInterfaceVer11.java171
org/projectfloodlight/openflow/protocol/ver12/OFBsnInterfaceVer12.java171
org/projectfloodlight/openflow/protocol/ver13/OFBsnInterfaceVer13.java171
org/projectfloodlight/openflow/protocol/ver14/OFBsnInterfaceVer14.java171
    }



        @Override
        public OFBsnInterface build() {
                MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : parentMessage.hwAddr;
                if(hwAddr == null)
                    throw new NullPointerException("Property hwAddr must not be null");
                String name = this.nameSet ? this.name : parentMessage.name;
                if(name == null)
                    throw new NullPointerException("Property name must not be null");
                IPv4Address ipv4Addr = this.ipv4AddrSet ? this.ipv4Addr : parentMessage.ipv4Addr;
                if(ipv4Addr == null)
                    throw new NullPointerException("Property ipv4Addr must not be null");
                IPv4Address ipv4Netmask = this.ipv4NetmaskSet ? this.ipv4Netmask : parentMessage.ipv4Netmask;
                if(ipv4Netmask == null)
                    throw new NullPointerException("Property ipv4Netmask must not be null");

                //
                return new OFBsnInterfaceVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPacketInVer11.java525
org/projectfloodlight/openflow/protocol/ver11/OFPacketOutVer11.java357
org/projectfloodlight/openflow/protocol/ver12/OFPacketOutVer12.java357
org/projectfloodlight/openflow/protocol/ver13/OFPacketOutVer13.java357
org/projectfloodlight/openflow/protocol/ver14/OFPacketOutVer14.java357
                throw new OFParseError("Wrong type: Expected=OFType.PACKET_IN(10), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            OFBufferId bufferId = OFBufferId.of(bb.readInt());
            OFPort inPort = OFPort.read4Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPacketInVer12.java286
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java296
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java296
    }


        @Override
        public OFPacketIn build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFBufferId bufferId = this.bufferIdSet ? this.bufferId : parentMessage.bufferId;
                if(bufferId == null)
                    throw new NullPointerException("Property bufferId must not be null");
                int totalLen = this.totalLenSet ? this.totalLen : parentMessage.totalLen;
                OFPacketInReason reason = this.reasonSet ? this.reason : parentMessage.reason;
                if(reason == null)
                    throw new NullPointerException("Property reason must not be null");
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdCopyTtlInVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFActionIdCopyTtlOutVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFActionIdDecMplsTtlVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFActionIdDecNwTtlVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFActionIdGroupVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFActionIdOutputVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFActionIdPopMplsVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFActionIdPopPbbVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFActionIdPopVlanVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFActionIdPushMplsVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFActionIdPushPbbVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFActionIdPushVlanVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFActionIdSetFieldVer13.java79
org/projectfloodlight/openflow/protocol/ver13/OFActionIdSetMplsTtlVer13.java79
org/projectfloodlight/openflow/protocol/ver13/OFActionIdSetNwTtlVer13.java79
org/projectfloodlight/openflow/protocol/ver13/OFActionIdSetQueueVer13.java79
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvIdleNotificationVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvSetLoopbackModeVer13.java79
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvStripMplsL2OnIngressVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvStripMplsL3OnIngressVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvStripVlanOnEgressVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdApplyActionsVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdClearActionsVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdGotoTableVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdMeterVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdWriteActionsVer13.java78
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdWriteMetadataVer13.java78
org/projectfloodlight/openflow/protocol/ver14/OFActionIdCopyTtlInVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFActionIdCopyTtlOutVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFActionIdDecMplsTtlVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFActionIdDecNwTtlVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFActionIdGroupVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFActionIdOutputVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFActionIdPopMplsVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFActionIdPopPbbVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFActionIdPopVlanVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFActionIdPushMplsVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFActionIdPushPbbVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFActionIdPushVlanVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFActionIdSetFieldVer14.java79
org/projectfloodlight/openflow/protocol/ver14/OFActionIdSetMplsTtlVer14.java79
org/projectfloodlight/openflow/protocol/ver14/OFActionIdSetNwTtlVer14.java79
org/projectfloodlight/openflow/protocol/ver14/OFActionIdSetQueueVer14.java79
org/projectfloodlight/openflow/protocol/ver14/OFAsyncConfigPropExperimenterMasterVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFAsyncConfigPropExperimenterSlaveVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvIdleNotificationVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvSetLoopbackModeVer14.java79
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvStripMplsL2OnIngressVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvStripMplsL3OnIngressVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvStripVlanOnEgressVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdApplyActionsVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdClearActionsVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdGotoTableVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdMeterVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdWriteActionsVer14.java78
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdWriteMetadataVer14.java78
                throw new OFParseError("Wrong type: Expected=OFActionType.COPY_TTL_IN(12), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 4)
                throw new OFParseError("Wrong length: Expected=4(4), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);

            if(logger.isTraceEnabled())
                logger.trace("readFrom - returning shared instance={}", INSTANCE);
            return INSTANCE;
        }
    }

    public void putTo(PrimitiveSink sink) {
        FUNNEL.funnel(this, sink);
    }

    final static OFActionIdCopyTtlInVer13Funnel FUNNEL = new OFActionIdCopyTtlInVer13Funnel();
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionVer13.java165
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionVer14.java165
    }



        @Override
        public OFBsnControllerConnection build() {
                OFBsnControllerConnectionState state = this.stateSet ? this.state : parentMessage.state;
                if(state == null)
                    throw new NullPointerException("Property state must not be null");
                OFAuxId auxiliaryId = this.auxiliaryIdSet ? this.auxiliaryId : parentMessage.auxiliaryId;
                if(auxiliaryId == null)
                    throw new NullPointerException("Property auxiliaryId must not be null");
                OFControllerRole role = this.roleSet ? this.role : parentMessage.role;
                if(role == null)
                    throw new NullPointerException("Property role must not be null");
                String uri = this.uriSet ? this.uri : parentMessage.uri;
                if(uri == null)
                    throw new NullPointerException("Property uri must not be null");

                //
                return new OFBsnControllerConnectionVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleVer13.java79
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleVer14.java79
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x28L;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public Match getMatch() {
        return match;
    }



    public OFBsnFlowIdle.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnFlowIdle.Builder {
        final OFBsnFlowIdleVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvBroadcastQueryTimeoutVer13.java165
org/projectfloodlight/openflow/protocol/ver14/OFAsyncConfigPropRequestforwardSlaveVer14.java165
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvBroadcastQueryTimeoutVer14.java165
        public OFBsnTlvBroadcastQueryTimeout readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0xa
            short type = bb.readShort();
            if(type != (short) 0xa)
                throw new OFParseError("Wrong type: Expected=0xa(0xa), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long value = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvIdleTimeoutVer13.java165
org/projectfloodlight/openflow/protocol/ver14/OFAsyncConfigPropTableStatusSlaveVer14.java165
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvIdleTimeoutVer14.java165
        public OFBsnTlvIdleTimeout readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x8
            short type = bb.readShort();
            if(type != (short) 0x8)
                throw new OFParseError("Wrong type: Expected=0x8(0x8), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long value = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvUnicastQueryTimeoutVer13.java165
org/projectfloodlight/openflow/protocol/ver14/OFAsyncConfigPropTableStatusMasterVer14.java165
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvUnicastQueryTimeoutVer14.java165
        public OFBsnTlvUnicastQueryTimeout readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x9
            short type = bb.readShort();
            if(type != (short) 0x9)
                throw new OFParseError("Wrong type: Expected=0x9(0x9), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long value = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java731
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java628
        public OFCalientFlowStatsEntry build() {
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
            long durationSec = this.durationSecSet ? this.durationSec : DEFAULT_DURATION_SEC;
            long durationNsec = this.durationNsecSet ? this.durationNsec : DEFAULT_DURATION_NSEC;
            int priority = this.prioritySet ? this.priority : DEFAULT_PRIORITY;
            int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : DEFAULT_IDLE_TIMEOUT;
            int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : DEFAULT_HARD_TIMEOUT;
            Set<OFFlowModFlags> flags = this.flagsSet ? this.flags : DEFAULT_FLAGS;
            if(flags == null)
                throw new NullPointerException("Property flags must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandDropVer13.java97
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandDropVer13.java152
    @Override
    public int getType() {
        return 0x1;
    }

    @Override
    public long getRate() {
        return rate;
    }

    @Override
    public OFMeterBandDrop.Builder setRate(long rate) {
        this.rate = rate;
        this.rateSet = true;
        return this;
    }
    @Override
    public long getBurstSize() {
        return burstSize;
    }

    @Override
    public OFMeterBandDrop.Builder setBurstSize(long burstSize) {
        this.burstSize = burstSize;
        this.burstSizeSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFMeterBandDrop build() {
                long rate = this.rateSet ? this.rate : parentMessage.rate;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFAsyncConfigPropPacketInSlaveVer14.java165
org/projectfloodlight/openflow/protocol/ver14/OFPortModPropEthernetVer14.java165
        public OFAsyncConfigPropPacketInSlave readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x0
            short type = bb.readShort();
            if(type != (short) 0x0)
                throw new OFParseError("Wrong type: Expected=0x0(0x0), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long mask = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandDropVer14.java97
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandDropVer14.java152
    @Override
    public int getType() {
        return 0x1;
    }

    @Override
    public long getRate() {
        return rate;
    }

    @Override
    public OFMeterBandDrop.Builder setRate(long rate) {
        this.rate = rate;
        this.rateSet = true;
        return this;
    }
    @Override
    public long getBurstSize() {
        return burstSize;
    }

    @Override
    public OFMeterBandDrop.Builder setBurstSize(long burstSize) {
        this.burstSize = burstSize;
        this.burstSizeSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFMeterBandDrop build() {
                long rate = this.rateSet ? this.rate : parentMessage.rate;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnHeaderVer10.java46
org/projectfloodlight/openflow/protocol/ver11/OFBsnHeaderVer11.java46
org/projectfloodlight/openflow/protocol/ver12/OFBsnHeaderVer12.java46
org/projectfloodlight/openflow/protocol/ver13/OFBsnHeaderVer13.java46
org/projectfloodlight/openflow/protocol/ver14/OFBsnHeaderVer14.java46
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            int subtype = bb.readInt();
            bb.readerIndex(start);
            switch(subtype) {
               case 0x16:
                   // discriminator value 0x16L=0x16L for class OFBsnBwClearDataReplyVer10
                   return OFBsnBwClearDataReplyVer10.READER.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportQInQVer10.java362
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportQInQVer11.java362
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportQInQVer12.java362
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportQInQVer13.java362
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportQInQVer14.java362
org/projectfloodlight/openflow/protocol/ver14/OFPortDescPropEthernetVer14.java355
        public OFBsnVportQInQ readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x0
            short type = bb.readShort();
            if(type != (short) 0x0)
                throw new OFParseError("Wrong type: Expected=0x0(0x0), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 32)
                throw new OFParseError("Wrong length: Expected=32(32), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportQInQVer10.java429
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportQInQVer11.java429
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportQInQVer12.java429
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportQInQVer13.java429
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportQInQVer14.java429
        public void write(ChannelBuffer bb, OFBsnVportQInQVer10 message) {
            // fixed value property type = 0x0
            bb.writeShort((short) 0x0);
            // fixed value property length = 32
            bb.writeShort((short) 0x20);
            bb.writeInt(U32.t(message.portNo));
            bb.writeShort(U16.t(message.ingressTpid));
            bb.writeShort(U16.t(message.ingressVlanId));
            bb.writeShort(U16.t(message.egressTpid));
            bb.writeShort(U16.t(message.egressVlanId));
            ChannelUtils.writeFixedLengthString(bb, message.ifName, 16);


        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFBsnVportQInQVer10(");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFeaturesRequestVer10.java170
org/projectfloodlight/openflow/protocol/ver11/OFFeaturesRequestVer11.java170
org/projectfloodlight/openflow/protocol/ver12/OFFeaturesRequestVer12.java170
org/projectfloodlight/openflow/protocol/ver13/OFFeaturesRequestVer13.java170
org/projectfloodlight/openflow/protocol/ver14/OFFeaturesRequestVer14.java170
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 5
            byte type = bb.readByte();
            if(type != (byte) 0x5)
                throw new OFParseError("Wrong type: Expected=OFType.FEATURES_REQUEST(5), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowAddVer10.java794
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteStrictVer10.java793
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteVer10.java793
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyStrictVer10.java793
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyVer10.java793
            bb.writeShort((short) 0x0);
            bb.writeShort(U16.t(message.idleTimeout));
            bb.writeShort(U16.t(message.hardTimeout));
            bb.writeShort(U16.t(message.priority));
            bb.writeInt(message.bufferId.getInt());
            message.outPort.write2Bytes(bb);
            OFFlowModFlagsSerializerVer10.writeTo(bb, message.flags);
            ChannelUtils.writeList(bb, message.actions);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFFlowAddVer10(");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFGetConfigReplyVer10.java258
org/projectfloodlight/openflow/protocol/ver10/OFSetConfigVer10.java258
                throw new OFParseError("Wrong type: Expected=OFType.GET_CONFIG_REPLY(8), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            Set<OFConfigFlags> flags = OFConfigFlagsSerializerVer10.readFrom(bb);
            int missSendLen = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFGetConfigRequestVer10.java170
org/projectfloodlight/openflow/protocol/ver11/OFGetConfigRequestVer11.java170
org/projectfloodlight/openflow/protocol/ver12/OFGetConfigRequestVer12.java170
org/projectfloodlight/openflow/protocol/ver13/OFGetConfigRequestVer13.java170
org/projectfloodlight/openflow/protocol/ver14/OFGetConfigRequestVer14.java170
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 7
            byte type = bb.readByte();
            if(type != (byte) 0x7)
                throw new OFParseError("Wrong type: Expected=OFType.GET_CONFIG_REQUEST(7), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFHelloVer10.java194
org/projectfloodlight/openflow/protocol/ver11/OFHelloVer11.java194
org/projectfloodlight/openflow/protocol/ver12/OFHelloVer12.java194
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 0
            byte type = bb.readByte();
            if(type != (byte) 0x0)
                throw new OFParseError("Wrong type: Expected=OFType.HELLO(0), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueuePropMinRateVer10.java165
org/projectfloodlight/openflow/protocol/ver11/OFQueuePropMinRateVer11.java165
org/projectfloodlight/openflow/protocol/ver12/OFQueuePropMinRateVer12.java165
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandDropVer13.java203
org/projectfloodlight/openflow/protocol/ver13/OFQueuePropMinRateVer13.java165
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandDropVer14.java203
org/projectfloodlight/openflow/protocol/ver14/OFQueuePropMinRateVer14.java165
        public OFQueuePropMinRate readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x1
            short type = bb.readShort();
            if(type != (short) 0x1)
                throw new OFParseError("Wrong type: Expected=0x1(0x1), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBarrierReplyVer11.java170
org/projectfloodlight/openflow/protocol/ver12/OFBarrierReplyVer12.java170
org/projectfloodlight/openflow/protocol/ver13/OFBarrierReplyVer13.java170
org/projectfloodlight/openflow/protocol/ver14/OFBarrierReplyVer14.java170
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 21
            byte type = bb.readByte();
            if(type != (byte) 0x15)
                throw new OFParseError("Wrong type: Expected=OFType.BARRIER_REPLY(21), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBarrierRequestVer11.java170
org/projectfloodlight/openflow/protocol/ver12/OFBarrierRequestVer12.java170
org/projectfloodlight/openflow/protocol/ver13/OFBarrierRequestVer13.java170
org/projectfloodlight/openflow/protocol/ver14/OFBarrierRequestVer14.java170
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_11(2), got="+version);
            // fixed value property type == 20
            byte type = bb.readByte();
            if(type != (byte) 0x14)
                throw new OFParseError("Wrong type: Expected=OFType.BARRIER_REQUEST(20), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFeaturesReplyVer11.java88
org/projectfloodlight/openflow/protocol/ver12/OFFeaturesReplyVer12.java88
    }

    @Override
    public OFType getType() {
        return OFType.FEATURES_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public DatapathId getDatapathId() {
        return datapathId;
    }

    @Override
    public long getNBuffers() {
        return nBuffers;
    }

    @Override
    public short getNTables() {
        return nTables;
    }

    @Override
    public Set<OFCapabilities> getCapabilities() {
        return capabilities;
    }

    @Override
    public long getReserved() {
        return reserved;
    }

    @Override
    public List<OFPortDesc> getPorts() {
        return ports;
    }

    @Override
    public Set<OFActionType> getActions()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property actions not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGetConfigReplyVer11.java258
org/projectfloodlight/openflow/protocol/ver11/OFSetConfigVer11.java258
                throw new OFParseError("Wrong type: Expected=OFType.GET_CONFIG_REPLY(8), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            Set<OFConfigFlags> flags = OFConfigFlagsSerializerVer11.readFrom(bb);
            int missSendLen = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFInstructionApplyActionsVer11.java179
org/projectfloodlight/openflow/protocol/ver11/OFInstructionWriteActionsVer11.java179
                throw new OFParseError("Wrong type: Expected=OFInstructionType.APPLY_ACTIONS(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);
            List<OFAction> actions = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFActionVer11.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortFeaturesSerializerVer11.java34
org/projectfloodlight/openflow/protocol/ver12/OFPortFeaturesSerializerVer12.java34
org/projectfloodlight/openflow/protocol/ver13/OFPortFeaturesSerializerVer13.java34
org/projectfloodlight/openflow/protocol/ver14/OFPortFeaturesSerializerVer14.java34
public class OFPortFeaturesSerializerVer11 {

    public final static int PF_10MB_HD_VAL = 0x1;
    public final static int PF_10MB_FD_VAL = 0x2;
    public final static int PF_100MB_HD_VAL = 0x4;
    public final static int PF_100MB_FD_VAL = 0x8;
    public final static int PF_1GB_HD_VAL = 0x10;
    public final static int PF_1GB_FD_VAL = 0x20;
    public final static int PF_10GB_FD_VAL = 0x40;
    public final static int PF_COPPER_VAL = 0x800;
    public final static int PF_FIBER_VAL = 0x1000;
    public final static int PF_AUTONEG_VAL = 0x2000;
    public final static int PF_PAUSE_VAL = 0x4000;
    public final static int PF_PAUSE_ASYM_VAL = 0x8000;
    public final static int PF_40GB_FD_VAL = 0x80;
    public final static int PF_100GB_FD_VAL = 0x100;
    public final static int PF_1TB_FD_VAL = 0x200;
    public final static int PF_OTHER_VAL = 0x400;

    public static Set<OFPortFeatures> readFrom(ChannelBuffer bb) throws OFParseError {
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGetConfigReplyVer12.java258
org/projectfloodlight/openflow/protocol/ver12/OFSetConfigVer12.java258
                throw new OFParseError("Wrong type: Expected=OFType.GET_CONFIG_REPLY(8), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            Set<OFConfigFlags> flags = OFConfigFlagsSerializerVer12.readFrom(bb);
            int missSendLen = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFInstructionApplyActionsVer12.java179
org/projectfloodlight/openflow/protocol/ver12/OFInstructionWriteActionsVer12.java179
                throw new OFParseError("Wrong type: Expected=OFInstructionType.APPLY_ACTIONS(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);
            List<OFAction> actions = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFActionVer12.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFQueuePropMaxRateVer12.java165
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandDscpRemarkVer13.java241
org/projectfloodlight/openflow/protocol/ver13/OFQueuePropMaxRateVer13.java165
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandDscpRemarkVer14.java241
org/projectfloodlight/openflow/protocol/ver14/OFQueuePropMaxRateVer14.java165
        public OFQueuePropMaxRate readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x2
            short type = bb.readShort();
            if(type != (short) 0x2)
                throw new OFParseError("Wrong type: Expected=0x2(0x2), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvIpv4Ver13.java172
org/projectfloodlight/openflow/protocol/ver14/OFAsyncConfigPropFlowRemovedSlaveVer14.java165
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvIpv4Ver14.java172
        public OFBsnTlvIpv4 readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x4
            short type = bb.readShort();
            if(type != (short) 0x4)
                throw new OFParseError("Wrong type: Expected=0x4(0x4), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvPortVer13.java172
org/projectfloodlight/openflow/protocol/ver14/OFAsyncConfigPropPacketInSlaveVer14.java165
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvPortVer14.java172
org/projectfloodlight/openflow/protocol/ver14/OFPortModPropEthernetVer14.java165
        public OFBsnTlvPort readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x0
            short type = bb.readShort();
            if(type != (short) 0x0)
                throw new OFParseError("Wrong type: Expected=0x0(0x0), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescPropOpticalVer13.java243
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescPropOpticalVer13.java540
        private boolean inAdminStatusSet;
        private Set<OFCalientOpticalPortAdminState> inAdminStatus;
        private boolean inOperStatusSet;
        private Set<OFCalientOpticalPortOperState> inOperStatus;
        private boolean inOperCapabilitySet;
        private Set<OFCalientOpticalPortOperCapability> inOperCapability;
        private boolean outAdminStatusSet;
        private Set<OFCalientOpticalPortAdminState> outAdminStatus;
        private boolean outOperStatusSet;
        private Set<OFCalientOpticalPortOperState> outOperStatus;
        private boolean outOperCapabilitySet;
        private Set<OFCalientOpticalPortOperCapability> outOperCapability;
        private boolean inportPowerSet;
        private String inportPower;
        private boolean outportPowerSet;
        private String outportPower;
        private boolean inPeerNodeSet;
        private U64 inPeerNode;
        private boolean outPeerNodeSet;
        private U64 outPeerNode;
        private boolean inPeerPortSet;
        private int inPeerPort;
        private boolean outPeerPortSet;
        private int outPeerPort;
        private boolean inCircuitIdSet;
        private String inCircuitId;
        private boolean outCircuitIdSet;
        private String outCircuitId;
        private boolean inAliasSet;
        private String inAlias;
        private boolean outAliasSet;
        private String outAlias;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGetConfigReplyVer13.java258
org/projectfloodlight/openflow/protocol/ver13/OFSetConfigVer13.java258
                throw new OFParseError("Wrong type: Expected=OFType.GET_CONFIG_REPLY(8), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            Set<OFConfigFlags> flags = OFConfigFlagsSerializerVer13.readFrom(bb);
            int missSendLen = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionApplyActionsVer13.java179
org/projectfloodlight/openflow/protocol/ver13/OFInstructionWriteActionsVer13.java179
                throw new OFParseError("Wrong type: Expected=OFInstructionType.APPLY_ACTIONS(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);
            List<OFAction> actions = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFActionVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesVer13.java287
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesVer14.java287
            return new OFMeterFeaturesVer13(
                    maxMeter,
                    bandTypes,
                    capabilities,
                    maxBands,
                    maxColor
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFMeterFeatures> {
        @Override
        public OFMeterFeatures readFrom(ChannelBuffer bb) throws OFParseError {
            long maxMeter = U32.f(bb.readInt());
            long bandTypes = U32.f(bb.readInt());
            long capabilities = U32.f(bb.readInt());
            short maxBands = U8.f(bb.readByte());
            short maxColor = U8.f(bb.readByte());
            // pad: 2 bytes
            bb.skipBytes(2);
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFAsyncConfigPropPacketInMasterVer14.java165
org/projectfloodlight/openflow/protocol/ver14/OFQueueDescPropMinRateVer14.java165
        public OFAsyncConfigPropPacketInMaster readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x1
            short type = bb.readShort();
            if(type != (short) 0x1)
                throw new OFParseError("Wrong type: Expected=0x1(0x1), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFAsyncConfigPropPortStatusMasterVer14.java165
org/projectfloodlight/openflow/protocol/ver14/OFTableModPropVacancyVer14.java241
        public OFAsyncConfigPropPortStatusMaster readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x3
            short type = bb.readShort();
            if(type != (short) 0x3)
                throw new OFParseError("Wrong type: Expected=0x3(0x3), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFAsyncConfigPropPortStatusSlaveVer14.java165
org/projectfloodlight/openflow/protocol/ver14/OFQueueDescPropMaxRateVer14.java165
org/projectfloodlight/openflow/protocol/ver14/OFTableModPropEvictionVer14.java173
        public OFAsyncConfigPropPortStatusSlave readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x2
            short type = bb.readShort();
            if(type != (short) 0x2)
                throw new OFParseError("Wrong type: Expected=0x2(0x2), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 8)
                throw new OFParseError("Wrong length: Expected=8(8), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFGetConfigReplyVer14.java258
org/projectfloodlight/openflow/protocol/ver14/OFSetConfigVer14.java258
                throw new OFParseError("Wrong type: Expected=OFType.GET_CONFIG_REPLY(8), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            Set<OFConfigFlags> flags = OFConfigFlagsSerializerVer14.readFrom(bb);
            int missSendLen = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFInstructionApplyActionsVer14.java179
org/projectfloodlight/openflow/protocol/ver14/OFInstructionWriteActionsVer14.java179
                throw new OFParseError("Wrong type: Expected=OFInstructionType.APPLY_ACTIONS(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);
            List<OFAction> actions = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFActionVer14.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionTypeSerializerVer10.java44
org/projectfloodlight/openflow/protocol/ver11/OFActionTypeSerializerVer11.java57
org/projectfloodlight/openflow/protocol/ver12/OFActionTypeSerializerVer12.java46
org/projectfloodlight/openflow/protocol/ver13/OFActionTypeSerializerVer13.java48
org/projectfloodlight/openflow/protocol/ver14/OFActionTypeSerializerVer14.java48
    public final static short EXPERIMENTER_VAL = (short) 0xffff;

    public static OFActionType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFActionType e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFActionType e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFActionType ofWireValue(short val) {
        switch(val) {
            case OUTPUT_VAL:
                return OFActionType.OUTPUT;
            case SET_VLAN_VID_VAL:
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnSetPktinSuppressionRequestVer10.java453
org/projectfloodlight/openflow/protocol/ver11/OFBsnSetPktinSuppressionRequestVer11.java453
org/projectfloodlight/openflow/protocol/ver12/OFBsnSetPktinSuppressionRequestVer12.java453
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetPktinSuppressionRequestVer13.java453
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetPktinSuppressionRequestVer14.java453
            sink.putByte((byte) 0x1);
            // fixed value property type = 4
            sink.putByte((byte) 0x4);
            // fixed value property length = 32
            sink.putShort((short) 0x20);
            sink.putLong(message.xid);
            // fixed value property experimenter = 0x5c16c7L
            sink.putInt(0x5c16c7);
            // fixed value property subtype = 0xbL
            sink.putInt(0xb);
            sink.putBoolean(message.enabled);
            // skip pad (1 bytes)
            sink.putInt(message.idleTimeout);
            sink.putInt(message.hardTimeout);
            sink.putInt(message.priority);
            message.cookie.putTo(sink);
        }
    }


    public void writeTo(ChannelBuffer bb) {
        WRITER.write(bb, this);
    }

    final static Writer WRITER = new Writer();
    static class Writer implements OFMessageWriter<OFBsnSetPktinSuppressionRequestVer10> {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java488
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java488
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java530
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java530
        OFGroupStatsEntryVer11 other = (OFGroupStatsEntryVer11) obj;

        if (group == null) {
            if (other.group != null)
                return false;
        } else if (!group.equals(other.group))
            return false;
        if( refCount != other.refCount)
            return false;
        if (packetCount == null) {
            if (other.packetCount != null)
                return false;
        } else if (!packetCount.equals(other.packetCount))
            return false;
        if (byteCount == null) {
            if (other.byteCount != null)
                return false;
        } else if (!byteCount.equals(other.byteCount))
            return false;
        if (bucketStats == null) {
FileLine
net/onrc/openvirtex/elements/datapath/OVXSwitchCapabilities.java81
net/onrc/openvirtex/elements/datapath/OVXSwitchCapabilities.java114
    public Set<OFCapabilities> getOVXSwitchCapabilities() {
    	
    	Set<OFCapabilities> capabilities=new HashSet<OFCapabilities>();
        
        if (this.flowStatsCapability) {
            capabilities.add(OFCapabilities.FLOW_STATS);
        }
        if (this.tableStatsCapability) {
        	capabilities.add(OFCapabilities.TABLE_STATS);
        }
        if (this.portStatsCapability) {
        	capabilities.add(OFCapabilities.PORT_STATS);
        }
        if (this.stpCapability) {
        	capabilities.add(OFCapabilities.STP);
        }
        if (this.reassembleCapability) {
        	capabilities.add(OFCapabilities.IP_REASM);
        }
        if (this.queueStatsCapability) {
        	capabilities.add(OFCapabilities.QUEUE_STATS);
        }
FileLine
net/onrc/openvirtex/messages/ver10/OVXFlowRemovedVer10.java72
net/onrc/openvirtex/messages/ver13/OVXFlowRemovedVer13.java75
                if (fm.hasFlag(OFFlowModFlagsSerializerVer10.SEND_FLOW_REM_VAL)) {
                    writeFields(fm);
                    vsw.sendMsg(this, sw);
                }
            }
        } catch (MappingException e) {
            log.warn("Exception fetching FlowMod from FlowTable: {}", e);
        }
    }

    /**
     * rewrites the fields of this message using values from the supplied
     * FlowMod.
     *
     * @param fm
     *            the original FlowMod associated with this FlowRemoved
     * @return the physical cookie
     */
    private void writeFields(OVXFlowMod fm) {
        this.cookie = fm.getCookie();
        this.match = fm.getMatch();
        this.priority = fm.getPriority();
        this.idleTimeout = fm.getIdleTimeout();
    }

    @Override
    public String toString() {
        return "OVXFlowRemoved: cookie=" + this.cookie + " priority="
                + this.priority + " match=" + this.match + " reason="
                + this.reason;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFErrorTypeSerializerVer11.java30
org/projectfloodlight/openflow/protocol/ver12/OFErrorTypeSerializerVer12.java30
org/projectfloodlight/openflow/protocol/ver13/OFErrorTypeSerializerVer13.java30
org/projectfloodlight/openflow/protocol/ver14/OFErrorTypeSerializerVer14.java30
public class OFErrorTypeSerializerVer11 {

    public final static short HELLO_FAILED_VAL = (short) 0x0;
    public final static short BAD_REQUEST_VAL = (short) 0x1;
    public final static short BAD_ACTION_VAL = (short) 0x2;
    public final static short BAD_INSTRUCTION_VAL = (short) 0x3;
    public final static short BAD_MATCH_VAL = (short) 0x4;
    public final static short FLOW_MOD_FAILED_VAL = (short) 0x5;
    public final static short GROUP_MOD_FAILED_VAL = (short) 0x6;
    public final static short PORT_MOD_FAILED_VAL = (short) 0x7;
    public final static short TABLE_MOD_FAILED_VAL = (short) 0x8;
    public final static short QUEUE_OP_FAILED_VAL = (short) 0x9;
    public final static short SWITCH_CONFIG_FAILED_VAL = (short) 0xa;

    public static OFErrorType readFrom(ChannelBuffer bb) throws OFParseError {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsReplyVer13.java73
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsReplyVer14.java73
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xdL;
    }

    @Override
    public List<OFBsnDebugCounterDescStatsEntry> getEntries() {
        return entries;
    }



    public OFBsnDebugCounterDescStatsReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnDebugCounterDescStatsReply.Builder {
        final OFBsnDebugCounterDescStatsReplyVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsReplyVer13.java73
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsReplyVer14.java73
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xcL;
    }

    @Override
    public List<OFBsnDebugCounterStatsEntry> getEntries() {
        return entries;
    }



    public OFBsnDebugCounterStatsReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnDebugCounterStatsReply.Builder {
        final OFBsnDebugCounterStatsReplyVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsReplyVer13.java73
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsReplyVer14.java73
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public List<OFBsnFlowChecksumBucketStatsEntry> getEntries() {
        return entries;
    }



    public OFBsnFlowChecksumBucketStatsReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnFlowChecksumBucketStatsReply.Builder {
        final OFBsnFlowChecksumBucketStatsReplyVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsReplyVer13.java73
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsReplyVer14.java73
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x10L;
    }

    @Override
    public List<OFBsnGenericStatsEntry> getEntries() {
        return entries;
    }



    public OFBsnGenericStatsReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnGenericStatsReply.Builder {
        final OFBsnGenericStatsReplyVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsReplyVer13.java73
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsReplyVer14.java73
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public List<OFBsnGentableBucketStatsEntry> getEntries() {
        return entries;
    }



    public OFBsnGentableBucketStatsReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnGentableBucketStatsReply.Builder {
        final OFBsnGentableBucketStatsReplyVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsReplyVer13.java73
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsReplyVer14.java73
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public List<OFBsnGentableDescStatsEntry> getEntries() {
        return entries;
    }



    public OFBsnGentableDescStatsReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnGentableDescStatsReply.Builder {
        final OFBsnGentableDescStatsReplyVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsReplyVer13.java73
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsReplyVer14.java73
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public List<OFBsnGentableEntryDescStatsEntry> getEntries() {
        return entries;
    }



    public OFBsnGentableEntryDescStatsReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnGentableEntryDescStatsReply.Builder {
        final OFBsnGentableEntryDescStatsReplyVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsRequestVer13.java65
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsRequestVer13.java65
            throw new NullPointerException("OFBsnGentableEntryDescStatsRequestVer13: property checksumMask cannot be null");
        }
        this.xid = xid;
        this.flags = flags;
        this.tableId = tableId;
        this.checksum = checksum;
        this.checksumMask = checksumMask;
    }

    // Accessors for OF message fields
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsReplyVer13.java73
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsReplyVer14.java73
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x3L;
    }

    @Override
    public List<OFBsnGentableEntryStatsEntry> getEntries() {
        return entries;
    }



    public OFBsnGentableEntryStatsReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnGentableEntryStatsReply.Builder {
        final OFBsnGentableEntryStatsReplyVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsReplyVer13.java73
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsReplyVer14.java73
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x7L;
    }

    @Override
    public List<OFBsnGentableStatsEntry> getEntries() {
        return entries;
    }



    public OFBsnGentableStatsReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnGentableStatsReply.Builder {
        final OFBsnGentableStatsReplyVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsReplyVer13.java73
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsReplyVer14.java73
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1L;
    }

    @Override
    public List<OFBsnLacpStatsEntry> getEntries() {
        return entries;
    }



    public OFBsnLacpStatsReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnLacpStatsReply.Builder {
        final OFBsnLacpStatsReplyVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsReplyVer13.java73
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsReplyVer14.java73
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x8L;
    }

    @Override
    public List<OFBsnPortCounterStatsEntry> getEntries() {
        return entries;
    }



    public OFBsnPortCounterStatsReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnPortCounterStatsReply.Builder {
        final OFBsnPortCounterStatsReplyVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsReplyVer13.java73
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsReplyVer14.java73
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x6L;
    }

    @Override
    public List<OFBsnSwitchPipelineStatsEntry> getEntries() {
        return entries;
    }



    public OFBsnSwitchPipelineStatsReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnSwitchPipelineStatsReply.Builder {
        final OFBsnSwitchPipelineStatsReplyVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsReplyVer13.java73
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsReplyVer14.java73
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xbL;
    }

    @Override
    public List<OFBsnTableChecksumStatsEntry> getEntries() {
        return entries;
    }



    public OFBsnTableChecksumStatsReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnTableChecksumStatsReply.Builder {
        final OFBsnTableChecksumStatsReplyVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsReplyVer13.java73
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsReplyVer14.java73
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x9L;
    }

    @Override
    public List<OFBsnVlanCounterStatsEntry> getEntries() {
        return entries;
    }



    public OFBsnVlanCounterStatsReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnVlanCounterStatsReply.Builder {
        final OFBsnVlanCounterStatsReplyVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsReplyVer13.java73
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsReplyVer14.java73
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public List<OFBsnVrfCounterStatsEntry> getEntries() {
        return entries;
    }



    public OFBsnVrfCounterStatsReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnVrfCounterStatsReply.Builder {
        final OFBsnVrfCounterStatsReplyVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsRequestVer14.java65
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsRequestVer14.java65
            throw new NullPointerException("OFBsnGentableEntryDescStatsRequestVer14: property checksumMask cannot be null");
        }
        this.xid = xid;
        this.flags = flags;
        this.tableId = tableId;
        this.checksum = checksum;
        this.checksumMask = checksumMask;
    }

    // Accessors for OF message fields
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxTimeoutVer10.java290
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxTimeoutVer11.java290
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxTimeoutVer12.java290
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxTimeoutVer13.java290
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxTimeoutVer14.java290
                throw new OFParseError("Wrong length: Expected=19(19), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x23L
            int subtype = bb.readInt();
            if(subtype != 0x23)
                throw new OFParseError("Wrong subtype: Expected=0x23L(0x23L), got="+subtype);
            OFPort portNo = OFPort.read2Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsEntryVer10.java658
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java657
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java657
            Match match = ChannelUtilsVer10.readOFMatch(bb);
            long durationSec = U32.f(bb.readInt());
            long durationNsec = U32.f(bb.readInt());
            int priority = U16.f(bb.readShort());
            int idleTimeout = U16.f(bb.readShort());
            int hardTimeout = U16.f(bb.readShort());
            // pad: 6 bytes
            bb.skipBytes(6);
            U64 cookie = U64.ofRaw(bb.readLong());
            U64 packetCount = U64.ofRaw(bb.readLong());
            U64 byteCount = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPacketOutVer10.java357
org/projectfloodlight/openflow/protocol/ver11/OFPacketInVer11.java525
                throw new OFParseError("Wrong type: Expected=OFType.PACKET_OUT(13), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            OFBufferId bufferId = OFBufferId.of(bb.readInt());
            OFPort inPort = OFPort.read2Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java828
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java828
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java828
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java828
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java828
            sink.putShort((short) 0x0);
            sink.putInt(message.idleTimeout);
            sink.putInt(message.hardTimeout);
            sink.putInt(message.priority);
            message.bufferId.putTo(sink);
            message.outPort.putTo(sink);
            message.outGroup.putTo(sink);
            OFFlowModFlagsSerializerVer11.putTo(message.flags, sink);
            // skip pad (2 bytes)
            message.match.putTo(sink);
            FunnelUtils.putList(message.instructions, sink);
        }
    }


    public void writeTo(ChannelBuffer bb) {
        WRITER.write(bb, this);
    }

    final static Writer WRITER = new Writer();
    static class Writer implements OFMessageWriter<OFFlowAddVer11> {
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java40
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java40
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java40
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java40
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java40
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java41
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java41
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java41
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java41
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java41
    final static int MINIMUM_LENGTH = 56;

        private final static long DEFAULT_XID = 0x0L;
        private final static U64 DEFAULT_COOKIE = U64.ZERO;
        private final static U64 DEFAULT_COOKIE_MASK = U64.ZERO;
        private final static TableId DEFAULT_TABLE_ID = TableId.ZERO;
        private final static int DEFAULT_IDLE_TIMEOUT = 0x0;
        private final static int DEFAULT_HARD_TIMEOUT = 0x0;
        private final static int DEFAULT_PRIORITY = 0x0;
        private final static OFBufferId DEFAULT_BUFFER_ID = OFBufferId.NO_BUFFER;
        private final static OFPort DEFAULT_OUT_PORT = OFPort.ANY;
        private final static OFGroup DEFAULT_OUT_GROUP = OFGroup.ANY;
        private final static Set<OFFlowModFlags> DEFAULT_FLAGS = ImmutableSet.<OFFlowModFlags>of();
        private final static Match DEFAULT_MATCH = OFFactoryVer12.MATCH_WILDCARD_ALL;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java828
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java828
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java828
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java828
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java828
            sink.putShort((short) 0x0);
            sink.putInt(message.idleTimeout);
            sink.putInt(message.hardTimeout);
            sink.putInt(message.priority);
            message.bufferId.putTo(sink);
            message.outPort.putTo(sink);
            message.outGroup.putTo(sink);
            OFFlowModFlagsSerializerVer12.putTo(message.flags, sink);
            // skip pad (2 bytes)
            message.match.putTo(sink);
            FunnelUtils.putList(message.instructions, sink);
        }
    }


    public void writeTo(ChannelBuffer bb) {
        WRITER.write(bb, this);
    }

    final static Writer WRITER = new Writer();
    static class Writer implements OFMessageWriter<OFFlowAddVer12> {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java229
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java515
        private boolean tableIdSet;
        private TableId tableId;
        private boolean durationSecSet;
        private long durationSec;
        private boolean durationNsecSet;
        private long durationNsec;
        private boolean prioritySet;
        private int priority;
        private boolean idleTimeoutSet;
        private int idleTimeout;
        private boolean hardTimeoutSet;
        private int hardTimeout;
        private boolean flagsSet;
        private Set<OFFlowModFlags> flags;
        private boolean cookieSet;
        private U64 cookie;
        private boolean adminStatusSet;
        private Set<OFCalientCflowAdminState> adminStatus;
        private boolean operStatusSet;
        private Set<OFCalientCflowOperationalState> operStatus;
        private boolean operCapabilitySet;
        private Set<OFCalientCflowCapability> operCapability;
        private boolean alarmSet;
        private Set<OFCalientOcsAlarm> alarm;
        private boolean portPowerSet;
        private String portPower;
        private boolean connectedPortPowerSet;
        private String connectedPortPower;
        private boolean cflowNameSet;
        private String cflowName;
        private boolean matchSet;
        private Match match;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java872
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java868
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java867
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java868
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java866
            sink.putShort((short) 0x0);
            sink.putInt(message.idleTimeout);
            sink.putInt(message.hardTimeout);
            sink.putInt(message.priority);
            message.bufferId.putTo(sink);
            message.outPort.putTo(sink);
            message.outGroup.putTo(sink);
            OFFlowModFlagsSerializerVer13.putTo(message.flags, sink);
            // skip pad (2 bytes)
            message.match.putTo(sink);
            FunnelUtils.putList(message.instructions, sink);
        }
    }


    public void writeTo(ChannelBuffer bb) {
        WRITER.write(bb, this);
    }

    final static Writer WRITER = new Writer();
    static class Writer implements OFMessageWriter<OFFlowAddVer13> {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFHelloVer13.java105
org/projectfloodlight/openflow/protocol/ver14/OFHelloVer14.java162
    }

    @Override
    public OFType getType() {
        return OFType.HELLO;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFHello.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public List<OFHelloElem> getElements() {
        return elements;
    }

    @Override
    public OFHello.Builder setElements(List<OFHelloElem> elements) {
        this.elements = elements;
        this.elementsSet = true;
        return this;
    }


        @Override
        public OFHello build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFHelloVer13.java162
org/projectfloodlight/openflow/protocol/ver14/OFHelloVer14.java105
    }

    @Override
    public OFType getType() {
        return OFType.HELLO;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFHello.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public List<OFHelloElem> getElements() {
        return elements;
    }

    @Override
    public OFHello.Builder setElements(List<OFHelloElem> elements) {
        this.elements = elements;
        this.elementsSet = true;
        return this;
    }
//
        @Override
        public OFHello build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
net/onrc/openvirtex/api/service/handlers/tenant/ConnectOVXRoute.java134
net/onrc/openvirtex/api/service/handlers/tenant/SetOVXLinkPath.java116
                                    + e.getMessage()), 0);
        } catch (final NetworkMappingException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": " + e.getMessage()), 0);
        } catch (final InvalidPriorityException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": " + e.getMessage()), 0);
        }
        return resp;
    }


    @Override
    public JSONRPC2ParamsType getType() {
        return JSONRPC2ParamsType.OBJECT;
    }
}
FileLine
net/onrc/openvirtex/api/service/handlers/tenant/DisconnectOVXLink.java77
net/onrc/openvirtex/api/service/handlers/tenant/RemoveOVXNetwork.java79
net/onrc/openvirtex/api/service/handlers/tenant/RemoveOVXSwitch.java75
net/onrc/openvirtex/api/service/handlers/tenant/StartOVXNetwork.java67
net/onrc/openvirtex/api/service/handlers/tenant/StartOVXSwitch.java78
net/onrc/openvirtex/api/service/handlers/tenant/StopOVXNetwork.java68
net/onrc/openvirtex/api/service/handlers/tenant/StopOVXSwitch.java77
                            + ": Invalid virtual link : " + e.getMessage()), 0);
        } catch (final InvalidTenantIdException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": Invalid tenant id : " + e.getMessage()), 0);
        } catch (final NetworkMappingException e) {
            resp = new JSONRPC2Response(new JSONRPC2Error(
                    JSONRPC2Error.INVALID_PARAMS.getCode(), this.cmdName()
                            + ": " + e.getMessage()), 0);
        }
        return resp;
    }

    @Override
    public JSONRPC2ParamsType getType() {
        return JSONRPC2ParamsType.OBJECT;
    }


}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnSetTunnelDstVer10.java200
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnSetTunnelDstVer11.java200
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnSetTunnelDstVer12.java200
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnSetTunnelDstVer13.java200
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnArpOffloadVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnAutoNegotiationVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnDenyVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnDisableL3Ver13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnDisableSplitHorizonCheckVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnDisableSrcMacCheckVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnDisableVlanCountersVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnInternalPriorityVer13.java200
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnPacketOfDeathVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnPermitVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnPrioritizePdusVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnRequireVlanXlateVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnSpanDestinationVer13.java88
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnSetTunnelDstVer14.java200
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnArpOffloadVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnAutoNegotiationVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnDenyVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnDisableL3Ver14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnDisableSrcMacCheckVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnDisableVlanCountersVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnInternalPriorityVer14.java200
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnPacketOfDeathVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnPermitVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnPrioritizePdusVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnRequireVlanXlateVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnSpanDestinationVer14.java88
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x2L
            int subtype = bb.readInt();
            if(subtype != 0x2)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableSetReplyVer10.java386
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableSetReplyVer11.java386
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableSetReplyVer12.java386
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableSetReplyVer13.java386
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableSetReplyVer13.java386
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableSetReplyVer14.java386
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableSetReplyVer14.java386
        OFBsnBwEnableSetReplyVer10 other = (OFBsnBwEnableSetReplyVer10) obj;

        if( xid != other.xid)
            return false;
        if( enable != other.enable)
            return false;
        if( status != other.status)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime *  (int) (enable ^ (enable >>> 32));
        result = prime *  (int) (status ^ (status >>> 32));
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxRequestVer10.java480
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxRequestVer10.java480
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxRequestVer11.java480
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxRequestVer11.java480
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxRequestVer12.java480
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxRequestVer12.java480
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxRequestVer13.java480
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxRequestVer13.java480
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxRequestVer14.java480
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxRequestVer14.java480
        b.append("timeoutMs=").append(timeoutMs);
        b.append(", ");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("slotNum=").append(slotNum);
        b.append(", ");
        b.append("data=").append(Arrays.toString(data));
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortCreateReplyVer10.java386
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortCreateReplyVer11.java386
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortCreateReplyVer12.java386
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortCreateReplyVer13.java386
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortCreateReplyVer14.java386
        OFBsnVirtualPortCreateReplyVer10 other = (OFBsnVirtualPortCreateReplyVer10) obj;

        if( xid != other.xid)
            return false;
        if( status != other.status)
            return false;
        if( vportNo != other.vportNo)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime *  (int) (status ^ (status >>> 32));
        result = prime *  (int) (vportNo ^ (vportNo >>> 32));
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFNiciraHeaderVer10.java45
org/projectfloodlight/openflow/protocol/ver11/OFNiciraHeaderVer11.java45
org/projectfloodlight/openflow/protocol/ver12/OFNiciraHeaderVer12.java45
org/projectfloodlight/openflow/protocol/ver13/OFNiciraHeaderVer13.java45
org/projectfloodlight/openflow/protocol/ver14/OFNiciraHeaderVer14.java45
                throw new OFParseError("Wrong version: Expected=OFVersion.OF_10(1), got="+version);
            // fixed value property type == 4
            byte type = bb.readByte();
            if(type != (byte) 0x4)
                throw new OFParseError("Wrong type: Expected=OFType.EXPERIMENTER(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            U32.f(bb.readInt());
            // fixed value property experimenter == 0x2320L
            int experimenter = bb.readInt();
            if(experimenter != 0x2320)
                throw new OFParseError("Wrong experimenter: Expected=0x2320L(0x2320L), got="+experimenter);
            int subtype = bb.readInt();
            bb.readerIndex(start);
            switch(subtype) {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java354
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java368
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java368
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortStatusVer13.java325
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java368
org/projectfloodlight/openflow/protocol/ver13/OFPortOpticalVer13.java231
org/projectfloodlight/openflow/protocol/ver14/OFPortDescVer14.java325
                MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : parentMessage.hwAddr;
                if(hwAddr == null)
                    throw new NullPointerException("Property hwAddr must not be null");
                String name = this.nameSet ? this.name : parentMessage.name;
                if(name == null)
                    throw new NullPointerException("Property name must not be null");
                Set<OFPortConfig> config = this.configSet ? this.config : parentMessage.config;
                if(config == null)
                    throw new NullPointerException("Property config must not be null");
                Set<OFPortState> state = this.stateSet ? this.state : parentMessage.state;
                if(state == null)
                    throw new NullPointerException("Property state must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java813
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java813
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java813
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java847
        public void funnel(OFPortStatsEntryVer10 message, PrimitiveSink sink) {
            message.portNo.putTo(sink);
            // skip pad (6 bytes)
            message.rxPackets.putTo(sink);
            message.txPackets.putTo(sink);
            message.rxBytes.putTo(sink);
            message.txBytes.putTo(sink);
            message.rxDropped.putTo(sink);
            message.txDropped.putTo(sink);
            message.rxErrors.putTo(sink);
            message.txErrors.putTo(sink);
            message.rxFrameErr.putTo(sink);
            message.rxOverErr.putTo(sink);
            message.rxCrcErr.putTo(sink);
            message.collisions.putTo(sink);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBucketCounterVer11.java137
org/projectfloodlight/openflow/protocol/ver12/OFBucketCounterVer12.java137
org/projectfloodlight/openflow/protocol/ver13/OFBucketCounterVer13.java137
org/projectfloodlight/openflow/protocol/ver14/OFBucketCounterVer14.java137
                return new OFBucketCounterVer11(
                    packetCount,
                    byteCount
                );
        }

    }

    static class Builder implements OFBucketCounter.Builder {
        // OF message fields
        private boolean packetCountSet;
        private U64 packetCount;
        private boolean byteCountSet;
        private U64 byteCount;

    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFBucketCounter.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFBucketCounter.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java829
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java829
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java1049
        } else if (!instructions.equals(other.instructions))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
        result = prime *  (int) (durationSec ^ (durationSec >>> 32));
        result = prime *  (int) (durationNsec ^ (durationNsec >>> 32));
        result = prime * result + priority;
        result = prime * result + idleTimeout;
        result = prime * result + hardTimeout;
        result = prime * result + ((cookie == null) ? 0 : cookie.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFInstructionApplyActionsVer11.java179
org/projectfloodlight/openflow/protocol/ver12/OFInstructionWriteActionsVer12.java179
org/projectfloodlight/openflow/protocol/ver13/OFInstructionWriteActionsVer13.java179
org/projectfloodlight/openflow/protocol/ver14/OFInstructionWriteActionsVer14.java179
                throw new OFParseError("Wrong type: Expected=OFInstructionType.APPLY_ACTIONS(4), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);
            List<OFAction> actions = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFActionVer11.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFInstructionWriteActionsVer11.java179
org/projectfloodlight/openflow/protocol/ver12/OFInstructionApplyActionsVer12.java179
org/projectfloodlight/openflow/protocol/ver13/OFInstructionApplyActionsVer13.java179
org/projectfloodlight/openflow/protocol/ver14/OFInstructionApplyActionsVer14.java179
                throw new OFParseError("Wrong type: Expected=OFInstructionType.WRITE_ACTIONS(3), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);
            List<OFAction> actions = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFActionVer11.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpOpVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpOpVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpOpVer14.java160
                return new OFOxmArpOpVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmArpOp.Builder {
        // OF message fields
        private boolean valueSet;
        private ArpOpcode value;

    @Override
    public long getTypeLen() {
        return 0x80002a02L;
    }

    @Override
    public ArpOpcode getValue() {
        return value;
    }

    @Override
    public OFOxmArpOp.Builder setValue(ArpOpcode value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ArpOpcode> getMatchField() {
        return MatchField.ARP_OP;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ArpOpcode> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpShaVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpShaVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpShaVer14.java160
                return new OFOxmArpShaVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmArpSha.Builder {
        // OF message fields
        private boolean valueSet;
        private MacAddress value;

    @Override
    public long getTypeLen() {
        return 0x80003006L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpSha.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_SHA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpSpaVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpSpaVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpSpaVer14.java160
                return new OFOxmArpSpaVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmArpSpa.Builder {
        // OF message fields
        private boolean valueSet;
        private IPv4Address value;

    @Override
    public long getTypeLen() {
        return 0x80002c04L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpSpa.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_SPA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpThaVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpThaVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpThaVer14.java160
                return new OFOxmArpThaVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmArpTha.Builder {
        // OF message fields
        private boolean valueSet;
        private MacAddress value;

    @Override
    public long getTypeLen() {
        return 0x80003206L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpTha.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_THA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpTpaVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpTpaVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpTpaVer14.java160
                return new OFOxmArpTpaVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmArpTpa.Builder {
        // OF message fields
        private boolean valueSet;
        private IPv4Address value;

    @Override
    public long getTypeLen() {
        return 0x80002e04L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpTpa.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_TPA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnEgrPortGroupIdVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnEgrPortGroupIdVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnEgrPortGroupIdVer14.java160
                return new OFOxmBsnEgrPortGroupIdVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnEgrPortGroupId.Builder {
        // OF message fields
        private boolean valueSet;
        private ClassId value;

    @Override
    public long getTypeLen() {
        return 0x30e04L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnEgrPortGroupId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_EGR_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnGlobalVrfAllowedVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnGlobalVrfAllowedVer13.java160
                return new OFOxmBsnGlobalVrfAllowedVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnGlobalVrfAllowed.Builder {
        // OF message fields
        private boolean valueSet;
        private OFBooleanValue value;

    @Override
    public long getTypeLen() {
        return 0x30601L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmBsnGlobalVrfAllowed.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.BSN_GLOBAL_VRF_ALLOWED;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts128Ver12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts128Ver13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts128Ver14.java160
                return new OFOxmBsnInPorts128Ver12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnInPorts128.Builder {
        // OF message fields
        private boolean valueSet;
        private OFBitMask128 value;

    @Override
    public long getTypeLen() {
        return 0x30010L;
    }

    @Override
    public OFBitMask128 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts128.Builder setValue(OFBitMask128 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask128> getMatchField() {
        return MatchField.BSN_IN_PORTS_128;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBitMask128> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts512Ver12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts512Ver13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts512Ver14.java160
                return new OFOxmBsnInPorts512Ver12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnInPorts512.Builder {
        // OF message fields
        private boolean valueSet;
        private OFBitMask512 value;

    @Override
    public long getTypeLen() {
        return 0x32640L;
    }

    @Override
    public OFBitMask512 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts512.Builder setValue(OFBitMask512 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask512> getMatchField() {
        return MatchField.BSN_IN_PORTS_512;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBitMask512> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnIngressPortGroupIdVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnIngressPortGroupIdVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnIngressPortGroupIdVer14.java160
                return new OFOxmBsnIngressPortGroupIdVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnIngressPortGroupId.Builder {
        // OF message fields
        private boolean valueSet;
        private ClassId value;

    @Override
    public long getTypeLen() {
        return 0x32804L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnIngressPortGroupId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_INGRESS_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL2CacheHitVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL2CacheHitVer13.java160
                return new OFOxmBsnL2CacheHitVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnL2CacheHit.Builder {
        // OF message fields
        private boolean valueSet;
        private OFBooleanValue value;

    @Override
    public long getTypeLen() {
        return 0x32401L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL2CacheHit.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.BSN_L2_CACHE_HIT;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3DstClassIdVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3DstClassIdVer13.java160
                return new OFOxmBsnL3DstClassIdVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnL3DstClassId.Builder {
        // OF message fields
        private boolean valueSet;
        private ClassId value;

    @Override
    public long getTypeLen() {
        return 0x30c04L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3DstClassId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_DST_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3InterfaceClassIdVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3InterfaceClassIdVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3InterfaceClassIdVer14.java160
                return new OFOxmBsnL3InterfaceClassIdVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnL3InterfaceClassId.Builder {
        // OF message fields
        private boolean valueSet;
        private ClassId value;

    @Override
    public long getTypeLen() {
        return 0x30804L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3InterfaceClassId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_INTERFACE_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3SrcClassIdVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3SrcClassIdVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3SrcClassIdVer14.java160
                return new OFOxmBsnL3SrcClassIdVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnL3SrcClassId.Builder {
        // OF message fields
        private boolean valueSet;
        private ClassId value;

    @Override
    public long getTypeLen() {
        return 0x30a04L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3SrcClassId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_SRC_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnLagIdVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnLagIdVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnLagIdVer14.java160
                return new OFOxmBsnLagIdVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnLagId.Builder {
        // OF message fields
        private boolean valueSet;
        private LagId value;

    @Override
    public long getTypeLen() {
        return 0x30204L;
    }

    @Override
    public LagId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnLagId.Builder setValue(LagId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<LagId> getMatchField() {
        return MatchField.BSN_LAG_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<LagId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnTcpFlagsVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnTcpFlagsVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnTcpFlagsVer14.java160
                return new OFOxmBsnTcpFlagsVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnTcpFlags.Builder {
        // OF message fields
        private boolean valueSet;
        private U16 value;

    @Override
    public long getTypeLen() {
        return 0x32002L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnTcpFlags.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.BSN_TCP_FLAGS;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf0Ver12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf0Ver13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf0Ver14.java160
                return new OFOxmBsnUdf0Ver12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnUdf0.Builder {
        // OF message fields
        private boolean valueSet;
        private UDF value;

    @Override
    public long getTypeLen() {
        return 0x31004L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf0.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF0;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf1Ver12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf1Ver13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf1Ver14.java160
                return new OFOxmBsnUdf1Ver12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnUdf1.Builder {
        // OF message fields
        private boolean valueSet;
        private UDF value;

    @Override
    public long getTypeLen() {
        return 0x31204L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf1.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF1;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf2Ver12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf2Ver13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf2Ver14.java160
                return new OFOxmBsnUdf2Ver12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnUdf2.Builder {
        // OF message fields
        private boolean valueSet;
        private UDF value;

    @Override
    public long getTypeLen() {
        return 0x31404L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf2.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF2;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf3Ver12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf3Ver13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf3Ver14.java160
                return new OFOxmBsnUdf3Ver12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnUdf3.Builder {
        // OF message fields
        private boolean valueSet;
        private UDF value;

    @Override
    public long getTypeLen() {
        return 0x31604L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf3.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF3;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf4Ver12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf4Ver13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf4Ver14.java160
                return new OFOxmBsnUdf4Ver12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnUdf4.Builder {
        // OF message fields
        private boolean valueSet;
        private UDF value;

    @Override
    public long getTypeLen() {
        return 0x31804L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf4.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF4;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf5Ver12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf5Ver13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf5Ver14.java160
                return new OFOxmBsnUdf5Ver12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnUdf5.Builder {
        // OF message fields
        private boolean valueSet;
        private UDF value;

    @Override
    public long getTypeLen() {
        return 0x31a04L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf5.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF5;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf6Ver12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf6Ver13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf6Ver14.java160
                return new OFOxmBsnUdf6Ver12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnUdf6.Builder {
        // OF message fields
        private boolean valueSet;
        private UDF value;

    @Override
    public long getTypeLen() {
        return 0x31c04L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf6.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF6;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf7Ver12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf7Ver13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf7Ver14.java160
                return new OFOxmBsnUdf7Ver12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnUdf7.Builder {
        // OF message fields
        private boolean valueSet;
        private UDF value;

    @Override
    public long getTypeLen() {
        return 0x31e04L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf7.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF7;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVlanXlatePortGroupIdVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVlanXlatePortGroupIdVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVlanXlatePortGroupIdVer14.java160
                return new OFOxmBsnVlanXlatePortGroupIdVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnVlanXlatePortGroupId.Builder {
        // OF message fields
        private boolean valueSet;
        private ClassId value;

    @Override
    public long getTypeLen() {
        return 0x32204L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVlanXlatePortGroupId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_VLAN_XLATE_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVrfVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVrfVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVrfVer14.java160
                return new OFOxmBsnVrfVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnVrf.Builder {
        // OF message fields
        private boolean valueSet;
        private VRF value;

    @Override
    public long getTypeLen() {
        return 0x30404L;
    }

    @Override
    public VRF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVrf.Builder setValue(VRF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<VRF> getMatchField() {
        return MatchField.BSN_VRF;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<VRF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthDstVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthDstVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthDstVer14.java160
                return new OFOxmEthDstVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmEthDst.Builder {
        // OF message fields
        private boolean valueSet;
        private MacAddress value;

    @Override
    public long getTypeLen() {
        return 0x80000606L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthDst.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthSrcVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthSrcVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthSrcVer14.java160
                return new OFOxmEthSrcVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmEthSrc.Builder {
        // OF message fields
        private boolean valueSet;
        private MacAddress value;

    @Override
    public long getTypeLen() {
        return 0x80000806L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthSrc.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthTypeVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthTypeVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthTypeVer14.java160
                return new OFOxmEthTypeVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmEthType.Builder {
        // OF message fields
        private boolean valueSet;
        private EthType value;

    @Override
    public long getTypeLen() {
        return 0x80000a02L;
    }

    @Override
    public EthType getValue() {
        return value;
    }

    @Override
    public OFOxmEthType.Builder setValue(EthType value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<EthType> getMatchField() {
        return MatchField.ETH_TYPE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<EthType> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4CodeVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4CodeVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4CodeVer14.java160
                return new OFOxmIcmpv4CodeVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmIcmpv4Code.Builder {
        // OF message fields
        private boolean valueSet;
        private ICMPv4Code value;

    @Override
    public long getTypeLen() {
        return 0x80002801L;
    }

    @Override
    public ICMPv4Code getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4Code.Builder setValue(ICMPv4Code value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Code> getMatchField() {
        return MatchField.ICMPV4_CODE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ICMPv4Code> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4TypeVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4TypeVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4TypeVer14.java160
                return new OFOxmIcmpv4TypeVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmIcmpv4Type.Builder {
        // OF message fields
        private boolean valueSet;
        private ICMPv4Type value;

    @Override
    public long getTypeLen() {
        return 0x80002601L;
    }

    @Override
    public ICMPv4Type getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4Type.Builder setValue(ICMPv4Type value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Type> getMatchField() {
        return MatchField.ICMPV4_TYPE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ICMPv4Type> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6CodeVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6CodeVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6CodeVer14.java160
                return new OFOxmIcmpv6CodeVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmIcmpv6Code.Builder {
        // OF message fields
        private boolean valueSet;
        private U8 value;

    @Override
    public long getTypeLen() {
        return 0x80003c01L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6Code.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_CODE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6TypeVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6TypeVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6TypeVer14.java160
                return new OFOxmIcmpv6TypeVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmIcmpv6Type.Builder {
        // OF message fields
        private boolean valueSet;
        private U8 value;

    @Override
    public long getTypeLen() {
        return 0x80003a01L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6Type.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_TYPE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPhyPortVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPhyPortVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPhyPortVer14.java160
                return new OFOxmInPhyPortVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmInPhyPort.Builder {
        // OF message fields
        private boolean valueSet;
        private OFPort value;

    @Override
    public long getTypeLen() {
        return 0x80000204L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPhyPort.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PHY_PORT;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPortVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPortVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPortVer14.java160
                return new OFOxmInPortVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmInPort.Builder {
        // OF message fields
        private boolean valueSet;
        private OFPort value;

    @Override
    public long getTypeLen() {
        return 0x80000004L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPort.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PORT;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpDscpVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpDscpVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpDscpVer14.java160
                return new OFOxmIpDscpVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmIpDscp.Builder {
        // OF message fields
        private boolean valueSet;
        private IpDscp value;

    @Override
    public long getTypeLen() {
        return 0x80001001L;
    }

    @Override
    public IpDscp getValue() {
        return value;
    }

    @Override
    public OFOxmIpDscp.Builder setValue(IpDscp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IpDscp> getMatchField() {
        return MatchField.IP_DSCP;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IpDscp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpEcnVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpEcnVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpEcnVer14.java160
                return new OFOxmIpEcnVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmIpEcn.Builder {
        // OF message fields
        private boolean valueSet;
        private IpEcn value;

    @Override
    public long getTypeLen() {
        return 0x80001201L;
    }

    @Override
    public IpEcn getValue() {
        return value;
    }

    @Override
    public OFOxmIpEcn.Builder setValue(IpEcn value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IpEcn> getMatchField() {
        return MatchField.IP_ECN;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IpEcn> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpProtoVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpProtoVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpProtoVer14.java160
                return new OFOxmIpProtoVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmIpProto.Builder {
        // OF message fields
        private boolean valueSet;
        private IpProtocol value;

    @Override
    public long getTypeLen() {
        return 0x80001401L;
    }

    @Override
    public IpProtocol getValue() {
        return value;
    }

    @Override
    public OFOxmIpProto.Builder setValue(IpProtocol value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IpProtocol> getMatchField() {
        return MatchField.IP_PROTO;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IpProtocol> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4DstVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4DstVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4DstVer14.java160
                return new OFOxmIpv4DstVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmIpv4Dst.Builder {
        // OF message fields
        private boolean valueSet;
        private IPv4Address value;

    @Override
    public long getTypeLen() {
        return 0x80001804L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4Dst.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4SrcVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4SrcVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4SrcVer14.java160
                return new OFOxmIpv4SrcVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmIpv4Src.Builder {
        // OF message fields
        private boolean valueSet;
        private IPv4Address value;

    @Override
    public long getTypeLen() {
        return 0x80001604L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4Src.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6DstVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6DstVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6DstVer14.java160
                return new OFOxmIpv6DstVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmIpv6Dst.Builder {
        // OF message fields
        private boolean valueSet;
        private IPv6Address value;

    @Override
    public long getTypeLen() {
        return 0x80003610L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6Dst.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6FlabelVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6FlabelVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6FlabelVer14.java160
                return new OFOxmIpv6FlabelVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmIpv6Flabel.Builder {
        // OF message fields
        private boolean valueSet;
        private IPv6FlowLabel value;

    @Override
    public long getTypeLen() {
        return 0x80003804L;
    }

    @Override
    public IPv6FlowLabel getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6Flabel.Builder setValue(IPv6FlowLabel value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6FlowLabel> getMatchField() {
        return MatchField.IPV6_FLABEL;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv6FlowLabel> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdSllVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdSllVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdSllVer14.java160
                return new OFOxmIpv6NdSllVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmIpv6NdSll.Builder {
        // OF message fields
        private boolean valueSet;
        private MacAddress value;

    @Override
    public long getTypeLen() {
        return 0x80004006L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdSll.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_SLL;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTargetVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTargetVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTargetVer14.java160
                return new OFOxmIpv6NdTargetVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmIpv6NdTarget.Builder {
        // OF message fields
        private boolean valueSet;
        private IPv6Address value;

    @Override
    public long getTypeLen() {
        return 0x80003e10L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTarget.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_ND_TARGET;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTllVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTllVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTllVer14.java160
                return new OFOxmIpv6NdTllVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmIpv6NdTll.Builder {
        // OF message fields
        private boolean valueSet;
        private MacAddress value;

    @Override
    public long getTypeLen() {
        return 0x80004206L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTll.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_TLL;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6SrcVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6SrcVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6SrcVer14.java160
                return new OFOxmIpv6SrcVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmIpv6Src.Builder {
        // OF message fields
        private boolean valueSet;
        private IPv6Address value;

    @Override
    public long getTypeLen() {
        return 0x80003410L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6Src.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMetadataVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmMetadataVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmMetadataVer14.java160
                return new OFOxmMetadataVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmMetadata.Builder {
        // OF message fields
        private boolean valueSet;
        private OFMetadata value;

    @Override
    public long getTypeLen() {
        return 0x80000408L;
    }

    @Override
    public OFMetadata getValue() {
        return value;
    }

    @Override
    public OFOxmMetadata.Builder setValue(OFMetadata value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFMetadata> getMatchField() {
        return MatchField.METADATA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFMetadata> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsLabelVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsLabelVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsLabelVer14.java160
                return new OFOxmMplsLabelVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmMplsLabel.Builder {
        // OF message fields
        private boolean valueSet;
        private U32 value;

    @Override
    public long getTypeLen() {
        return 0x80004404L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsLabel.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.MPLS_LABEL;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsTcVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsTcVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsTcVer14.java160
                return new OFOxmMplsTcVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmMplsTc.Builder {
        // OF message fields
        private boolean valueSet;
        private U8 value;

    @Override
    public long getTypeLen() {
        return 0x80004601L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsTc.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.MPLS_TC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpDstVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpDstVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpDstVer14.java160
                return new OFOxmSctpDstVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmSctpDst.Builder {
        // OF message fields
        private boolean valueSet;
        private TransportPort value;

    @Override
    public long getTypeLen() {
        return 0x80002402L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpDst.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpSrcVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpSrcVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpSrcVer14.java160
                return new OFOxmSctpSrcVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmSctpSrc.Builder {
        // OF message fields
        private boolean valueSet;
        private TransportPort value;

    @Override
    public long getTypeLen() {
        return 0x80002202L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpSrc.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpDstVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpDstVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpDstVer14.java160
                return new OFOxmTcpDstVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmTcpDst.Builder {
        // OF message fields
        private boolean valueSet;
        private TransportPort value;

    @Override
    public long getTypeLen() {
        return 0x80001c02L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpDst.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpSrcVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpSrcVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpSrcVer14.java160
                return new OFOxmTcpSrcVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmTcpSrc.Builder {
        // OF message fields
        private boolean valueSet;
        private TransportPort value;

    @Override
    public long getTypeLen() {
        return 0x80001a02L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpSrc.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4DstVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4DstVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4DstVer14.java160
                return new OFOxmTunnelIpv4DstVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmTunnelIpv4Dst.Builder {
        // OF message fields
        private boolean valueSet;
        private IPv4Address value;

    @Override
    public long getTypeLen() {
        return 0x14004L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4Dst.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4SrcVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4SrcVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4SrcVer14.java160
                return new OFOxmTunnelIpv4SrcVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmTunnelIpv4Src.Builder {
        // OF message fields
        private boolean valueSet;
        private IPv4Address value;

    @Override
    public long getTypeLen() {
        return 0x13e04L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4Src.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpDstVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpDstVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpDstVer14.java160
                return new OFOxmUdpDstVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmUdpDst.Builder {
        // OF message fields
        private boolean valueSet;
        private TransportPort value;

    @Override
    public long getTypeLen() {
        return 0x80002002L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpDst.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpSrcVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpSrcVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpSrcVer14.java160
                return new OFOxmUdpSrcVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmUdpSrc.Builder {
        // OF message fields
        private boolean valueSet;
        private TransportPort value;

    @Override
    public long getTypeLen() {
        return 0x80001e02L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpSrc.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanPcpVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanPcpVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanPcpVer14.java160
                return new OFOxmVlanPcpVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmVlanPcp.Builder {
        // OF message fields
        private boolean valueSet;
        private VlanPcp value;

    @Override
    public long getTypeLen() {
        return 0x80000e01L;
    }

    @Override
    public VlanPcp getValue() {
        return value;
    }

    @Override
    public OFOxmVlanPcp.Builder setValue(VlanPcp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<VlanPcp> getMatchField() {
        return MatchField.VLAN_PCP;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<VlanPcp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanVidVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanVidVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanVidVer14.java160
                return new OFOxmVlanVidVer12(
                    value
                );
        }

    }

    static class Builder implements OFOxmVlanVid.Builder {
        // OF message fields
        private boolean valueSet;
        private OFVlanVidMatch value;

    @Override
    public long getTypeLen() {
        return 0x80000c02L;
    }

    @Override
    public OFVlanVidMatch getValue() {
        return value;
    }

    @Override
    public OFOxmVlanVid.Builder setValue(OFVlanVidMatch value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFVlanVidMatch> getMatchField() {
        return MatchField.VLAN_VID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFVlanVidMatch> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnChecksumVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnGentableVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnMirrorVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFActionIdBsnSetTunnelDstVer13.java89
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnArpOffloadVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnAutoNegotiationVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnDenyVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnDhcpOffloadVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnDisableL3Ver13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnDisableSplitHorizonCheckVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnDisableSrcMacCheckVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnDisableVlanCountersVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnInternalPriorityVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnPacketOfDeathVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnPermitVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnPrioritizePdusVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnRequireVlanXlateVer13.java88
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdBsnSpanDestinationVer13.java88
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnChecksumVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnGentableVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnMirrorVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFActionIdBsnSetTunnelDstVer14.java89
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnArpOffloadVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnAutoNegotiationVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnDenyVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnDhcpOffloadVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnDisableL3Ver14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnDisableSrcMacCheckVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnDisableVlanCountersVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnInternalPriorityVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnPacketOfDeathVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnPermitVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnPrioritizePdusVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnRequireVlanXlateVer14.java88
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdBsnSpanDestinationVer14.java88
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 12)
                throw new OFParseError("Wrong length: Expected=12(12), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // fixed value property experimenter == 0x5c16c7L
            int experimenter = bb.readInt();
            if(experimenter != 0x5c16c7)
                throw new OFParseError("Wrong experimenter: Expected=0x5c16c7L(0x5c16c7L), got="+experimenter);
            // fixed value property subtype == 0x4L
            int subtype = bb.readInt();
            if(subtype != 0x4)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionTypeSerializerVer13.java103
org/projectfloodlight/openflow/protocol/ver14/OFActionTypeSerializerVer14.java103
                throw new IllegalArgumentException("Illegal wire value for type OFActionType in version 1.3: " + val);
        }
    }


    public static short toWireValue(OFActionType e) {
        switch(e) {
            case OUTPUT:
                return OUTPUT_VAL;
            case COPY_TTL_OUT:
                return COPY_TTL_OUT_VAL;
            case COPY_TTL_IN:
                return COPY_TTL_IN_VAL;
            case SET_MPLS_TTL:
                return SET_MPLS_TTL_VAL;
            case DEC_MPLS_TTL:
                return DEC_MPLS_TTL_VAL;
            case PUSH_VLAN:
                return PUSH_VLAN_VAL;
            case POP_VLAN:
                return POP_VLAN_VAL;
            case PUSH_MPLS:
                return PUSH_MPLS_VAL;
            case POP_MPLS:
                return POP_MPLS_VAL;
            case SET_QUEUE:
                return SET_QUEUE_VAL;
            case GROUP:
                return GROUP_VAL;
            case SET_NW_TTL:
                return SET_NW_TTL_VAL;
            case DEC_NW_TTL:
                return DEC_NW_TTL_VAL;
            case SET_FIELD:
                return SET_FIELD_VAL;
            case PUSH_PBB:
                return PUSH_PBB_VAL;
            case POP_PBB:
                return POP_PBB_VAL;
            case EXPERIMENTER:
                return EXPERIMENTER_VAL;
            default:
                throw new IllegalArgumentException("Illegal enum value for type OFActionType in version 1.3: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsEntryVer13.java137
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsEntryVer14.java137
                return new OFBsnDebugCounterStatsEntryVer13(
                    counterId,
                    value
                );
        }

    }

    static class Builder implements OFBsnDebugCounterStatsEntry.Builder {
        // OF message fields
        private boolean counterIdSet;
        private U64 counterId;
        private boolean valueSet;
        private U64 value;

    @Override
    public U64 getCounterId() {
        return counterId;
    }

    @Override
    public OFBsnDebugCounterStatsEntry.Builder setCounterId(U64 counterId) {
        this.counterId = counterId;
        this.counterIdSet = true;
        return this;
    }
    @Override
    public U64 getValue() {
        return value;
    }

    @Override
    public OFBsnDebugCounterStatsEntry.Builder setValue(U64 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsEntryVer13.java100
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsEntryVer13.java154
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPortCounterStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public List<U64> getValues() {
        return values;
    }

    @Override
    public OFBsnPortCounterStatsEntry.Builder setValues(List<U64> values) {
        this.values = values;
        this.valuesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFBsnPortCounterStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetAuxCxnsReplyVer13.java386
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetAuxCxnsReplyVer14.java386
        OFBsnSetAuxCxnsReplyVer13 other = (OFBsnSetAuxCxnsReplyVer13) obj;

        if( xid != other.xid)
            return false;
        if( numAux != other.numAux)
            return false;
        if( status != other.status)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime *  (int) (numAux ^ (numAux >>> 32));
        result = prime *  (int) (status ^ (status >>> 32));
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsEntryVer13.java137
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsEntryVer14.java137
                return new OFBsnTableChecksumStatsEntryVer13(
                    tableId,
                    checksum
                );
        }

    }

    static class Builder implements OFBsnTableChecksumStatsEntry.Builder {
        // OF message fields
        private boolean tableIdSet;
        private TableId tableId;
        private boolean checksumSet;
        private U64 checksum;

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnTableChecksumStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U64 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnTableChecksumStatsEntry.Builder setChecksum(U64 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsEntryVer13.java97
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsEntryVer13.java149
    @Override
    public int getVlanVid() {
        return vlanVid;
    }

    @Override
    public OFBsnVlanCounterStatsEntry.Builder setVlanVid(int vlanVid) {
        this.vlanVid = vlanVid;
        this.vlanVidSet = true;
        return this;
    }
    @Override
    public List<U64> getValues() {
        return values;
    }

    @Override
    public OFBsnVlanCounterStatsEntry.Builder setValues(List<U64> values) {
        this.values = values;
        this.valuesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFBsnVlanCounterStatsEntry build() {
                int vlanVid = this.vlanVidSet ? this.vlanVid : parentMessage.vlanVid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsEntryVer13.java97
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsEntryVer13.java149
    @Override
    public long getVrf() {
        return vrf;
    }

    @Override
    public OFBsnVrfCounterStatsEntry.Builder setVrf(long vrf) {
        this.vrf = vrf;
        this.vrfSet = true;
        return this;
    }
    @Override
    public List<U64> getValues() {
        return values;
    }

    @Override
    public OFBsnVrfCounterStatsEntry.Builder setValues(List<U64> values) {
        this.values = values;
        this.valuesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFBsnVrfCounterStatsEntry build() {
                long vrf = this.vrfSet ? this.vrf : parentMessage.vrf;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandExperimenterVer13.java332
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandExperimenterVer14.java332
        OFMeterBandExperimenterVer13 other = (OFMeterBandExperimenterVer13) obj;

        if( rate != other.rate)
            return false;
        if( burstSize != other.burstSize)
            return false;
        if( experimenter != other.experimenter)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (rate ^ (rate >>> 32));
        result = prime *  (int) (burstSize ^ (burstSize >>> 32));
        result = prime *  (int) (experimenter ^ (experimenter >>> 32));
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandStatsVer13.java137
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandStatsVer14.java137
                return new OFMeterBandStatsVer13(
                    packetBandCount,
                    byteBandCount
                );
        }

    }

    static class Builder implements OFMeterBandStats.Builder {
        // OF message fields
        private boolean packetBandCountSet;
        private U64 packetBandCount;
        private boolean byteBandCountSet;
        private U64 byteBandCount;

    @Override
    public U64 getPacketBandCount() {
        return packetBandCount;
    }

    @Override
    public OFMeterBandStats.Builder setPacketBandCount(U64 packetBandCount) {
        this.packetBandCount = packetBandCount;
        this.packetBandCountSet = true;
        return this;
    }
    @Override
    public U64 getByteBandCount() {
        return byteBandCount;
    }

    @Override
    public OFMeterBandStats.Builder setByteBandCount(U64 byteBandCount) {
        this.byteBandCount = byteBandCount;
        this.byteBandCountSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthDstVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthDstVer14.java160
                return new OFOxmBsnInnerEthDstVer13(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnInnerEthDst.Builder {
        // OF message fields
        private boolean valueSet;
        private MacAddress value;

    @Override
    public long getTypeLen() {
        return 0x32c06L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInnerEthDst.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.BSN_INNER_ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthSrcVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthSrcVer14.java160
                return new OFOxmBsnInnerEthSrcVer13(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnInnerEthSrc.Builder {
        // OF message fields
        private boolean valueSet;
        private MacAddress value;

    @Override
    public long getTypeLen() {
        return 0x32e06L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInnerEthSrc.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.BSN_INNER_ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVxlanNetworkIdVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVxlanNetworkIdVer14.java160
                return new OFOxmBsnVxlanNetworkIdVer13(
                    value
                );
        }

    }

    static class Builder implements OFOxmBsnVxlanNetworkId.Builder {
        // OF message fields
        private boolean valueSet;
        private U32 value;

    @Override
    public long getTypeLen() {
        return 0x32a04L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVxlanNetworkId.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.BSN_VXLAN_NETWORK_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6ExthdrVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6ExthdrVer14.java160
                return new OFOxmIpv6ExthdrVer13(
                    value
                );
        }

    }

    static class Builder implements OFOxmIpv6Exthdr.Builder {
        // OF message fields
        private boolean valueSet;
        private U16 value;

    @Override
    public long getTypeLen() {
        return 0x80004e02L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6Exthdr.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.IPV6_EXTHDR;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsBosVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsBosVer14.java160
                return new OFOxmMplsBosVer13(
                    value
                );
        }

    }

    static class Builder implements OFOxmMplsBos.Builder {
        // OF message fields
        private boolean valueSet;
        private OFBooleanValue value;

    @Override
    public long getTypeLen() {
        return 0x80004801L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmMplsBos.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.MPLS_BOS;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIdVer13.java160
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIdVer14.java160
                return new OFOxmTunnelIdVer13(
                    value
                );
        }

    }

    static class Builder implements OFOxmTunnelId.Builder {
        // OF message fields
        private boolean valueSet;
        private U64 value;

    @Override
    public long getTypeLen() {
        return 0x80004c08L;
    }

    @Override
    public U64 getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelId.Builder setValue(U64 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U64> getMatchField() {
        return MatchField.TUNNEL_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U64> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortOpticalTransportLayerStackVer13.java97
org/projectfloodlight/openflow/protocol/ver13/OFPortOpticalTransportLayerStackVer13.java149
    @Override
    public int getFeatureType() {
        return featureType;
    }

    @Override
    public OFPortOpticalTransportLayerStack.Builder setFeatureType(int featureType) {
        this.featureType = featureType;
        this.featureTypeSet = true;
        return this;
    }
    @Override
    public List<OFPortOpticalTransportLayerEntry> getEntries() {
        return entries;
    }

    @Override
    public OFPortOpticalTransportLayerStack.Builder setEntries(List<OFPortOpticalTransportLayerEntry> entries) {
        this.entries = entries;
        this.entriesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFPortOpticalTransportLayerStack build() {
                int featureType = this.featureTypeSet ? this.featureType : parentMessage.featureType;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsEntryVer14.java100
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsEntryVer14.java154
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public OFBsnPortCounterStatsEntry.Builder setPortNo(OFPort portNo) {
        this.portNo = portNo;
        this.portNoSet = true;
        return this;
    }
    @Override
    public List<U64> getValues() {
        return values;
    }

    @Override
    public OFBsnPortCounterStatsEntry.Builder setValues(List<U64> values) {
        this.values = values;
        this.valuesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFBsnPortCounterStatsEntry build() {
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsEntryVer14.java97
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsEntryVer14.java149
    @Override
    public int getVlanVid() {
        return vlanVid;
    }

    @Override
    public OFBsnVlanCounterStatsEntry.Builder setVlanVid(int vlanVid) {
        this.vlanVid = vlanVid;
        this.vlanVidSet = true;
        return this;
    }
    @Override
    public List<U64> getValues() {
        return values;
    }

    @Override
    public OFBsnVlanCounterStatsEntry.Builder setValues(List<U64> values) {
        this.values = values;
        this.valuesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFBsnVlanCounterStatsEntry build() {
                int vlanVid = this.vlanVidSet ? this.vlanVid : parentMessage.vlanVid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsEntryVer14.java97
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsEntryVer14.java149
    @Override
    public long getVrf() {
        return vrf;
    }

    @Override
    public OFBsnVrfCounterStatsEntry.Builder setVrf(long vrf) {
        this.vrf = vrf;
        this.vrfSet = true;
        return this;
    }
    @Override
    public List<U64> getValues() {
        return values;
    }

    @Override
    public OFBsnVrfCounterStatsEntry.Builder setValues(List<U64> values) {
        this.values = values;
        this.valuesSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFBsnVrfCounterStatsEntry build() {
                long vrf = this.vrfSet ? this.vrf : parentMessage.vrf;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFTableDescVer14.java99
org/projectfloodlight/openflow/protocol/ver14/OFTableDescVer14.java153
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableDesc.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public Set<OFTableConfig> getConfig() {
        return config;
    }

    @Override
    public OFTableDesc.Builder setConfig(Set<OFTableConfig> config) {
        this.config = config;
        this.configSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFTableDesc build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFAggregateStatsReplyVer10.java80
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsReplyVer11.java80
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsReplyVer12.java80
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsReplyVer13.java80
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsReplyVer14.java80
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.AGGREGATE;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public long getFlowCount() {
        return flowCount;
    }



    public OFAggregateStatsReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFAggregateStatsReply.Builder {
        final OFAggregateStatsReplyVer10 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFEchoReplyVer10.java104
org/projectfloodlight/openflow/protocol/ver11/OFEchoReplyVer11.java161
org/projectfloodlight/openflow/protocol/ver12/OFEchoReplyVer12.java161
org/projectfloodlight/openflow/protocol/ver13/OFEchoReplyVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFEchoReplyVer14.java161
    }

    @Override
    public OFType getType() {
        return OFType.ECHO_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFEchoReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFEchoReply.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFEchoReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFEchoReplyVer10.java161
org/projectfloodlight/openflow/protocol/ver11/OFEchoReplyVer11.java104
org/projectfloodlight/openflow/protocol/ver12/OFEchoReplyVer12.java104
org/projectfloodlight/openflow/protocol/ver13/OFEchoReplyVer13.java104
org/projectfloodlight/openflow/protocol/ver14/OFEchoReplyVer14.java104
    }

    @Override
    public OFType getType() {
        return OFType.ECHO_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFEchoReply.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFEchoReply.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFEchoReply build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFEchoRequestVer10.java104
org/projectfloodlight/openflow/protocol/ver11/OFEchoRequestVer11.java161
org/projectfloodlight/openflow/protocol/ver12/OFEchoRequestVer12.java161
org/projectfloodlight/openflow/protocol/ver13/OFEchoRequestVer13.java161
org/projectfloodlight/openflow/protocol/ver14/OFEchoRequestVer14.java161
    }

    @Override
    public OFType getType() {
        return OFType.ECHO_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFEchoRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFEchoRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }


        @Override
        public OFEchoRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFEchoRequestVer10.java161
org/projectfloodlight/openflow/protocol/ver11/OFEchoRequestVer11.java104
org/projectfloodlight/openflow/protocol/ver12/OFEchoRequestVer12.java104
org/projectfloodlight/openflow/protocol/ver13/OFEchoRequestVer13.java104
org/projectfloodlight/openflow/protocol/ver14/OFEchoRequestVer14.java104
    }

    @Override
    public OFType getType() {
        return OFType.ECHO_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFEchoRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFEchoRequest.Builder setData(byte[] data) {
        this.data = data;
        this.dataSet = true;
        return this;
    }
//
        @Override
        public OFEchoRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowAddVer10.java450
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteStrictVer10.java449
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteVer10.java449
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyStrictVer10.java449
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyVer10.java449
    static class Builder implements OFFlowAdd.Builder {
        // OF message fields
        private boolean xidSet;
        private long xid;
        private boolean matchSet;
        private Match match;
        private boolean cookieSet;
        private U64 cookie;
        private boolean idleTimeoutSet;
        private int idleTimeout;
        private boolean hardTimeoutSet;
        private int hardTimeout;
        private boolean prioritySet;
        private int priority;
        private boolean bufferIdSet;
        private OFBufferId bufferId;
        private boolean outPortSet;
        private OFPort outPort;
        private boolean flagsSet;
        private Set<OFFlowModFlags> flags;
        private boolean actionsSet;
        private List<OFAction> actions;

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_MOD;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFFlowAdd.Builder setXid(long xid) {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPacketInReasonSerializerVer10.java35
org/projectfloodlight/openflow/protocol/ver11/OFPacketInReasonSerializerVer11.java35
org/projectfloodlight/openflow/protocol/ver12/OFPacketInReasonSerializerVer12.java36
org/projectfloodlight/openflow/protocol/ver13/OFPacketInReasonSerializerVer13.java50
org/projectfloodlight/openflow/protocol/ver14/OFPacketInReasonSerializerVer14.java53
    public static OFPacketInReason readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readByte());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFPacketInReason e) {
        bb.writeByte(toWireValue(e));
    }

    public static void putTo(OFPacketInReason e, PrimitiveSink sink) {
        sink.putByte(toWireValue(e));
    }

    public static OFPacketInReason ofWireValue(byte val) {
        switch(val) {
            case NO_MATCH_VAL:
                return OFPacketInReason.NO_MATCH;
            case ACTION_VAL:
                return OFPacketInReason.ACTION;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortModFailedCodeSerializerVer10.java35
org/projectfloodlight/openflow/protocol/ver11/OFPortModFailedCodeSerializerVer11.java37
org/projectfloodlight/openflow/protocol/ver12/OFPortModFailedCodeSerializerVer12.java38
org/projectfloodlight/openflow/protocol/ver13/OFPortModFailedCodeSerializerVer13.java38
org/projectfloodlight/openflow/protocol/ver14/OFPortModFailedCodeSerializerVer14.java38
    public static OFPortModFailedCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFPortModFailedCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFPortModFailedCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFPortModFailedCode ofWireValue(short val) {
        switch(val) {
            case BAD_PORT_VAL:
                return OFPortModFailedCode.BAD_PORT;
            case BAD_HW_ADDR_VAL:
                return OFPortModFailedCode.BAD_HW_ADDR;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBucketVer11.java344
org/projectfloodlight/openflow/protocol/ver12/OFBucketVer12.java344
org/projectfloodlight/openflow/protocol/ver13/OFBucketVer13.java344
org/projectfloodlight/openflow/protocol/ver14/OFBucketVer14.java344
        public void write(ChannelBuffer bb, OFBucketVer11 message) {
            int startIndex = bb.writerIndex();
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            bb.writeShort(U16.t(message.weight));
            message.watchPort.write4Bytes(bb);
            message.watchGroup.write4Bytes(bb);
            // pad: 4 bytes
            bb.writeZero(4);
            ChannelUtils.writeList(bb, message.actions);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFBucketVer11(");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java103
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java106
    }

    @Override
    public OFType getType() {
        return OFType.FLOW_REMOVED;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public U64 getCookie() {
        return cookie;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public short getReason() {
        return reason;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public long getDurationSec() {
        return durationSec;
    }

    @Override
    public long getDurationNsec() {
        return durationNsec;
    }

    @Override
    public int getIdleTimeout() {
        return idleTimeout;
    }

    @Override
    public int getHardTimeout()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java787
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java810
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleVer13.java519
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java810
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleVer14.java519
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java810
        } else if (!byteCount.equals(other.byteCount))
            return false;
        if (match == null) {
            if (other.match != null)
                return false;
        } else if (!match.equals(other.match))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((cookie == null) ? 0 : cookie.hashCode());
        result = prime * result + priority;
        result = prime * result + reason;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java724
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java724
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java900
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java751
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java768
        public void write(ChannelBuffer bb, OFFlowStatsEntryVer11 message) {
            int startIndex = bb.writerIndex();
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            message.tableId.writeByte(bb);
            // pad: 1 bytes
            bb.writeZero(1);
            bb.writeInt(U32.t(message.durationSec));
            bb.writeInt(U32.t(message.durationNsec));
            bb.writeShort(U16.t(message.priority));
            bb.writeShort(U16.t(message.idleTimeout));
            bb.writeShort(U16.t(message.hardTimeout));
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java845
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java845
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java881
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java904
        result = prime * result + ((cookie == null) ? 0 : cookie.hashCode());
        result = prime * result + ((packetCount == null) ? 0 : packetCount.hashCode());
        result = prime * result + ((byteCount == null) ? 0 : byteCount.hashCode());
        result = prime * result + ((match == null) ? 0 : match.hashCode());
        result = prime * result + ((instructions == null) ? 0 : instructions.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFSwitchConfigFailedCodeSerializerVer11.java35
org/projectfloodlight/openflow/protocol/ver12/OFSwitchConfigFailedCodeSerializerVer12.java36
org/projectfloodlight/openflow/protocol/ver13/OFSwitchConfigFailedCodeSerializerVer13.java36
org/projectfloodlight/openflow/protocol/ver14/OFSwitchConfigFailedCodeSerializerVer14.java36
    public static OFSwitchConfigFailedCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFSwitchConfigFailedCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFSwitchConfigFailedCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFSwitchConfigFailedCode ofWireValue(short val) {
        switch(val) {
            case BAD_FLAGS_VAL:
                return OFSwitchConfigFailedCode.BAD_FLAGS;
            case BAD_LEN_VAL:
                return OFSwitchConfigFailedCode.BAD_LEN;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableModFailedCodeSerializerVer11.java35
org/projectfloodlight/openflow/protocol/ver12/OFTableModFailedCodeSerializerVer12.java36
org/projectfloodlight/openflow/protocol/ver13/OFTableModFailedCodeSerializerVer13.java36
org/projectfloodlight/openflow/protocol/ver14/OFTableModFailedCodeSerializerVer14.java36
    public static OFTableModFailedCode readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFTableModFailedCode e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFTableModFailedCode e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFTableModFailedCode ofWireValue(short val) {
        switch(val) {
            case BAD_TABLE_VAL:
                return OFTableModFailedCode.BAD_TABLE;
            case BAD_CONFIG_VAL:
                return OFTableModFailedCode.BAD_CONFIG;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionCircuitVer13.java100
org/projectfloodlight/openflow/protocol/ver13/OFActionCircuitVer13.java157
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x748771L;
    }

    @Override
    public int getSubtype() {
        return 0x19;
    }

    @Override
    public int getHlength() {
        return 0x10;
    }

    @Override
    public OFOxm<?> getField() {
        return field;
    }

    @Override
    public OFActionCircuit.Builder setField(OFOxm<?> field) {
        this.field = field;
        this.fieldSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFActionCircuit build() {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionVer13.java253
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionVer14.java253
    }

//
        @Override
        public OFBsnControllerConnection build() {
            if(!this.stateSet)
                throw new IllegalStateException("Property state doesn't have default value -- must be set");
            if(state == null)
                throw new NullPointerException("Property state must not be null");
            OFAuxId auxiliaryId = this.auxiliaryIdSet ? this.auxiliaryId : DEFAULT_AUXILIARY_ID;
            if(auxiliaryId == null)
                throw new NullPointerException("Property auxiliaryId must not be null");
            if(!this.roleSet)
                throw new IllegalStateException("Property role doesn't have default value -- must be set");
            if(role == null)
                throw new NullPointerException("Property role must not be null");
            String uri = this.uriSet ? this.uri : DEFAULT_URI;
            if(uri == null)
                throw new NullPointerException("Property uri must not be null");


            return new OFBsnControllerConnectionVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsRequestVer13.java71
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsRequestVer14.java71
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }



    public OFBsnFlowChecksumBucketStatsRequest.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnFlowChecksumBucketStatsRequest.Builder {
        final OFBsnFlowChecksumBucketStatsRequestVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsRequestVer13.java66
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsRequestVer14.java66
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x5L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }



    public OFBsnGentableBucketStatsRequest.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnGentableBucketStatsRequest.Builder {
        final OFBsnGentableBucketStatsRequestVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java856
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpRequestVer13.java629
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java856
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpRequestVer14.java629
        if( convergenceStatus != other.convergenceStatus)
            return false;
        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if( actorSysPriority != other.actorSysPriority)
            return false;
        if (actorSysMac == null) {
            if (other.actorSysMac != null)
                return false;
        } else if (!actorSysMac.equals(other.actorSysMac))
            return false;
        if( actorPortPriority != other.actorPortPriority)
            return false;
        if( actorPortNum != other.actorPortNum)
            return false;
        if( actorKey != other.actorKey)
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLuaUploadVer13.java78
org/projectfloodlight/openflow/protocol/ver14/OFBsnLuaUploadVer14.java78
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x40L;
    }

    @Override
    public Set<OFBsnLuaUploadFlags> getFlags() {
        return flags;
    }

    @Override
    public String getFilename() {
        return filename;
    }

    @Override
    public byte[] getData() {
        return data;
    }



    public OFBsnLuaUpload.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnLuaUpload.Builder {
        final OFBsnLuaUploadVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsRequestVer13.java71
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsRequestVer14.java71
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x8L;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }



    public OFBsnPortCounterStatsRequest.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnPortCounterStatsRequest.Builder {
        final OFBsnPortCounterStatsRequestVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvReferenceVer13.java98
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvReferenceVer14.java98
        BuilderWithParent(OFBsnTlvReferenceVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public int getType() {
        return 0x3b;
    }

    @Override
    public int getTableId() {
        return tableId;
    }

    @Override
    public OFBsnTlvReference.Builder setTableId(int tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnTlvReference.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsRequestVer13.java68
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsRequestVer14.java68
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x9L;
    }

    @Override
    public int getVlanVid() {
        return vlanVid;
    }



    public OFBsnVlanCounterStatsRequest.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnVlanCounterStatsRequest.Builder {
        final OFBsnVlanCounterStatsRequestVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsRequestVer13.java68
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsRequestVer14.java68
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xfL;
    }

    @Override
    public long getVrf() {
        return vrf;
    }



    public OFBsnVrfCounterStatsRequest.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnVrfCounterStatsRequest.Builder {
        final OFBsnVrfCounterStatsRequestVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesVer13.java58
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesVer14.java58
    OFMeterFeaturesVer13(long maxMeter, long bandTypes, long capabilities, short maxBands, short maxColor) {
        this.maxMeter = maxMeter;
        this.bandTypes = bandTypes;
        this.capabilities = capabilities;
        this.maxBands = maxBands;
        this.maxColor = maxColor;
    }

    // Accessors for OF message fields
    @Override
    public long getMaxMeter() {
        return maxMeter;
    }

    @Override
    public long getBandTypes() {
        return bandTypes;
    }

    @Override
    public long getCapabilities() {
        return capabilities;
    }

    @Override
    public short getMaxBands() {
        return maxBands;
    }

    @Override
    public short getMaxColor() {
        return maxColor;
    }

    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropExperimenterMissVer13.java38
org/projectfloodlight/openflow/protocol/ver14/OFBundlePropExperimenterVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFPortModPropExperimenterVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsPropExperimenterVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFQueueDescPropExperimenterVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsPropExperimenterVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFRolePropExperimenterVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropExperimenterMissVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFTableModPropExperimenterVer14.java38
        public OFTableFeaturePropExperimenterMiss readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 0xffff
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=0xffff(0xffff), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            int experimenter = bb.readInt();
            bb.readerIndex(start);
            switch(experimenter) {
               default:
                   throw new OFParseError("Unknown value for discriminator experimenter of class OFTableFeaturePropExperimenterMissVer13: " + experimenter);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetInterfacesReplyVer10.java356
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetInterfacesReplyVer11.java356
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetInterfacesReplyVer12.java356
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetInterfacesReplyVer13.java356
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetInterfacesReplyVer14.java356
        OFBsnGetInterfacesReplyVer10 other = (OFBsnGetInterfacesReplyVer10) obj;

        if( xid != other.xid)
            return false;
        if (interfaces == null) {
            if (other.interfaces != null)
                return false;
        } else if (!interfaces.equals(other.interfaces))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((interfaces == null) ? 0 : interfaces.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxRequestVer10.java503
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxRequestVer10.java503
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxRequestVer11.java503
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxRequestVer11.java503
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxRequestVer12.java503
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxRequestVer12.java503
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxRequestVer13.java503
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxRequestVer13.java503
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxRequestVer14.java503
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxRequestVer14.java503
        if( timeoutMs != other.timeoutMs)
            return false;
        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if( slotNum != other.slotNum)
            return false;
        if (!Arrays.equals(data, other.data))
                return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime *  (int) (timeoutMs ^ (timeoutMs >>> 32));
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVirtualPortCreateRequestVer10.java350
org/projectfloodlight/openflow/protocol/ver11/OFBsnVirtualPortCreateRequestVer11.java350
org/projectfloodlight/openflow/protocol/ver12/OFBsnVirtualPortCreateRequestVer12.java350
org/projectfloodlight/openflow/protocol/ver13/OFBsnVirtualPortCreateRequestVer13.java350
org/projectfloodlight/openflow/protocol/ver14/OFBsnVirtualPortCreateRequestVer14.java350
        OFBsnVirtualPortCreateRequestVer10 other = (OFBsnVirtualPortCreateRequestVer10) obj;

        if( xid != other.xid)
            return false;
        if (vport == null) {
            if (other.vport != null)
                return false;
        } else if (!vport.equals(other.vport))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((vport == null) ? 0 : vport.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportL2GreVer10.java658
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreVer11.java658
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreVer12.java658
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreVer13.java658
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreVer14.java658
            OFPort loopbackPortNo = OFPort.read2Bytes(bb);
            MacAddress localMac = MacAddress.read6Bytes(bb);
            MacAddress nhMac = MacAddress.read6Bytes(bb);
            IPv4Address srcIp = IPv4Address.read4Bytes(bb);
            IPv4Address dstIp = IPv4Address.read4Bytes(bb);
            short dscp = U8.f(bb.readByte());
            short ttl = U8.f(bb.readByte());
            // pad: 2 bytes
            bb.skipBytes(2);
            long vpn = U32.f(bb.readInt());
            long rateLimit = U32.f(bb.readInt());
            String ifName = ChannelUtils.readFixedLengthString(bb, 16);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFDescStatsRequestVer10.java327
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsRequestVer10.java327
org/projectfloodlight/openflow/protocol/ver11/OFDescStatsRequestVer11.java332
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsRequestVer11.java332
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsRequestVer11.java332
org/projectfloodlight/openflow/protocol/ver12/OFDescStatsRequestVer12.java332
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsRequestVer12.java332
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsRequestVer12.java332
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsRequestVer12.java332
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsRequestVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsRequestVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsRequestVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsRequestVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFBsnImageDescStatsRequestVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsRequestVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsRequestVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsRequestVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsRequestVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortsRequestVer13.java378
org/projectfloodlight/openflow/protocol/ver13/OFDescStatsRequestVer13.java332
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsRequestVer13.java332
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsRequestVer13.java332
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesStatsRequestVer13.java332
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsRequestVer13.java332
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsRequestVer13.java332
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsRequestVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsRequestVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsRequestVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsRequestVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFBsnImageDescStatsRequestVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsRequestVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsRequestVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsRequestVer14.java378
org/projectfloodlight/openflow/protocol/ver14/OFDescStatsRequestVer14.java332
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsRequestVer14.java332
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsRequestVer14.java332
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesStatsRequestVer14.java332
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsRequestVer14.java332
org/projectfloodlight/openflow/protocol/ver14/OFQueueDescStatsRequestVer14.java332
org/projectfloodlight/openflow/protocol/ver14/OFTableDescStatsRequestVer14.java332
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsRequestVer14.java332
        OFDescStatsRequestVer10 other = (OFDescStatsRequestVer10) obj;

        if( xid != other.xid)
            return false;
        if (flags == null) {
            if (other.flags != null)
                return false;
        } else if (!flags.equals(other.flags))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsEntryVer10.java643
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java798
        public OFFlowStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            TableId tableId = TableId.readByte(bb);
            // pad: 1 bytes
            bb.skipBytes(1);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsEntryVer10.java733
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java732
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java732
            message.match.writeTo(bb);
            bb.writeInt(U32.t(message.durationSec));
            bb.writeInt(U32.t(message.durationNsec));
            bb.writeShort(U16.t(message.priority));
            bb.writeShort(U16.t(message.idleTimeout));
            bb.writeShort(U16.t(message.hardTimeout));
            // pad: 6 bytes
            bb.writeZero(6);
            bb.writeLong(message.cookie.getValue());
            bb.writeLong(message.packetCount.getValue());
            bb.writeLong(message.byteCount.getValue());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsReplyVer10.java282
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsReplyVer11.java282
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsReplyVer11.java282
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsReplyVer11.java282
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsReplyVer11.java282
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsReplyVer11.java282
org/projectfloodlight/openflow/protocol/ver12/OFAggregateStatsRequestVer12.java505
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsReplyVer12.java282
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsReplyVer12.java282
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsReplyVer12.java282
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsReplyVer12.java282
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsReplyVer12.java282
org/projectfloodlight/openflow/protocol/ver13/OFAggregateStatsRequestVer13.java505
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsRequestVer13.java357
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsReplyVer13.java350
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsRequestVer13.java521
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsReplyVer13.java350
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortsReplyVer13.java312
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsReplyVer13.java282
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsReplyVer13.java282
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsReplyVer13.java282
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsReplyVer13.java282
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsReplyVer13.java282
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsReplyVer13.java282
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsReplyVer13.java282
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsReplyVer13.java283
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsRequestVer13.java282
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsReplyVer13.java282
org/projectfloodlight/openflow/protocol/ver14/OFAggregateStatsRequestVer14.java505
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsRequestVer14.java357
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsReplyVer14.java312
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsReplyVer14.java282
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsReplyVer14.java282
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsReplyVer14.java282
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsReplyVer14.java282
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsReplyVer14.java282
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsReplyVer14.java282
org/projectfloodlight/openflow/protocol/ver14/OFQueueDescStatsReplyVer14.java282
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsReplyVer14.java282
org/projectfloodlight/openflow/protocol/ver14/OFTableDescStatsReplyVer14.java282
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsReplyVer14.java282
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsRequestVer14.java282
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsReplyVer14.java282
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(17), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 1
            short statsType = bb.readShort();
            if(statsType != (short) 0x1)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFNiciraControllerRoleReplyVer10.java345
org/projectfloodlight/openflow/protocol/ver10/OFNiciraControllerRoleRequestVer10.java345
        OFNiciraControllerRoleReplyVer10 other = (OFNiciraControllerRoleReplyVer10) obj;

        if( xid != other.xid)
            return false;
        if (role == null) {
            if (other.role != null)
                return false;
        } else if (!role.equals(other.role))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((role == null) ? 0 : role.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPacketOutVer10.java491
org/projectfloodlight/openflow/protocol/ver11/OFPacketInVer11.java679
org/projectfloodlight/openflow/protocol/ver11/OFPacketOutVer11.java496
org/projectfloodlight/openflow/protocol/ver12/OFPacketOutVer12.java496
org/projectfloodlight/openflow/protocol/ver13/OFPacketOutVer13.java496
org/projectfloodlight/openflow/protocol/ver14/OFPacketOutVer14.java496
        } else if (!actions.equals(other.actions))
            return false;
        if (!Arrays.equals(data, other.data))
                return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((bufferId == null) ? 0 : bufferId.hashCode());
        result = prime * result + ((inPort == null) ? 0 : inPort.hashCode());
        result = prime * result + ((actions == null) ? 0 : actions.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPacketQueueVer10.java307
org/projectfloodlight/openflow/protocol/ver11/OFPacketQueueVer11.java307
        OFPacketQueueVer10 other = (OFPacketQueueVer10) obj;

        if( queueId != other.queueId)
            return false;
        if (properties == null) {
            if (other.properties != null)
                return false;
        } else if (!properties.equals(other.properties))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (queueId ^ (queueId >>> 32));
        result = prime * result + ((properties == null) ? 0 : properties.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortModVer10.java360
org/projectfloodlight/openflow/protocol/ver11/OFPortModVer11.java360
org/projectfloodlight/openflow/protocol/ver12/OFPortModVer12.java360
org/projectfloodlight/openflow/protocol/ver13/OFPortModVer13.java360
            throw new UnsupportedOperationException("Property properties not supported in version 1.0");
    }
//
        @Override
        public OFPortMod build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            OFPort portNo = this.portNoSet ? this.portNo : DEFAULT_PORT_NO;
            if(portNo == null)
                throw new NullPointerException("Property portNo must not be null");
            MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : DEFAULT_HW_ADDR;
            if(hwAddr == null)
                throw new NullPointerException("Property hwAddr must not be null");
            long config = this.configSet ? this.config : DEFAULT_CONFIG;
            long mask = this.maskSet ? this.mask : DEFAULT_MASK;
            long advertise = this.advertiseSet ? this.advertise : DEFAULT_ADVERTISE;


            return new OFPortModVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsReplyVer10.java285
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsReplyVer10.java282
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsReplyVer10.java282
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsReplyVer11.java282
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsReplyVer12.java282
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsRequestVer12.java505
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsReplyVer13.java282
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsRequestVer13.java505
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsReplyVer14.java282
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsRequestVer14.java505
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REPLY(17), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 4
            short statsType = bb.readShort();
            if(statsType != (short) 0x4)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueGetConfigRequestVer10.java308
org/projectfloodlight/openflow/protocol/ver11/OFQueueGetConfigRequestVer11.java308
org/projectfloodlight/openflow/protocol/ver12/OFQueueGetConfigRequestVer12.java308
org/projectfloodlight/openflow/protocol/ver13/OFQueueGetConfigRequestVer13.java308
        OFQueueGetConfigRequestVer10 other = (OFQueueGetConfigRequestVer10) obj;

        if( xid != other.xid)
            return false;
        if (port == null) {
            if (other.port != null)
                return false;
        } else if (!port.equals(other.port))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((port == null) ? 0 : port.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java40
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java40
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java40
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java40
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java40
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java41
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java41
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java41
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java41
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java41
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java40
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java40
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java40
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java40
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java40
    final static int MINIMUM_LENGTH = 56;

        private final static long DEFAULT_XID = 0x0L;
        private final static U64 DEFAULT_COOKIE = U64.ZERO;
        private final static U64 DEFAULT_COOKIE_MASK = U64.ZERO;
        private final static TableId DEFAULT_TABLE_ID = TableId.ZERO;
        private final static int DEFAULT_IDLE_TIMEOUT = 0x0;
        private final static int DEFAULT_HARD_TIMEOUT = 0x0;
        private final static int DEFAULT_PRIORITY = 0x0;
        private final static OFBufferId DEFAULT_BUFFER_ID = OFBufferId.NO_BUFFER;
        private final static OFPort DEFAULT_OUT_PORT = OFPort.ANY;
        private final static OFGroup DEFAULT_OUT_GROUP = OFGroup.ANY;
        private final static Set<OFFlowModFlags> DEFAULT_FLAGS = ImmutableSet.<OFFlowModFlags>of();
        private final static Match DEFAULT_MATCH = OFFactoryVer12.MATCH_WILDCARD_ALL;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnGentableVer13.java308
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnGentableVer14.java308
        public void write(ChannelBuffer bb, OFActionBsnGentableVer13 message) {
            int startIndex = bb.writerIndex();
            // fixed value property type = 65535
            bb.writeShort((short) 0xffff);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            // fixed value property experimenter = 0x5c16c7L
            bb.writeInt(0x5c16c7);
            // fixed value property subtype = 0x5L
            bb.writeInt(0x5);
            bb.writeInt(U32.t(message.tableId));
            ChannelUtils.writeList(bb, message.key);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFActionBsnGentableVer13(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnGentableVer13.java348
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnGentableVer14.java348
        OFActionBsnGentableVer13 other = (OFActionBsnGentableVer13) obj;

        if( tableId != other.tableId)
            return false;
        if (key == null) {
            if (other.key != null)
                return false;
        } else if (!key.equals(other.key))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (tableId ^ (tableId >>> 32));
        result = prime * result + ((key == null) ? 0 : key.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionsReplyVer13.java356
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionsReplyVer14.java356
        OFBsnControllerConnectionsReplyVer13 other = (OFBsnControllerConnectionsReplyVer13) obj;

        if( xid != other.xid)
            return false;
        if (connections == null) {
            if (other.connections != null)
                return false;
        } else if (!connections.equals(other.connections))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((connections == null) ? 0 : connections.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetSwitchPipelineReplyVer13.java349
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetSwitchPipelineRequestVer13.java349
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetSwitchPipelineReplyVer14.java349
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetSwitchPipelineRequestVer14.java349
        OFBsnGetSwitchPipelineReplyVer13 other = (OFBsnGetSwitchPipelineReplyVer13) obj;

        if( xid != other.xid)
            return false;
        if (pipeline == null) {
            if (other.pipeline != null)
                return false;
        } else if (!pipeline.equals(other.pipeline))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((pipeline == null) ? 0 : pipeline.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java395
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java342
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpRequestVer13.java287
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java395
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java342
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpRequestVer14.java287
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                int actorSysPriority = this.actorSysPrioritySet ? this.actorSysPriority : parentMessage.actorSysPriority;
                MacAddress actorSysMac = this.actorSysMacSet ? this.actorSysMac : parentMessage.actorSysMac;
                if(actorSysMac == null)
                    throw new NullPointerException("Property actorSysMac must not be null");
                int actorPortPriority = this.actorPortPrioritySet ? this.actorPortPriority : parentMessage.actorPortPriority;
                int actorPortNum = this.actorPortNumSet ? this.actorPortNum : parentMessage.actorPortNum;
                int actorKey = this.actorKeySet ? this.actorKey : parentMessage.actorKey;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java858
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java723
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java858
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java723
        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if( actorSysPriority != other.actorSysPriority)
            return false;
        if (actorSysMac == null) {
            if (other.actorSysMac != null)
                return false;
        } else if (!actorSysMac.equals(other.actorSysMac))
            return false;
        if( actorPortPriority != other.actorPortPriority)
            return false;
        if( actorPortNum != other.actorPortNum)
            return false;
        if( actorKey != other.actorKey)
            return false;
        if( partnerSysPriority != other.partnerSysPriority)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsEntryVer13.java204
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsEntryVer13.java370
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsEntryVer14.java204
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsEntryVer14.java732
        public OFBsnPortCounterStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 2 bytes
            bb.skipBytes(2);
            OFPort portNo = OFPort.read4Bytes(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTimeReplyVer13.java349
org/projectfloodlight/openflow/protocol/ver14/OFBsnTimeReplyVer14.java349
        OFBsnTimeReplyVer13 other = (OFBsnTimeReplyVer13) obj;

        if( xid != other.xid)
            return false;
        if (timeMs == null) {
            if (other.timeMs != null)
                return false;
        } else if (!timeMs.equals(other.timeMs))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((timeMs == null) ? 0 : timeMs.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsEntryVer13.java284
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsEntryVer14.java284
        OFBsnVrfCounterStatsEntryVer13 other = (OFBsnVrfCounterStatsEntryVer13) obj;

        if( vrf != other.vrf)
            return false;
        if (values == null) {
            if (other.values != null)
                return false;
        } else if (!values.equals(other.values))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (vrf ^ (vrf >>> 32));
        result = prime * result + ((values == null) ? 0 : values.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFHelloVer13.java311
org/projectfloodlight/openflow/protocol/ver14/OFHelloVer14.java310
        OFHelloVer13 other = (OFHelloVer13) obj;

        if( xid != other.xid)
            return false;
        if (elements == null) {
            if (other.elements != null)
                return false;
        } else if (!elements.equals(other.elements))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((elements == null) ? 0 : elements.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropApplyActionsMissVer13.java179
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropApplyActionsVer13.java179
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropWriteActionsMissVer13.java179
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropWriteActionsVer13.java179
                throw new OFParseError("Wrong type: Expected=0x7(0x7), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<OFActionId> actionIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFActionIdVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropApplySetfieldMissVer13.java179
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropApplySetfieldVer13.java179
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropMatchVer13.java179
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropWildcardsVer13.java179
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropWriteSetfieldMissVer13.java179
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropWriteSetfieldVer13.java179
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropApplySetfieldMissVer14.java179
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropApplySetfieldVer14.java179
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropMatchVer14.java179
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropWildcardsVer14.java179
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropWriteSetfieldMissVer14.java179
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropWriteSetfieldVer14.java179
                throw new OFParseError("Wrong type: Expected=0xf(0xf), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<U32> oxmIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), U32.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropInstructionsMissVer13.java179
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropInstructionsVer13.java179
                throw new OFParseError("Wrong type: Expected=0x1(0x1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<OFInstructionId> instructionIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFInstructionIdVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropNextTablesMissVer13.java179
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropNextTablesVer13.java179
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropNextTablesMissVer14.java179
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropNextTablesVer14.java179
                throw new OFParseError("Wrong type: Expected=0x3(0x3), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<U8> nextTableIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), U8.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFAsyncGetReplyVer14.java448
org/projectfloodlight/openflow/protocol/ver14/OFAsyncGetRequestVer14.java448
org/projectfloodlight/openflow/protocol/ver14/OFAsyncSetVer14.java448
        OFAsyncGetReplyVer14 other = (OFAsyncGetReplyVer14) obj;

        if( xid != other.xid)
            return false;
        if (properties == null) {
            if (other.properties != null)
                return false;
        } else if (!properties.equals(other.properties))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((properties == null) ? 0 : properties.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropApplyActionsMissVer14.java179
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropApplyActionsVer14.java179
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropWriteActionsMissVer14.java179
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropWriteActionsVer14.java179
                throw new OFParseError("Wrong type: Expected=0x7(0x7), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<OFActionId> actionIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFActionIdVer14.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropInstructionsMissVer14.java179
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropInstructionsVer14.java179
                throw new OFParseError("Wrong type: Expected=0x1(0x1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<OFInstructionId> instructionIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFInstructionIdVer14.READER);
FileLine
net/onrc/openvirtex/elements/link/OVXLink.java290
net/onrc/openvirtex/elements/link/OVXLink.java306
net/onrc/openvirtex/elements/link/OVXLink.java313
net/onrc/openvirtex/elements/link/OVXLink.java320
                            OVXFlowAdd fm = OVXFactoryInst.myOVXFactory.buildOVXFlowAdd(fe.getXid(), fe.getMatch(), U64.of(((OVXFlowTable) this.getSrcPort()
                                    .getParentSwitch().getFlowTable())
                                    .getCookie(fe, true)), fe.getIdleTimeout(), fe.getHardTimeout(), fe.getPriority(), fe.getBufferId(), fe.getOutPort(), fe.getFlags(), fe.getActions());
 
                            this.generateLinkFMs(fm, flowId);
                            }
                            if (fe.getCommand().equals(OFFlowModCommand.ADD))
FileLine
net/onrc/openvirtex/messages/ver10/OVXPacketInVer10.java452
net/onrc/openvirtex/messages/ver10/OVXPacketOutVer10.java319
net/onrc/openvirtex/messages/ver13/OVXPacketInVer13.java514
net/onrc/openvirtex/messages/ver13/OVXPacketOutVer13.java299
            scratch = packetDataBB.get();
            scratch = (short) (0xf & scratch);
            transportOffset = packetDataBB.position() - 1 + scratch * 4;
            // nw tos (dscp)
            scratch = packetDataBB.get();
            ipDscp=(byte) ((0xfc & scratch) >> 2);
            // nw protocol
            packetDataBB.position(packetDataBB.position() + 7);
            ipProtocol = packetDataBB.get();
            // nw src
            packetDataBB.position(packetDataBB.position() + 2);
            ipv4Src = packetDataBB.getInt();
            // nw dst
            ipv4Dst = packetDataBB.getInt();
            packetDataBB.position(transportOffset);
            break;
        case 0x0806:
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionExperimenterVer10.java38
org/projectfloodlight/openflow/protocol/ver11/OFActionExperimenterVer11.java38
org/projectfloodlight/openflow/protocol/ver12/OFActionExperimenterVer12.java38
org/projectfloodlight/openflow/protocol/ver13/OFActionIdExperimenterVer13.java38
org/projectfloodlight/openflow/protocol/ver14/OFActionExperimenterVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFActionIdExperimenterVer14.java38
        public OFActionExperimenter readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFActionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            int experimenter = bb.readInt();
            bb.readerIndex(start);
            switch(experimenter) {
               case 0x5c16c7:
                   // discriminator value 0x5c16c7L=0x5c16c7L for class OFActionBsnVer10
                   return OFActionBsnVer10.READER.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnInterfaceVer10.java259
org/projectfloodlight/openflow/protocol/ver11/OFBsnInterfaceVer11.java259
org/projectfloodlight/openflow/protocol/ver12/OFBsnInterfaceVer12.java259
org/projectfloodlight/openflow/protocol/ver13/OFBsnInterfaceVer13.java259
org/projectfloodlight/openflow/protocol/ver14/OFBsnInterfaceVer14.java259
    }

//
        @Override
        public OFBsnInterface build() {
            MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : DEFAULT_HW_ADDR;
            if(hwAddr == null)
                throw new NullPointerException("Property hwAddr must not be null");
            String name = this.nameSet ? this.name : DEFAULT_NAME;
            if(name == null)
                throw new NullPointerException("Property name must not be null");
            IPv4Address ipv4Addr = this.ipv4AddrSet ? this.ipv4Addr : DEFAULT_IPV4_ADDR;
            if(ipv4Addr == null)
                throw new NullPointerException("Property ipv4Addr must not be null");
            IPv4Address ipv4Netmask = this.ipv4NetmaskSet ? this.ipv4Netmask : DEFAULT_IPV4_NETMASK;
            if(ipv4Netmask == null)
                throw new NullPointerException("Property ipv4Netmask must not be null");


            return new OFBsnInterfaceVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportL2GreVer10.java618
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportL2GreVer11.java618
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportL2GreVer12.java618
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportL2GreVer13.java618
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportL2GreVer14.java618
            return new OFBsnVportL2GreVer10(
                    flags,
                    portNo,
                    loopbackPortNo,
                    localMac,
                    nhMac,
                    srcIp,
                    dstIp,
                    dscp,
                    ttl,
                    vpn,
                    rateLimit,
                    ifName
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFBsnVportL2Gre> {
        @Override
        public OFBsnVportL2Gre readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            // fixed value property type == 0x1
            short type = bb.readShort();
            if(type != (short) 0x1)
                throw new OFParseError("Wrong type: Expected=0x1(0x1), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 60)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportQInQVer10.java214
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportQInQVer11.java214
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportQInQVer12.java214
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportQInQVer13.java214
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportQInQVer14.java214
    }



        @Override
        public OFBsnVportQInQ build() {
                long portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                int ingressTpid = this.ingressTpidSet ? this.ingressTpid : parentMessage.ingressTpid;
                int ingressVlanId = this.ingressVlanIdSet ? this.ingressVlanId : parentMessage.ingressVlanId;
                int egressTpid = this.egressTpidSet ? this.egressTpid : parentMessage.egressTpid;
                int egressVlanId = this.egressVlanIdSet ? this.egressVlanId : parentMessage.egressVlanId;
                String ifName = this.ifNameSet ? this.ifName : parentMessage.ifName;
                if(ifName == null)
                    throw new NullPointerException("Property ifName must not be null");

                //
                return new OFBsnVportQInQVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFeaturesReplyVer10.java275
org/projectfloodlight/openflow/protocol/ver11/OFFeaturesReplyVer11.java272
org/projectfloodlight/openflow/protocol/ver12/OFFeaturesReplyVer12.java272
            throw new UnsupportedOperationException("Property auxiliaryId not supported in version 1.0");
    }


        @Override
        public OFFeaturesReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                DatapathId datapathId = this.datapathIdSet ? this.datapathId : parentMessage.datapathId;
                if(datapathId == null)
                    throw new NullPointerException("Property datapathId must not be null");
                long nBuffers = this.nBuffersSet ? this.nBuffers : parentMessage.nBuffers;
                short nTables = this.nTablesSet ? this.nTables : parentMessage.nTables;
                Set<OFCapabilities> capabilities = this.capabilitiesSet ? this.capabilities : parentMessage.capabilities;
                if(capabilities == null)
                    throw new NullPointerException("Property capabilities must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java128
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java128
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java128
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java134
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsEntryVer14.java117
    }

    // Accessors for OF message fields
    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public U64 getRxPackets() {
        return rxPackets;
    }

    @Override
    public U64 getTxPackets() {
        return txPackets;
    }

    @Override
    public U64 getRxBytes() {
        return rxBytes;
    }

    @Override
    public U64 getTxBytes() {
        return txBytes;
    }

    @Override
    public U64 getRxDropped() {
        return rxDropped;
    }

    @Override
    public U64 getTxDropped() {
        return txDropped;
    }

    @Override
    public U64 getRxErrors() {
        return rxErrors;
    }

    @Override
    public U64 getTxErrors() {
        return txErrors;
    }

    @Override
    public U64 getRxFrameErr() {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java755
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java755
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java940
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java783
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java801
        StringBuilder b = new StringBuilder("OFFlowStatsEntryVer11(");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("durationSec=").append(durationSec);
        b.append(", ");
        b.append("durationNsec=").append(durationNsec);
        b.append(", ");
        b.append("priority=").append(priority);
        b.append(", ");
        b.append("idleTimeout=").append(idleTimeout);
        b.append(", ");
        b.append("hardTimeout=").append(hardTimeout);
        b.append(", ");
        b.append("cookie=").append(cookie);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPacketInVer12.java87
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java93
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java93
    }

    @Override
    public OFType getType() {
        return OFType.PACKET_IN;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBufferId getBufferId() {
        return bufferId;
    }

    @Override
    public int getTotalLen() {
        return totalLen;
    }

    @Override
    public OFPacketInReason getReason() {
        return reason;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public Match getMatch() {
        return match;
    }

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public OFPort getInPort()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property inPort not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java817
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpRequestVer13.java600
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java817
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpRequestVer14.java600
        b.append("convergenceStatus=").append(convergenceStatus);
        b.append(", ");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("actorSysPriority=").append(actorSysPriority);
        b.append(", ");
        b.append("actorSysMac=").append(actorSysMac);
        b.append(", ");
        b.append("actorPortPriority=").append(actorPortPriority);
        b.append(", ");
        b.append("actorPortNum=").append(actorPortNum);
        b.append(", ");
        b.append("actorKey=").append(actorKey);
        b.append(", ");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java818
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java685
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java818
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java685
        b.append(", ");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("actorSysPriority=").append(actorSysPriority);
        b.append(", ");
        b.append("actorSysMac=").append(actorSysMac);
        b.append(", ");
        b.append("actorPortPriority=").append(actorPortPriority);
        b.append(", ");
        b.append("actorPortNum=").append(actorPortNum);
        b.append(", ");
        b.append("actorKey=").append(actorKey);
        b.append(", ");
        b.append("partnerSysPriority=").append(partnerSysPriority);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionExperimenterVer13.java38
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdExperimenterVer13.java38
org/projectfloodlight/openflow/protocol/ver14/OFInstructionExperimenterVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdExperimenterVer14.java38
        public OFInstructionExperimenter readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            int experimenter = bb.readInt();
            bb.readerIndex(start);
            switch(experimenter) {
               case 0x5c16c7:
                   // discriminator value 0x5c16c7L=0x5c16c7L for class OFInstructionBsnVer13
                   return OFInstructionBsnVer13.READER.readFrom(bb);
FileLine
net/onrc/openvirtex/messages/ver10/OVXSetConfigVer10.java33
net/onrc/openvirtex/messages/ver13/OVXSetConfigVer13.java30
    protected OVXSetConfigVer10(long xid, Set<OFConfigFlags> flags,
			int missSendLen) {
		super(xid, flags, missSendLen);
		// TODO Auto-generated constructor stub
	}

	private final Logger log = LogManager.getLogger(OVXSetConfig.class
            .getName());

    /**
     * miss_send_len for a full packet (-1).
     */
    public static final short MSL_FULL = (short) 0xffff;
    /**
     * Default miss_send_len when unspecified.
     */
    public static final short MSL_DEFAULT = (short) 0x0080;

    @Override
    public void devirtualize(final OVXSwitch sw) {

        sw.setMissSendLen((short)this.getMissSendLen());
        this.log.info("Setting miss send length to {} for OVXSwitch {}",
                this.getMissSendLen(), sw.getSwitchName());

    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnVportQInQVer10.java407
org/projectfloodlight/openflow/protocol/ver11/OFBsnVportQInQVer11.java407
org/projectfloodlight/openflow/protocol/ver12/OFBsnVportQInQVer12.java407
org/projectfloodlight/openflow/protocol/ver13/OFBsnVportQInQVer13.java407
org/projectfloodlight/openflow/protocol/ver14/OFBsnVportQInQVer14.java407
        public void funnel(OFBsnVportQInQVer10 message, PrimitiveSink sink) {
            // fixed value property type = 0x0
            sink.putShort((short) 0x0);
            // fixed value property length = 32
            sink.putShort((short) 0x20);
            sink.putLong(message.portNo);
            sink.putInt(message.ingressTpid);
            sink.putInt(message.ingressVlanId);
            sink.putInt(message.egressTpid);
            sink.putInt(message.egressVlanId);
            sink.putString(message.ifName);
        }
    }


    public void writeTo(ChannelBuffer bb) {
        WRITER.write(bb, this);
    }

    final static Writer WRITER = new Writer();
    static class Writer implements OFMessageWriter<OFBsnVportQInQVer10> {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsEntryVer10.java643
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java643
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java643
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java798
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java666
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesVer13.java415
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java681
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesVer14.java415
        public OFFlowStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            TableId tableId = TableId.readByte(bb);
            // pad: 1 bytes
            bb.skipBytes(1);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPacketInVer10.java481
org/projectfloodlight/openflow/protocol/ver10/OFPacketOutVer10.java357
org/projectfloodlight/openflow/protocol/ver11/OFPacketOutVer11.java357
org/projectfloodlight/openflow/protocol/ver12/OFPacketInVer12.java503
org/projectfloodlight/openflow/protocol/ver12/OFPacketOutVer12.java357
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java525
org/projectfloodlight/openflow/protocol/ver13/OFPacketOutVer13.java357
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java525
org/projectfloodlight/openflow/protocol/ver14/OFPacketOutVer14.java357
                throw new OFParseError("Wrong type: Expected=OFType.PACKET_IN(10), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            OFBufferId bufferId = OFBufferId.of(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java463
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java463
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java463
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsPropEthernetVer14.java187
                U64 rxFrameErr = this.rxFrameErrSet ? this.rxFrameErr : parentMessage.rxFrameErr;
                if(rxFrameErr == null)
                    throw new NullPointerException("Property rxFrameErr must not be null");
                U64 rxOverErr = this.rxOverErrSet ? this.rxOverErr : parentMessage.rxOverErr;
                if(rxOverErr == null)
                    throw new NullPointerException("Property rxOverErr must not be null");
                U64 rxCrcErr = this.rxCrcErrSet ? this.rxCrcErr : parentMessage.rxCrcErr;
                if(rxCrcErr == null)
                    throw new NullPointerException("Property rxCrcErr must not be null");
                U64 collisions = this.collisionsSet ? this.collisions : parentMessage.collisions;
                if(collisions == null)
                    throw new NullPointerException("Property collisions must not be null");

                //
                return new OFPortStatsEntryVer10(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBucketVer11.java170
org/projectfloodlight/openflow/protocol/ver12/OFBucketVer12.java170
org/projectfloodlight/openflow/protocol/ver13/OFBucketVer13.java170
org/projectfloodlight/openflow/protocol/ver14/OFBucketVer14.java170
    }



        @Override
        public OFBucket build() {
                int weight = this.weightSet ? this.weight : parentMessage.weight;
                OFPort watchPort = this.watchPortSet ? this.watchPort : parentMessage.watchPort;
                if(watchPort == null)
                    throw new NullPointerException("Property watchPort must not be null");
                OFGroup watchGroup = this.watchGroupSet ? this.watchGroup : parentMessage.watchGroup;
                if(watchGroup == null)
                    throw new NullPointerException("Property watchGroup must not be null");
                List<OFAction> actions = this.actionsSet ? this.actions : parentMessage.actions;
                if(actions == null)
                    throw new NullPointerException("Property actions must not be null");

                //
                return new OFBucketVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java757
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java757
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java757
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java757
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java757
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java757
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java757
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java757
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java757
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java757
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java627
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java801
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java797
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java796
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java797
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java795
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java627
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java772
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java772
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java772
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java772
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java772
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java627
                throw new OFParseError("Wrong type: Expected=OFType.FLOW_MOD(14), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            U64 cookie = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsEntryVer11.java873
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsEntryVer12.java1009
        result = prime *  (int) (applyActions ^ (applyActions >>> 32));
        result = prime *  (int) (config ^ (config >>> 32));
        result = prime *  (int) (maxEntries ^ (maxEntries >>> 32));
        result = prime *  (int) (activeCount ^ (activeCount >>> 32));
        result = prime * result + ((lookupCount == null) ? 0 : lookupCount.hashCode());
        result = prime * result + ((matchedCount == null) ? 0 : matchedCount.hashCode());
        return result;
    }

}
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFMatchV3Ver12.java220
org/projectfloodlight/openflow/protocol/ver13/OFMatchV3Ver13.java220
org/projectfloodlight/openflow/protocol/ver14/OFMatchV3Ver14.java220
            throw new UnsupportedOperationException("OFMatchV3Ver12 does not support matching on field " + field.getName());

        OFOxm<?> oxm = this.oxmList.get(field);

        return oxm != null && oxm.isMasked();
    }

    private class MatchFieldIterator extends AbstractIterator<MatchField<?>> {
        private Iterator<OFOxm<?>> oxmIterator;

        MatchFieldIterator() {
            oxmIterator = oxmList.iterator();
        }

        @Override
        protected MatchField<?> computeNext() {
            while(oxmIterator.hasNext()) {
                OFOxm<?> oxm = oxmIterator.next();
                if(oxm.getMatchField().arePrerequisitesOK(OFMatchV3Ver12.this))
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPacketInVer12.java453
org/projectfloodlight/openflow/protocol/ver13/OFPacketInVer13.java471
org/projectfloodlight/openflow/protocol/ver14/OFPacketInVer14.java471
    }
//
        @Override
        public OFPacketIn build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
            OFBufferId bufferId = this.bufferIdSet ? this.bufferId : DEFAULT_BUFFER_ID;
            if(bufferId == null)
                throw new NullPointerException("Property bufferId must not be null");
            int totalLen = this.totalLenSet ? this.totalLen : DEFAULT_TOTAL_LEN;
            if(!this.reasonSet)
                throw new IllegalStateException("Property reason doesn't have default value -- must be set");
            if(reason == null)
                throw new NullPointerException("Property reason must not be null");
            TableId tableId = this.tableIdSet ? this.tableId : DEFAULT_TABLE_ID;
            if(tableId == null)
                throw new NullPointerException("Property tableId must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDeleteVer13.java361
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDeleteVer14.java361
            bb.writeByte((byte) 0x4);
            // fixed value property type = 4
            bb.writeByte((byte) 0x4);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            bb.writeInt(U32.t(message.xid));
            // fixed value property experimenter = 0x5c16c7L
            bb.writeInt(0x5c16c7);
            // fixed value property subtype = 0x2fL
            bb.writeInt(0x2f);
            message.tableId.write2Bytes(bb);
            ChannelUtils.writeList(bb, message.key);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFBsnGentableEntryDeleteVer13(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsEntryVer13.java249
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsEntryVer13.java204
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsEntryVer14.java249
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsEntryVer14.java204
        public OFBsnGentableEntryDescStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            int start = bb.readerIndex();
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            int keyLength = U16.f(bb.readShort());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java723
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpRequestVer13.java631
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java723
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpRequestVer14.java631
        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if( actorSysPriority != other.actorSysPriority)
            return false;
        if (actorSysMac == null) {
            if (other.actorSysMac != null)
                return false;
        } else if (!actorSysMac.equals(other.actorSysMac))
            return false;
        if( actorPortPriority != other.actorPortPriority)
            return false;
        if( actorPortNum != other.actorPortNum)
            return false;
        if( actorKey != other.actorKey)
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFRequestforwardVer14.java258
org/projectfloodlight/openflow/protocol/ver14/OFRoleStatusVer14.java345
                throw new OFParseError("Wrong type: Expected=OFType.REQUESTFORWARD(32), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            long role = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionOutputVer10.java96
org/projectfloodlight/openflow/protocol/ver11/OFActionOutputVer11.java96
org/projectfloodlight/openflow/protocol/ver12/OFActionOutputVer12.java96
org/projectfloodlight/openflow/protocol/ver13/OFActionOutputVer13.java96
org/projectfloodlight/openflow/protocol/ver14/OFActionOutputVer14.java96
        BuilderWithParent(OFActionOutputVer10 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public OFActionType getType() {
        return OFActionType.OUTPUT;
    }

    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFActionOutput.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
    @Override
    public int getMaxLen() {
        return maxLen;
    }

    @Override
    public OFActionOutput.Builder setMaxLen(int maxLen) {
        this.maxLen = maxLen;
        this.maxLenSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsEntryVer10.java770
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsEntryVer11.java770
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsEntryVer12.java770
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java800
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsEntryVer14.java748
            bb.skipBytes(6);
            U64 rxPackets = U64.ofRaw(bb.readLong());
            U64 txPackets = U64.ofRaw(bb.readLong());
            U64 rxBytes = U64.ofRaw(bb.readLong());
            U64 txBytes = U64.ofRaw(bb.readLong());
            U64 rxDropped = U64.ofRaw(bb.readLong());
            U64 txDropped = U64.ofRaw(bb.readLong());
            U64 rxErrors = U64.ofRaw(bb.readLong());
            U64 txErrors = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueGetConfigRequestVer10.java103
org/projectfloodlight/openflow/protocol/ver11/OFQueueGetConfigRequestVer11.java160
org/projectfloodlight/openflow/protocol/ver12/OFQueueGetConfigRequestVer12.java160
org/projectfloodlight/openflow/protocol/ver13/OFQueueGetConfigRequestVer13.java160
    }

    @Override
    public OFType getType() {
        return OFType.QUEUE_GET_CONFIG_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueGetConfigRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFQueueGetConfigRequest.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }


        @Override
        public OFQueueGetConfigRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueueGetConfigRequestVer10.java160
org/projectfloodlight/openflow/protocol/ver11/OFQueueGetConfigRequestVer11.java103
org/projectfloodlight/openflow/protocol/ver12/OFQueueGetConfigRequestVer12.java103
org/projectfloodlight/openflow/protocol/ver13/OFQueueGetConfigRequestVer13.java103
    }

    @Override
    public OFType getType() {
        return OFType.QUEUE_GET_CONFIG_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFQueueGetConfigRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public OFPort getPort() {
        return port;
    }

    @Override
    public OFQueueGetConfigRequest.Builder setPort(OFPort port) {
        this.port = port;
        this.portSet = true;
        return this;
    }
//
        @Override
        public OFQueueGetConfigRequest build() {
            long xid = this.xidSet ? this.xid : DEFAULT_XID;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsEntryVer10.java691
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsEntryVer11.java799
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsEntryVer12.java911
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsEntryVer13.java621
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsEntryVer14.java621
        b.append("maxEntries=").append(maxEntries);
        b.append(", ");
        b.append("activeCount=").append(activeCount);
        b.append(", ");
        b.append("lookupCount=").append(lookupCount);
        b.append(", ");
        b.append("matchedCount=").append(matchedCount);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java42
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java42
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java42
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java42
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java42
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java42
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java42
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java42
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java42
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java42
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java43
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java43
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java43
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java43
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java43
        private final static long DEFAULT_XID = 0x0L;
        private final static U64 DEFAULT_COOKIE = U64.ZERO;
        private final static U64 DEFAULT_COOKIE_MASK = U64.ZERO;
        private final static TableId DEFAULT_TABLE_ID = TableId.ZERO;
        private final static int DEFAULT_IDLE_TIMEOUT = 0x0;
        private final static int DEFAULT_HARD_TIMEOUT = 0x0;
        private final static int DEFAULT_PRIORITY = 0x0;
        private final static OFBufferId DEFAULT_BUFFER_ID = OFBufferId.NO_BUFFER;
        private final static OFPort DEFAULT_OUT_PORT = OFPort.ANY;
        private final static OFGroup DEFAULT_OUT_GROUP = OFGroup.ANY;
        private final static Set<OFFlowModFlags> DEFAULT_FLAGS = ImmutableSet.<OFFlowModFlags>of();
        private final static Match DEFAULT_MATCH = OFFactoryVer11.MATCH_WILDCARD_ALL;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java736
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java757
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java757
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java757
        b.append("idleTimeout=").append(idleTimeout);
        b.append(", ");
        b.append("packetCount=").append(packetCount);
        b.append(", ");
        b.append("byteCount=").append(byteCount);
        b.append(", ");
        b.append("match=").append(match);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java368
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java368
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java379
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java386
    }



        @Override
        public OFFlowStatsEntry build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                long durationSec = this.durationSecSet ? this.durationSec : parentMessage.durationSec;
                long durationNsec = this.durationNsecSet ? this.durationNsec : parentMessage.durationNsec;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFInstructionWriteMetadataVer11.java99
org/projectfloodlight/openflow/protocol/ver12/OFInstructionWriteMetadataVer12.java99
org/projectfloodlight/openflow/protocol/ver13/OFInstructionWriteMetadataVer13.java99
org/projectfloodlight/openflow/protocol/ver14/OFInstructionWriteMetadataVer14.java99
        BuilderWithParent(OFInstructionWriteMetadataVer11 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public OFInstructionType getType() {
        return OFInstructionType.WRITE_METADATA;
    }

    @Override
    public U64 getMetadata() {
        return metadata;
    }

    @Override
    public OFInstructionWriteMetadata.Builder setMetadata(U64 metadata) {
        this.metadata = metadata;
        this.metadataSet = true;
        return this;
    }
    @Override
    public U64 getMetadataMask() {
        return metadataMask;
    }

    @Override
    public OFInstructionWriteMetadata.Builder setMetadataMask(U64 metadataMask) {
        this.metadataMask = metadataMask;
        this.metadataMaskSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBadActionCodeSerializerVer12.java100
org/projectfloodlight/openflow/protocol/ver13/OFBadActionCodeSerializerVer13.java100
org/projectfloodlight/openflow/protocol/ver14/OFBadActionCodeSerializerVer14.java100
                throw new IllegalArgumentException("Illegal wire value for type OFBadActionCode in version 1.2: " + val);
        }
    }


    public static short toWireValue(OFBadActionCode e) {
        switch(e) {
            case BAD_TYPE:
                return BAD_TYPE_VAL;
            case BAD_LEN:
                return BAD_LEN_VAL;
            case BAD_EXPERIMENTER:
                return BAD_EXPERIMENTER_VAL;
            case BAD_EXPERIMENTER_TYPE:
                return BAD_EXPERIMENTER_TYPE_VAL;
            case BAD_OUT_PORT:
                return BAD_OUT_PORT_VAL;
            case BAD_ARGUMENT:
                return BAD_ARGUMENT_VAL;
            case EPERM:
                return EPERM_VAL;
            case TOO_MANY:
                return TOO_MANY_VAL;
            case BAD_QUEUE:
                return BAD_QUEUE_VAL;
            case BAD_OUT_GROUP:
                return BAD_OUT_GROUP_VAL;
            case MATCH_INCONSISTENT:
                return MATCH_INCONSISTENT_VAL;
            case UNSUPPORTED_ORDER:
                return UNSUPPORTED_ORDER_VAL;
            case BAD_TAG:
                return BAD_TAG_VAL;
            case BAD_SET_TYPE:
                return BAD_SET_TYPE_VAL;
            case BAD_SET_LEN:
                return BAD_SET_LEN_VAL;
            case BAD_SET_ARGUMENT:
                return BAD_SET_ARGUMENT_VAL;
            default:
                throw new IllegalArgumentException("Illegal enum value for type OFBadActionCode in version 1.2: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearRequestVer13.java433
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsRequestVer13.java513
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsRequestVer13.java513
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearRequestVer14.java433
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsRequestVer14.java513
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsRequestVer14.java513
        b.append("xid=").append(xid);
        b.append(", ");
        b.append("tableId=").append(tableId);
        b.append(", ");
        b.append("checksum=").append(checksum);
        b.append(", ");
        b.append("checksumMask=").append(checksumMask);
        b.append(")");
        return b.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescPropOpticalVer13.java1028
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsEntryVer13.java896
        } else if (!inOperCapability.equals(other.inOperCapability))
            return false;
        if (outAdminStatus == null) {
            if (other.outAdminStatus != null)
                return false;
        } else if (!outAdminStatus.equals(other.outAdminStatus))
            return false;
        if (outOperStatus == null) {
            if (other.outOperStatus != null)
                return false;
        } else if (!outOperStatus.equals(other.outOperStatus))
            return false;
        if (outOperCapability == null) {
            if (other.outOperCapability != null)
                return false;
        } else if (!outOperCapability.equals(other.outOperCapability))
            return false;
        if (inportPower == null) {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFeaturesReplyVer13.java39
org/projectfloodlight/openflow/protocol/ver14/OFFeaturesReplyVer14.java39
    final static int LENGTH = 32;

        private final static long DEFAULT_XID = 0x0L;
        private final static DatapathId DEFAULT_DATAPATH_ID = DatapathId.NONE;
        private final static long DEFAULT_N_BUFFERS = 0x0L;
        private final static short DEFAULT_N_TABLES = (short) 0x0;
        private final static OFAuxId DEFAULT_AUXILIARY_ID = OFAuxId.MAIN;
        private final static Set<OFCapabilities> DEFAULT_CAPABILITIES = ImmutableSet.<OFCapabilities>of();
        private final static long DEFAULT_RESERVED = 0x0L;

    // OF message fields
    private final long xid;
    private final DatapathId datapathId;
    private final long nBuffers;
    private final short nTables;
    private final OFAuxId auxiliaryId;
    private final Set<OFCapabilities> capabilities;
    private final long reserved;
//
    // Immutable default instance
    final static OFFeaturesReplyVer13 DEFAULT = new OFFeaturesReplyVer13(
FileLine
net/onrc/openvirtex/packet/TCP.java224
net/onrc/openvirtex/packet/UDP.java156
            ((IPv4) this.parent).setProtocol(IPv4.PROTOCOL_TCP);
        }

        // compute checksum if needed
        if (this.checksum == 0) {
            bb.rewind();
            int accumulation = 0;

            // compute pseudo header mac
            if (this.parent != null && this.parent instanceof IPv4) {
                final IPv4 ipv4 = (IPv4) this.parent;
                accumulation += (ipv4.getSourceAddress() >> 16 & 0xffff)
                        + (ipv4.getSourceAddress() & 0xffff);
                accumulation += (ipv4.getDestinationAddress() >> 16 & 0xffff)
                        + (ipv4.getDestinationAddress() & 0xffff);
                accumulation += ipv4.getProtocol() & 0xff;
                accumulation += length & 0xffff;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFAggregateStatsRequestVer10.java439
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsRequestVer10.java439
org/projectfloodlight/openflow/protocol/ver12/OFGroupFeaturesStatsReplyVer12.java615
org/projectfloodlight/openflow/protocol/ver13/OFGroupFeaturesStatsReplyVer13.java615
org/projectfloodlight/openflow/protocol/ver14/OFGroupFeaturesStatsReplyVer14.java615
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(16), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 56)
                throw new OFParseError("Wrong length: Expected=56(56), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 2
            short statsType = bb.readShort();
            if(statsType != (short) 0x2)
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduRxReplyVer10.java70
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduRxReplyVer11.java70
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduRxReplyVer12.java70
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduRxReplyVer13.java70
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduRxReplyVer14.java70
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x22L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public short getSlotNum() {
        return slotNum;
    }



    public OFBsnPduRxReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnPduRxReply.Builder {
        final OFBsnPduRxReplyVer10 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnPduTxReplyVer10.java70
org/projectfloodlight/openflow/protocol/ver11/OFBsnPduTxReplyVer11.java70
org/projectfloodlight/openflow/protocol/ver12/OFBsnPduTxReplyVer12.java70
org/projectfloodlight/openflow/protocol/ver13/OFBsnPduTxReplyVer13.java70
org/projectfloodlight/openflow/protocol/ver14/OFBsnPduTxReplyVer14.java70
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x20L;
    }

    @Override
    public long getStatus() {
        return status;
    }

    @Override
    public OFPort getPortNo() {
        return portNo;
    }

    @Override
    public short getSlotNum() {
        return slotNum;
    }



    public OFBsnPduTxReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnPduTxReply.Builder {
        final OFBsnPduTxReplyVer10 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowAddVer10.java716
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteStrictVer10.java715
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteVer10.java715
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyStrictVer10.java715
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyVer10.java715
                throw new OFParseError("Wrong command: Expected=OFFlowModCommand.ADD(0), got="+command);
            int idleTimeout = U16.f(bb.readShort());
            int hardTimeout = U16.f(bb.readShort());
            int priority = U16.f(bb.readShort());
            OFBufferId bufferId = OFBufferId.of(bb.readInt());
            OFPort outPort = OFPort.read2Bytes(bb);
            Set<OFFlowModFlags> flags = OFFlowModFlagsSerializerVer10.readFrom(bb);
            List<OFAction> actions = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFActionVer10.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsEntryVer10.java809
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java839
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java861
        if( hardTimeout != other.hardTimeout)
            return false;
        if (cookie == null) {
            if (other.cookie != null)
                return false;
        } else if (!cookie.equals(other.cookie))
            return false;
        if (packetCount == null) {
            if (other.packetCount != null)
                return false;
        } else if (!packetCount.equals(other.packetCount))
            return false;
        if (byteCount == null) {
            if (other.byteCount != null)
                return false;
        } else if (!byteCount.equals(other.byteCount))
            return false;
        if (actions == null) {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java702
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java754
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java754
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescStatsEntryVer13.java486
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java754
org/projectfloodlight/openflow/protocol/ver13/OFPortOpticalVer13.java501
org/projectfloodlight/openflow/protocol/ver14/OFPortDescVer14.java649
        OFPortDescVer10 other = (OFPortDescVer10) obj;

        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if (hwAddr == null) {
            if (other.hwAddr != null)
                return false;
        } else if (!hwAddr.equals(other.hwAddr))
            return false;
        if (name == null) {
            if (other.name != null)
                return false;
        } else if (!name.equals(other.name))
            return false;
        if (config == null) {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFActionTypeSerializerVer11.java47
org/projectfloodlight/openflow/protocol/ver12/OFActionTypeSerializerVer12.java35
org/projectfloodlight/openflow/protocol/ver13/OFActionTypeSerializerVer13.java35
org/projectfloodlight/openflow/protocol/ver14/OFActionTypeSerializerVer14.java35
    public final static short SET_MPLS_TTL_VAL = (short) 0xf;
    public final static short DEC_MPLS_TTL_VAL = (short) 0x10;
    public final static short PUSH_VLAN_VAL = (short) 0x11;
    public final static short POP_VLAN_VAL = (short) 0x12;
    public final static short PUSH_MPLS_VAL = (short) 0x13;
    public final static short POP_MPLS_VAL = (short) 0x14;
    public final static short SET_QUEUE_VAL = (short) 0x15;
    public final static short GROUP_VAL = (short) 0x16;
    public final static short SET_NW_TTL_VAL = (short) 0x17;
    public final static short DEC_NW_TTL_VAL = (short) 0x18;
    public final static short EXPERIMENTER_VAL = (short) 0xffff;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBucketCounterVer11.java98
org/projectfloodlight/openflow/protocol/ver11/OFBucketCounterVer11.java152
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFBucketCounter.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFBucketCounter.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }



        @Override
        public OFBucketCounter build() {
                U64 packetCount = this.packetCountSet ? this.packetCount : parentMessage.packetCount;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsEntryVer11.java385
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsEntryVer12.java385
            return new OFQueueStatsEntryVer11(
                    portNo,
                    queueId,
                    txBytes,
                    txPackets,
                    txErrors
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFQueueStatsEntry> {
        @Override
        public OFQueueStatsEntry readFrom(ChannelBuffer bb) throws OFParseError {
            OFPort portNo = OFPort.read4Bytes(bb);
            long queueId = U32.f(bb.readInt());
            U64 txBytes = U64.ofRaw(bb.readLong());
            U64 txPackets = U64.ofRaw(bb.readLong());
            U64 txErrors = U64.ofRaw(bb.readLong());
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBucketCounterVer12.java98
org/projectfloodlight/openflow/protocol/ver12/OFBucketCounterVer12.java152
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFBucketCounter.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFBucketCounter.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFBucketCounter build() {
                U64 packetCount = this.packetCountSet ? this.packetCount : parentMessage.packetCount;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFRoleReplyVer12.java362
org/projectfloodlight/openflow/protocol/ver12/OFRoleRequestVer12.java362
org/projectfloodlight/openflow/protocol/ver13/OFBsnRoleStatusVer13.java464
org/projectfloodlight/openflow/protocol/ver13/OFRoleReplyVer13.java362
org/projectfloodlight/openflow/protocol/ver13/OFRoleRequestVer13.java362
org/projectfloodlight/openflow/protocol/ver14/OFRoleReplyVer14.java362
org/projectfloodlight/openflow/protocol/ver14/OFRoleRequestVer14.java362
        } else if (!role.equals(other.role))
            return false;
        if (generationId == null) {
            if (other.generationId != null)
                return false;
        } else if (!generationId.equals(other.generationId))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((role == null) ? 0 : role.hashCode());
        result = prime * result + ((generationId == null) ? 0 : generationId.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFAsyncGetReplyVer13.java252
org/projectfloodlight/openflow/protocol/ver13/OFAsyncGetRequestVer13.java252
org/projectfloodlight/openflow/protocol/ver13/OFAsyncSetVer13.java252
        public OFAsyncGetReply build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                long packetInMaskEqualMaster = this.packetInMaskEqualMasterSet ? this.packetInMaskEqualMaster : parentMessage.packetInMaskEqualMaster;
                long packetInMaskSlave = this.packetInMaskSlaveSet ? this.packetInMaskSlave : parentMessage.packetInMaskSlave;
                long portStatusMaskEqualMaster = this.portStatusMaskEqualMasterSet ? this.portStatusMaskEqualMaster : parentMessage.portStatusMaskEqualMaster;
                long portStatusMaskSlave = this.portStatusMaskSlaveSet ? this.portStatusMaskSlave : parentMessage.portStatusMaskSlave;
                long flowRemovedMaskEqualMaster = this.flowRemovedMaskEqualMasterSet ? this.flowRemovedMaskEqualMaster : parentMessage.flowRemovedMaskEqualMaster;
                long flowRemovedMaskSlave = this.flowRemovedMaskSlaveSet ? this.flowRemovedMaskSlave : parentMessage.flowRemovedMaskSlave;

                //
                return new OFAsyncGetReplyVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsEntryVer13.java98
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsEntryVer13.java152
    @Override
    public U64 getCounterId() {
        return counterId;
    }

    @Override
    public OFBsnDebugCounterStatsEntry.Builder setCounterId(U64 counterId) {
        this.counterId = counterId;
        this.counterIdSet = true;
        return this;
    }
    @Override
    public U64 getValue() {
        return value;
    }

    @Override
    public OFBsnDebugCounterStatsEntry.Builder setValue(U64 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFBsnDebugCounterStatsEntry build() {
                U64 counterId = this.counterIdSet ? this.counterId : parentMessage.counterId;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearReplyVer13.java65
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearReplyVer14.java65
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x31L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public long getDeletedCount() {
        return deletedCount;
    }

    @Override
    public long getErrorCount() {
        return errorCount;
    }



    public OFBsnGentableClearReply.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnGentableClearReply.Builder {
        final OFBsnGentableClearReplyVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearRequestVer13.java71
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearRequestVer14.java71
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x30L;
    }

    @Override
    public GenTableId getTableId() {
        return tableId;
    }

    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public U128 getChecksumMask() {
        return checksumMask;
    }



    public OFBsnGentableClearRequest.Builder createBuilder() {
        return new BuilderWithParent(this);
    }

    static class BuilderWithParent implements OFBsnGentableClearRequest.Builder {
        final OFBsnGentableClearRequestVer13 parentMessage;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsEntryVer13.java96
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsEntryVer14.java96
        BuilderWithParent(OFBsnGentableEntryStatsEntryVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnGentableEntryStatsEntry.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getStats() {
        return stats;
    }

    @Override
    public OFBsnGentableEntryStatsEntry.Builder setStats(List<OFBsnTlv> stats) {
        this.stats = stats;
        this.statsSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsEntryVer13.java98
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsEntryVer13.java152
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnTableChecksumStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U64 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnTableChecksumStatsEntry.Builder setChecksum(U64 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFBsnTableChecksumStatsEntry build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBucketCounterVer13.java98
org/projectfloodlight/openflow/protocol/ver13/OFBucketCounterVer13.java152
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFBucketCounter.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFBucketCounter.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFBucketCounter build() {
                U64 packetCount = this.packetCountSet ? this.packetCount : parentMessage.packetCount;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsRequestVer13.java310
org/projectfloodlight/openflow/protocol/ver13/OFMeterFeaturesStatsReplyVer13.java276
org/projectfloodlight/openflow/protocol/ver14/OFMeterFeaturesStatsReplyVer14.java276
                throw new OFParseError("Wrong type: Expected=OFType.STATS_REQUEST(18), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 32)
                throw new OFParseError("Wrong length: Expected=32(32), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            // fixed value property statsType == 65535
            short statsType = bb.readShort();
            if(statsType != (short) 0xffff)
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java39
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java39
    final static int MINIMUM_LENGTH = 40;

        private final static OFGroup DEFAULT_GROUP_ID = OFGroup.ALL;
        private final static long DEFAULT_REF_COUNT = 0x0L;
        private final static U64 DEFAULT_PACKET_COUNT = U64.ZERO;
        private final static U64 DEFAULT_BYTE_COUNT = U64.ZERO;
        private final static long DEFAULT_DURATION_SEC = 0x0L;
        private final static long DEFAULT_DURATION_NSEC = 0x0L;
        private final static List<OFBucketCounter> DEFAULT_BUCKET_STATS = ImmutableList.<OFBucketCounter>of();

    // OF message fields
    private final OFGroup group;
    private final long refCount;
    private final U64 packetCount;
    private final U64 byteCount;
    private final long durationSec;
    private final long durationNsec;
    private final List<OFBucketCounter> bucketStats;
//
    // Immutable default instance
    final static OFGroupStatsEntryVer13 DEFAULT = new OFGroupStatsEntryVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandStatsVer13.java98
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandStatsVer13.java152
    @Override
    public U64 getPacketBandCount() {
        return packetBandCount;
    }

    @Override
    public OFMeterBandStats.Builder setPacketBandCount(U64 packetBandCount) {
        this.packetBandCount = packetBandCount;
        this.packetBandCountSet = true;
        return this;
    }
    @Override
    public U64 getByteBandCount() {
        return byteBandCount;
    }

    @Override
    public OFMeterBandStats.Builder setByteBandCount(U64 byteBandCount) {
        this.byteBandCount = byteBandCount;
        this.byteBandCountSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFMeterBandStats build() {
                U64 packetBandCount = this.packetBandCountSet ? this.packetBandCount : parentMessage.packetBandCount;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPacketInReasonSerializerVer13.java74
org/projectfloodlight/openflow/protocol/ver14/OFPacketInReasonSerializerVer14.java83
            case BSN_NEW_HOST_VAL:
                return OFPacketInReason.BSN_NEW_HOST;
            case BSN_STATION_MOVE_VAL:
                return OFPacketInReason.BSN_STATION_MOVE;
            case BSN_BAD_VLAN_VAL:
                return OFPacketInReason.BSN_BAD_VLAN;
            case BSN_DESTINATION_LOOKUP_FAILURE_VAL:
                return OFPacketInReason.BSN_DESTINATION_LOOKUP_FAILURE;
            case BSN_NO_ROUTE_VAL:
                return OFPacketInReason.BSN_NO_ROUTE;
            case BSN_ICMP_ECHO_REQUEST_VAL:
                return OFPacketInReason.BSN_ICMP_ECHO_REQUEST;
            case BSN_DEST_NETWORK_UNREACHABLE_VAL:
                return OFPacketInReason.BSN_DEST_NETWORK_UNREACHABLE;
            case BSN_DEST_HOST_UNREACHABLE_VAL:
                return OFPacketInReason.BSN_DEST_HOST_UNREACHABLE;
            case BSN_DEST_PORT_UNREACHABLE_VAL:
                return OFPacketInReason.BSN_DEST_PORT_UNREACHABLE;
            case BSN_FRAGMENTATION_REQUIRED_VAL:
                return OFPacketInReason.BSN_FRAGMENTATION_REQUIRED;
            case BSN_ARP_VAL:
                return OFPacketInReason.BSN_ARP;
            case BSN_DHCP_VAL:
                return OFPacketInReason.BSN_DHCP;
            case BSN_DEBUG_VAL:
                return OFPacketInReason.BSN_DEBUG;
            case BSN_PACKET_OF_DEATH_VAL:
                return OFPacketInReason.BSN_PACKET_OF_DEATH;
            default:
                throw new IllegalArgumentException("Illegal wire value for type OFPacketInReason in version 1.3: " + val);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsEntryVer13.java477
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsPropEthernetVer14.java187
                U64 rxFrameErr = this.rxFrameErrSet ? this.rxFrameErr : parentMessage.rxFrameErr;
                if(rxFrameErr == null)
                    throw new NullPointerException("Property rxFrameErr must not be null");
                U64 rxOverErr = this.rxOverErrSet ? this.rxOverErr : parentMessage.rxOverErr;
                if(rxOverErr == null)
                    throw new NullPointerException("Property rxOverErr must not be null");
                U64 rxCrcErr = this.rxCrcErrSet ? this.rxCrcErr : parentMessage.rxCrcErr;
                if(rxCrcErr == null)
                    throw new NullPointerException("Property rxCrcErr must not be null");
                U64 collisions = this.collisionsSet ? this.collisions : parentMessage.collisions;
                if(collisions == null)
                    throw new NullPointerException("Property collisions must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropApplyActionsMissVer13.java179
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropApplyActionsVer14.java179
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropWriteActionsMissVer14.java179
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropWriteActionsVer14.java179
                throw new OFParseError("Wrong type: Expected=0x7(0x7), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<OFActionId> actionIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFActionIdVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropApplyActionsVer13.java179
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropWriteActionsMissVer13.java179
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropWriteActionsVer13.java179
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropApplyActionsMissVer14.java179
                throw new OFParseError("Wrong type: Expected=0x6(0x6), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<OFActionId> actionIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFActionIdVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropInstructionsMissVer13.java179
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropInstructionsVer14.java179
                throw new OFParseError("Wrong type: Expected=0x1(0x1), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<OFInstructionId> instructionIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFInstructionIdVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropInstructionsVer13.java179
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropInstructionsMissVer14.java179
                throw new OFParseError("Wrong type: Expected=0x0(0x0), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            List<OFInstructionId> instructionIds = ChannelUtils.readList(bb, length - (bb.readerIndex() - start), OFInstructionIdVer13.READER);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesVer13.java39
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesVer14.java39
    final static int MINIMUM_LENGTH = 64;

        private final static TableId DEFAULT_TABLE_ID = TableId.ALL;
        private final static String DEFAULT_NAME = "";
        private final static U64 DEFAULT_METADATA_MATCH = U64.ZERO;
        private final static U64 DEFAULT_METADATA_WRITE = U64.ZERO;
        private final static long DEFAULT_CONFIG = 0x0L;
        private final static long DEFAULT_MAX_ENTRIES = 0x0L;
        private final static List<OFTableFeatureProp> DEFAULT_PROPERTIES = ImmutableList.<OFTableFeatureProp>of();

    // OF message fields
    private final TableId tableId;
    private final String name;
    private final U64 metadataMatch;
    private final U64 metadataWrite;
    private final long config;
    private final long maxEntries;
    private final List<OFTableFeatureProp> properties;
//
    // Immutable default instance
    final static OFTableFeaturesVer13 DEFAULT = new OFTableFeaturesVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsEntryVer14.java98
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsEntryVer14.java152
    @Override
    public U64 getCounterId() {
        return counterId;
    }

    @Override
    public OFBsnDebugCounterStatsEntry.Builder setCounterId(U64 counterId) {
        this.counterId = counterId;
        this.counterIdSet = true;
        return this;
    }
    @Override
    public U64 getValue() {
        return value;
    }

    @Override
    public OFBsnDebugCounterStatsEntry.Builder setValue(U64 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFBsnDebugCounterStatsEntry build() {
                U64 counterId = this.counterIdSet ? this.counterId : parentMessage.counterId;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsEntryVer14.java98
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsEntryVer14.java152
    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFBsnTableChecksumStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public U64 getChecksum() {
        return checksum;
    }

    @Override
    public OFBsnTableChecksumStatsEntry.Builder setChecksum(U64 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFBsnTableChecksumStatsEntry build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBucketCounterVer14.java98
org/projectfloodlight/openflow/protocol/ver14/OFBucketCounterVer14.java152
    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public OFBucketCounter.Builder setPacketCount(U64 packetCount) {
        this.packetCount = packetCount;
        this.packetCountSet = true;
        return this;
    }
    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public OFBucketCounter.Builder setByteCount(U64 byteCount) {
        this.byteCount = byteCount;
        this.byteCountSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFBucketCounter build() {
                U64 packetCount = this.packetCountSet ? this.packetCount : parentMessage.packetCount;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandStatsVer14.java98
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandStatsVer14.java152
    @Override
    public U64 getPacketBandCount() {
        return packetBandCount;
    }

    @Override
    public OFMeterBandStats.Builder setPacketBandCount(U64 packetBandCount) {
        this.packetBandCount = packetBandCount;
        this.packetBandCountSet = true;
        return this;
    }
    @Override
    public U64 getByteBandCount() {
        return byteBandCount;
    }

    @Override
    public OFMeterBandStats.Builder setByteBandCount(U64 byteBandCount) {
        this.byteBandCount = byteBandCount;
        this.byteBandCountSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFMeterBandStats build() {
                U64 packetBandCount = this.packetBandCountSet ? this.packetBandCount : parentMessage.packetBandCount;
FileLine
net/onrc/openvirtex/core/io/OVXMessageDecoder.java118
net/onrc/openvirtex/elements/datapath/OVXSwitch.java886
                ovxmessage=OVXFactoryInst.myOVXFactory.buildOVXFlowAdd(((OFFlowAdd)message).getXid(), ((OFFlowAdd)message).getMatch(),((OFFlowAdd)message).getCookie(), ((OFFlowAdd)message).getIdleTimeout(), ((OFFlowAdd)message).getHardTimeout(), ((OFFlowAdd)message).getPriority(), ((OFFlowAdd)message).getBufferId(), ((OFFlowAdd)message).getOutPort(), ((OFFlowAdd)message).getFlags(), ((OFFlowAdd)message).getActions());
            else if(of_message_type.equals("OFFlowDeleteVer10"))
FileLine
net/onrc/openvirtex/core/io/OVXMessageDecoder.java120
net/onrc/openvirtex/elements/datapath/OVXSwitch.java888
                ovxmessage=OVXFactoryInst.myOVXFactory.buildOVXFlowDelete(((OFFlowDelete)message).getXid(), ((OFFlowDelete)message).getMatch(),((OFFlowDelete)message).getCookie(), ((OFFlowDelete)message).getIdleTimeout(), ((OFFlowDelete)message).getHardTimeout(), ((OFFlowDelete)message).getPriority(), ((OFFlowDelete)message).getBufferId(), ((OFFlowDelete)message).getOutPort(), ((OFFlowDelete)message).getFlags(), ((OFFlowDelete)message).getActions());
            else if(of_message_type.equals("OFFlowDeleteStrictVer10"))
FileLine
net/onrc/openvirtex/core/io/OVXMessageDecoder.java122
net/onrc/openvirtex/elements/datapath/OVXSwitch.java890
                ovxmessage=OVXFactoryInst.myOVXFactory.buildOVXFlowDeleteStrict(((OFFlowDeleteStrict)message).getXid(), ((OFFlowDeleteStrict)message).getMatch(),((OFFlowDeleteStrict)message).getCookie(), ((OFFlowDeleteStrict)message).getIdleTimeout(), ((OFFlowDeleteStrict)message).getHardTimeout(), ((OFFlowDeleteStrict)message).getPriority(), ((OFFlowDeleteStrict)message).getBufferId(), ((OFFlowDeleteStrict)message).getOutPort(), ((OFFlowDeleteStrict)message).getFlags(), ((OFFlowDeleteStrict)message).getActions());
            else if(of_message_type.equals("OFFlowModifyVer10"))
FileLine
net/onrc/openvirtex/core/io/OVXMessageDecoder.java124
net/onrc/openvirtex/elements/datapath/OVXSwitch.java892
                ovxmessage=OVXFactoryInst.myOVXFactory.buildOVXFlowModify(((OFFlowModify)message).getXid(), ((OFFlowModify)message).getMatch(),((OFFlowModify)message).getCookie(), ((OFFlowModify)message).getIdleTimeout(), ((OFFlowModify)message).getHardTimeout(), ((OFFlowModify)message).getPriority(), ((OFFlowModify)message).getBufferId(), ((OFFlowModify)message).getOutPort(), ((OFFlowModify)message).getFlags(), ((OFFlowModify)message).getActions());
            else if(of_message_type.equals("OFFlowModifyStrictVer10"))
FileLine
net/onrc/openvirtex/core/io/OVXMessageDecoder.java126
net/onrc/openvirtex/elements/datapath/OVXSwitch.java894
                ovxmessage=OVXFactoryInst.myOVXFactory.buildOVXFlowModifyStrict(((OFFlowModifyStrict)message).getXid(), ((OFFlowModifyStrict)message).getMatch(),((OFFlowModifyStrict)message).getCookie(), ((OFFlowModifyStrict)message).getIdleTimeout(), ((OFFlowModifyStrict)message).getHardTimeout(), ((OFFlowModifyStrict)message).getPriority(), ((OFFlowModifyStrict)message).getBufferId(), ((OFFlowModifyStrict)message).getOutPort(), ((OFFlowModifyStrict)message).getFlags(), ((OFFlowModifyStrict)message).getActions());
            else if(of_message_type.equals("OFFlowRemovedVer10"))
FileLine
net/onrc/openvirtex/core/io/OVXMessageDecoder.java128
net/onrc/openvirtex/elements/datapath/OVXSwitch.java896
                ovxmessage=OVXFactoryInst.myOVXFactory.buildOVXFlowRemoved(((OFFlowRemoved)message).getXid(),((OFFlowRemoved)message).getMatch(), ((OFFlowRemoved)message).getCookie(), ((OFFlowRemoved)message).getPriority(), ((OFFlowRemoved)message).getReason(), ((OFFlowRemoved)message).getDurationSec(), ((OFFlowRemoved)message).getDurationNsec(), ((OFFlowRemoved)message).getIdleTimeout(), ((OFFlowRemoved)message).getPacketCount(), ((OFFlowRemoved)message).getByteCount());
            else if(of_message_type.equals("OFGetConfigReplyVer10"))
FileLine
net/onrc/openvirtex/messages/ver10/OVXFlowAddVer10.java277
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteStrictVer10.java199
net/onrc/openvirtex/messages/ver10/OVXFlowDeleteVer10.java199
net/onrc/openvirtex/messages/ver10/OVXFlowModifyStrictVer10.java199
net/onrc/openvirtex/messages/ver10/OVXFlowModifyVer10.java199
    }
    private void prepAndSendSouth(OVXPort inPort, boolean pflag) {
        if (!inPort.isActive()) {
            log.warn("Virtual network {}: port {} on switch {} is down.",
                    sw.getTenantId(), inPort.getPortNo(),
                    sw.getSwitchName());
            return;
        }
        this.match=((OFMatchV1)this.getMatch()).createBuilder().setInPort(OFPort.ofShort(inPort.getPhysicalPortNumber())).build();
        OVXMessageUtil.translateXid(this, inPort);
        try {
            if (inPort.isEdge()) {
FileLine
net/onrc/openvirtex/messages/ver13/OVXFlowDeleteVer13.java253
net/onrc/openvirtex/messages/ver13/OVXFlowModifyVer13.java255
        if (this.getMatch().get(MatchField.IPV4_DST) != null) {
            OFOxmIpv4Dst oxmIpv4Dst = new OFOxmIpv4DstVer13(IPv4Address.of(IPMapper.getPhysicalIp(sw.getTenantId(),
                    ((OFMatchV3)this.match).get(MatchField.IPV4_DST).getInt())));
            final OVXActionSetField dstAct = OVXFactoryInst.myOVXFactory.buildOVXActionSetField(oxmIpv4Dst);
            this.approvedActions.add(0, dstAct);
        }
    }

    /**
     * @param flagbit
     *            The OFFlowMod flag
     * @return true if the flag is set
     */
    public boolean hasFlag(short flagbit) {
        return (this.flags.contains(OFFlowModFlagsSerializerVer13.ofWireValue(flagbit)));
    }

    public OVXFlowMod clone() {
        OVXFlowMod flowMod = null;
FileLine
org/projectfloodlight/openflow/protocol/match/Match.java48
org/projectfloodlight/openflow/protocol/match/Match.java154
public interface Match extends OFObject {

    /**
     * Returns a value for the given field if:
     * <ul>
     * <li>Field is supported
     * <li>Field is not fully wildcarded
     * <li>Prerequisites are ok
     * </ul>
     * If one of the above conditions does not hold, returns null. Value is returned masked if partially wildcarded.
     *
     * @param field Match field to retrieve
     * @return Value of match field (may be masked), or <code>null</code> if field is one of the conditions above does not hold.
     * @throws UnsupportedOperationException If field is not supported.
     */
    public <F extends OFValueType<F>> F get(MatchField<F> field) throws UnsupportedOperationException;

    /**
     * Returns the masked value for the given field from this match, along with the mask itself.
     * Prerequisite: field is partially masked.
     * If prerequisite is not met, a <code>null</code> is returned.
     *
     * @param field Match field to retrieve.
     * @return Masked value of match field or null if no mask is set.
     * @throws UnsupportedOperationException If field is not supported.
     */
    public <F extends OFValueType<F>> Masked<F> getMasked(MatchField<F> field) throws UnsupportedOperationException;

    /**
     * Returns true if and only if this match object supports the given match field.
     *
     * @param field Match field
     * @return true if field is supported, false otherwise.
     */
    public boolean supports(MatchField<?> field);

    /**
     * Returns true if and only if this match object supports partially bitmasking of the given field.
     * (note: not all possible values of this bitmask have to be acceptable)
     *
     * @param field Match field.
     * @return true if field can be partially masked, false otherwise.
     * @throws UnsupportedOperationException If field is not supported.
     */
    public boolean supportsMasked(MatchField<?> field) throws UnsupportedOperationException;

    /**
     * Returns true if and only if this field is currently specified in the match with an exact value and
     * no mask. I.e., the specified match will only select packets that match the exact value of getValue(field).
     *
     * @param field Match field.
     * @return true if field has a specific exact value, false if not.
     * @throws UnsupportedOperationException If field is not supported.
     */
    public boolean isExact(MatchField<?> field) throws UnsupportedOperationException;

    /**
     * True if and only if this field is currently logically unspecified in the match, i.e, the
     * value returned by getValue(f) has no impact on whether a packet will be selected
     * by the match or not.
     *
     * @param field Match field.
     * @return true if field is fully wildcarded, false if not.
     * @throws UnsupportedOperationException If field is not supported.
     */
    public boolean isFullyWildcarded(MatchField<?> field) throws UnsupportedOperationException;

    /**
     * True if and only if this field is currently partially specified in the match, i.e, the
     * match will only select packets that match (p.value &amp; getMask(field)) == getValue(field),
     * and getMask(field) != 0.
     *
     * @param field Match field.
     * @return true if field is partially masked, false if not.
     * @throws UnsupportedOperationException If field is not supported.
     */
    public boolean isPartiallyMasked(MatchField<?> field) throws UnsupportedOperationException;

    /**
     * Get an Iterable over the match fields that have been specified for the
     * match. This includes the match fields that are exact or masked match
     * (but not fully wildcarded).
     *
     * @return
     */
    public Iterable<MatchField<?>> getMatchFields();
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnChecksumVer10.java100
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnChecksumVer10.java152
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFActionBsnChecksum.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }



        @Override
        public OFActionBsnChecksum build() {
                U128 checksum = this.checksumSet ? this.checksum : parentMessage.checksum;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnSetTunnelDstVer10.java97
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnSetTunnelDstVer10.java147
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public long getDst() {
        return dst;
    }

    @Override
    public OFActionBsnSetTunnelDst.Builder setDst(long dst) {
        this.dst = dst;
        this.dstSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }



        @Override
        public OFActionBsnSetTunnelDst build() {
                long dst = this.dstSet ? this.dst : parentMessage.dst;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwClearDataRequestVer10.java97
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwClearDataRequestVer10.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwClearDataRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x15L;
    }



        @Override
        public OFBsnBwClearDataRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableGetRequestVer10.java97
org/projectfloodlight/openflow/protocol/ver10/OFBsnBwEnableGetRequestVer10.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableGetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x13L;
    }



        @Override
        public OFBsnBwEnableGetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetInterfacesRequestVer10.java97
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetInterfacesRequestVer10.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetInterfacesRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x9L;
    }



        @Override
        public OFBsnGetInterfacesRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetL2TableRequestVer10.java97
org/projectfloodlight/openflow/protocol/ver10/OFBsnGetL2TableRequestVer10.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetL2TableRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xdL;
    }



        @Override
        public OFBsnGetL2TableRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFBsnHybridGetRequestVer10.java97
org/projectfloodlight/openflow/protocol/ver10/OFBsnHybridGetRequestVer10.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnHybridGetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x1bL;
    }



        @Override
        public OFBsnHybridGetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortModVer10.java233
org/projectfloodlight/openflow/protocol/ver11/OFPortModVer11.java233
org/projectfloodlight/openflow/protocol/ver12/OFPortModVer12.java233
org/projectfloodlight/openflow/protocol/ver13/OFPortModVer13.java233
org/projectfloodlight/openflow/protocol/ver14/OFPortModVer14.java237
    }


        @Override
        public OFPortMod build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFPort portNo = this.portNoSet ? this.portNo : parentMessage.portNo;
                if(portNo == null)
                    throw new NullPointerException("Property portNo must not be null");
                MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : parentMessage.hwAddr;
                if(hwAddr == null)
                    throw new NullPointerException("Property hwAddr must not be null");
                long config = this.configSet ? this.config : parentMessage.config;
                long mask = this.maskSet ? this.mask : parentMessage.mask;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsEntryVer10.java404
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsEntryVer11.java459
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsEntryVer12.java523
        private boolean maxEntriesSet;
        private long maxEntries;
        private boolean activeCountSet;
        private long activeCount;
        private boolean lookupCountSet;
        private U64 lookupCount;
        private boolean matchedCountSet;
        private U64 matchedCount;

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFTableStatsEntry.Builder setTableId(TableId tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public String getName() {
        return name;
    }

    @Override
    public OFTableStatsEntry.Builder setName(String name) {
        this.name = name;
        this.nameSet = true;
        return this;
    }
    @Override
    public OFMatchBmap getMatch()throws UnsupportedOperationException {
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnChecksumVer11.java100
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnChecksumVer11.java152
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFActionBsnChecksum.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }



        @Override
        public OFActionBsnChecksum build() {
                U128 checksum = this.checksumSet ? this.checksum : parentMessage.checksum;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnSetTunnelDstVer11.java97
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnSetTunnelDstVer11.java147
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public long getDst() {
        return dst;
    }

    @Override
    public OFActionBsnSetTunnelDst.Builder setDst(long dst) {
        this.dst = dst;
        this.dstSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }



        @Override
        public OFActionBsnSetTunnelDst build() {
                long dst = this.dstSet ? this.dst : parentMessage.dst;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwClearDataRequestVer11.java97
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwClearDataRequestVer11.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwClearDataRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x15L;
    }



        @Override
        public OFBsnBwClearDataRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableGetRequestVer11.java97
org/projectfloodlight/openflow/protocol/ver11/OFBsnBwEnableGetRequestVer11.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableGetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x13L;
    }



        @Override
        public OFBsnBwEnableGetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetInterfacesRequestVer11.java97
org/projectfloodlight/openflow/protocol/ver11/OFBsnGetInterfacesRequestVer11.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_11;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetInterfacesRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x9L;
    }



        @Override
        public OFBsnGetInterfacesRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFInstructionExperimenterVer11.java38
org/projectfloodlight/openflow/protocol/ver12/OFInstructionExperimenterVer12.java38
org/projectfloodlight/openflow/protocol/ver13/OFInstructionIdExperimenterVer13.java38
org/projectfloodlight/openflow/protocol/ver14/OFInstructionIdExperimenterVer14.java38
        public OFInstructionExperimenter readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 65535
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=OFInstructionType.EXPERIMENTER(65535), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            int experimenter = bb.readInt();
            bb.readerIndex(start);
            switch(experimenter) {
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnChecksumVer12.java100
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnChecksumVer12.java152
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFActionBsnChecksum.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFActionBsnChecksum build() {
                U128 checksum = this.checksumSet ? this.checksum : parentMessage.checksum;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnSetTunnelDstVer12.java97
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnSetTunnelDstVer12.java147
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public long getDst() {
        return dst;
    }

    @Override
    public OFActionBsnSetTunnelDst.Builder setDst(long dst) {
        this.dst = dst;
        this.dstSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }



        @Override
        public OFActionBsnSetTunnelDst build() {
                long dst = this.dstSet ? this.dst : parentMessage.dst;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFActionSetFieldVer12.java221
org/projectfloodlight/openflow/protocol/ver13/OFActionSetFieldVer13.java221
org/projectfloodlight/openflow/protocol/ver14/OFActionSetFieldVer14.java221
        public void write(ChannelBuffer bb, OFActionSetFieldVer12 message) {
            int startIndex = bb.writerIndex();
            // fixed value property type = 25
            bb.writeShort((short) 0x19);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            message.field.writeTo(bb);

            // update length field
            int length = bb.writerIndex() - startIndex;
            int alignedLength = ((length + 7)/8 * 8);
            bb.setShort(lengthIndex, alignedLength);
            // align message to 8 bytes
            bb.writeZero(alignedLength - length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFActionSetFieldVer12(");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwClearDataRequestVer12.java97
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwClearDataRequestVer12.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwClearDataRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x15L;
    }



        @Override
        public OFBsnBwClearDataRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableGetRequestVer12.java97
org/projectfloodlight/openflow/protocol/ver12/OFBsnBwEnableGetRequestVer12.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableGetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x13L;
    }



        @Override
        public OFBsnBwEnableGetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetInterfacesRequestVer12.java97
org/projectfloodlight/openflow/protocol/ver12/OFBsnGetInterfacesRequestVer12.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_12;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetInterfacesRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x9L;
    }



        @Override
        public OFBsnGetInterfacesRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFMatchV3Ver12.java609
org/projectfloodlight/openflow/protocol/ver13/OFMatchV3Ver13.java611
org/projectfloodlight/openflow/protocol/ver14/OFMatchV3Ver14.java609
        public void write(ChannelBuffer bb, OFMatchV3Ver12 message) {
            int startIndex = bb.writerIndex();
            // fixed value property type = 0x1
            bb.writeShort((short) 0x1);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            message.oxmList.writeTo(bb);

            // update length field
            int length = bb.writerIndex() - startIndex;
            int alignedLength = ((length + 7)/8 * 8);
            bb.setShort(lengthIndex, length);
            // align message to 8 bytes
            bb.writeZero(alignedLength - length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFMatchV3Ver12(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnChecksumVer13.java100
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnChecksumVer13.java152
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFActionBsnChecksum.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFActionBsnChecksum build() {
                U128 checksum = this.checksumSet ? this.checksum : parentMessage.checksum;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnSetTunnelDstVer13.java97
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnSetTunnelDstVer13.java147
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public long getDst() {
        return dst;
    }

    @Override
    public OFActionBsnSetTunnelDst.Builder setDst(long dst) {
        this.dst = dst;
        this.dstSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFActionBsnSetTunnelDst build() {
                long dst = this.dstSet ? this.dst : parentMessage.dst;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwClearDataRequestVer13.java97
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwClearDataRequestVer13.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwClearDataRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x15L;
    }



        @Override
        public OFBsnBwClearDataRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableGetRequestVer13.java97
org/projectfloodlight/openflow/protocol/ver13/OFBsnBwEnableGetRequestVer13.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableGetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x13L;
    }



        @Override
        public OFBsnBwEnableGetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionsRequestVer13.java97
org/projectfloodlight/openflow/protocol/ver13/OFBsnControllerConnectionsRequestVer13.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnControllerConnectionsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x38L;
    }



        @Override
        public OFBsnControllerConnectionsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableGetRequestVer13.java97
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowIdleEnableGetRequestVer13.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdleEnableGetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x26L;
    }



        @Override
        public OFBsnFlowIdleEnableGetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryAddVer13.java471
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsEntryVer13.java306
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryAddVer14.java471
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsEntryVer14.java306
            message.tableId.write2Bytes(bb);
            // keyLength is length indicator for key, will be
            // udpated when key has been written
            int keyLengthIndex = bb.writerIndex();
            bb.writeShort(0);
            message.checksum.write16Bytes(bb);
            int keyStartIndex = bb.writerIndex();
            ChannelUtils.writeList(bb, message.key);
            // update field length member keyLength
            int keyLength = bb.writerIndex() - keyStartIndex;
            bb.setShort(keyLengthIndex, keyLength);
            ChannelUtils.writeList(bb, message.value);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFBsnGentableEntryAddVer13(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetInterfacesRequestVer13.java97
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetInterfacesRequestVer13.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetInterfacesRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x9L;
    }



        @Override
        public OFBsnGetInterfacesRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetSwitchPipelineRequestVer13.java97
org/projectfloodlight/openflow/protocol/ver13/OFBsnGetSwitchPipelineRequestVer13.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetSwitchPipelineRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x33L;
    }



        @Override
        public OFBsnGetSwitchPipelineRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpRequestVer13.java37
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpRequestVer14.java37
    final static int LENGTH = 38;

        private final static long DEFAULT_XID = 0x0L;
        private final static short DEFAULT_ENABLED = (short) 0x0;
        private final static OFPort DEFAULT_PORT_NO = OFPort.ANY;
        private final static int DEFAULT_ACTOR_SYS_PRIORITY = 0x0;
        private final static MacAddress DEFAULT_ACTOR_SYS_MAC = MacAddress.NONE;
        private final static int DEFAULT_ACTOR_PORT_PRIORITY = 0x0;
        private final static int DEFAULT_ACTOR_PORT_NUM = 0x0;
        private final static int DEFAULT_ACTOR_KEY = 0x0;

    // OF message fields
    private final long xid;
    private final short enabled;
    private final OFPort portNo;
    private final int actorSysPriority;
    private final MacAddress actorSysMac;
    private final int actorPortPriority;
    private final int actorPortNum;
    private final int actorKey;
//
    // Immutable default instance
    final static OFBsnSetLacpRequestVer13 DEFAULT = new OFBsnSetLacpRequestVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTimeRequestVer13.java97
org/projectfloodlight/openflow/protocol/ver13/OFBsnTimeRequestVer13.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTimeRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2cL;
    }



        @Override
        public OFBsnTimeRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvCircuitIdVer13.java178
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvDataVer13.java178
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvNameVer13.java178
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvCircuitIdVer14.java178
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvDataVer14.java178
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvNameVer14.java178
                throw new OFParseError("Wrong type: Expected=0xe(0xe), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            byte[] value = ChannelUtils.readBytes(bb, length - (bb.readerIndex() - start));
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnInternalPriorityVer13.java97
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnInternalPriorityVer13.java147
    @Override
    public OFInstructionType getType() {
        return OFInstructionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xcL;
    }

    @Override
    public long getValue() {
        return value;
    }

    @Override
    public OFInstructionBsnInternalPriority.Builder setValue(long value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }



        @Override
        public OFInstructionBsnInternalPriority build() {
                long value = this.valueSet ? this.value : parentMessage.value;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandDropVer13.java93
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandDropVer14.java93
        BuilderWithParent(OFMeterBandDropVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public int getType() {
        return 0x1;
    }

    @Override
    public long getRate() {
        return rate;
    }

    @Override
    public OFMeterBandDrop.Builder setRate(long rate) {
        this.rate = rate;
        this.rateSet = true;
        return this;
    }
    @Override
    public long getBurstSize() {
        return burstSize;
    }

    @Override
    public OFMeterBandDrop.Builder setBurstSize(long burstSize) {
        this.burstSize = burstSize;
        this.burstSizeSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturePropExperimenterMissVer13.java38
org/projectfloodlight/openflow/protocol/ver14/OFBundlePropExperimenterVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFPortDescPropExperimenterVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFPortModPropExperimenterVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsPropExperimenterVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFQueueDescPropExperimenterVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsPropExperimenterVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFRolePropExperimenterVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturePropExperimenterMissVer14.java38
org/projectfloodlight/openflow/protocol/ver14/OFTableModPropExperimenterVer14.java38
        public OFTableFeaturePropExperimenterMiss readFrom(ChannelBuffer bb) throws OFParseError {
            if(bb.readableBytes() < MINIMUM_LENGTH)
                return null;
            int start = bb.readerIndex();
            // fixed value property type == 0xffff
            short type = bb.readShort();
            if(type != (short) 0xffff)
                throw new OFParseError("Wrong type: Expected=0xffff(0xffff), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            int experimenter = bb.readInt();
            bb.readerIndex(start);
            switch(experimenter) {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsEntryVer13.java336
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsEntryVer14.java336
    }



        @Override
        public OFTableStatsEntry build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                long activeCount = this.activeCountSet ? this.activeCount : parentMessage.activeCount;
                U64 lookupCount = this.lookupCountSet ? this.lookupCount : parentMessage.lookupCount;
                if(lookupCount == null)
                    throw new NullPointerException("Property lookupCount must not be null");
                U64 matchedCount = this.matchedCountSet ? this.matchedCount : parentMessage.matchedCount;
                if(matchedCount == null)
                    throw new NullPointerException("Property matchedCount must not be null");

                //
                return new OFTableStatsEntryVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnChecksumVer14.java100
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnChecksumVer14.java152
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFActionBsnChecksum.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFActionBsnChecksum build() {
                U128 checksum = this.checksumSet ? this.checksum : parentMessage.checksum;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnSetTunnelDstVer14.java97
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnSetTunnelDstVer14.java147
    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public long getDst() {
        return dst;
    }

    @Override
    public OFActionBsnSetTunnelDst.Builder setDst(long dst) {
        this.dst = dst;
        this.dstSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFActionBsnSetTunnelDst build() {
                long dst = this.dstSet ? this.dst : parentMessage.dst;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwClearDataRequestVer14.java97
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwClearDataRequestVer14.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwClearDataRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x15L;
    }



        @Override
        public OFBsnBwClearDataRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableGetRequestVer14.java97
org/projectfloodlight/openflow/protocol/ver14/OFBsnBwEnableGetRequestVer14.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnBwEnableGetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x13L;
    }



        @Override
        public OFBsnBwEnableGetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionsRequestVer14.java97
org/projectfloodlight/openflow/protocol/ver14/OFBsnControllerConnectionsRequestVer14.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnControllerConnectionsRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x38L;
    }



        @Override
        public OFBsnControllerConnectionsRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableGetRequestVer14.java97
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowIdleEnableGetRequestVer14.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnFlowIdleEnableGetRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x26L;
    }



        @Override
        public OFBsnFlowIdleEnableGetRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetInterfacesRequestVer14.java97
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetInterfacesRequestVer14.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetInterfacesRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x9L;
    }



        @Override
        public OFBsnGetInterfacesRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetSwitchPipelineRequestVer14.java97
org/projectfloodlight/openflow/protocol/ver14/OFBsnGetSwitchPipelineRequestVer14.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnGetSwitchPipelineRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x33L;
    }



        @Override
        public OFBsnGetSwitchPipelineRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnTimeRequestVer14.java97
org/projectfloodlight/openflow/protocol/ver14/OFBsnTimeRequestVer14.java147
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.EXPERIMENTER;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFBsnTimeRequest.Builder setXid(long xid) {
        this.xid = xid;
        this.xidSet = true;
        return this;
    }
    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2cL;
    }



        @Override
        public OFBsnTimeRequest build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnInternalPriorityVer14.java97
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnInternalPriorityVer14.java147
    @Override
    public OFInstructionType getType() {
        return OFInstructionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xcL;
    }

    @Override
    public long getValue() {
        return value;
    }

    @Override
    public OFInstructionBsnInternalPriority.Builder setValue(long value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }



        @Override
        public OFInstructionBsnInternalPriority build() {
                long value = this.valueSet ? this.value : parentMessage.value;
FileLine
net/onrc/openvirtex/packet/AbstractSegment.java108
net/onrc/openvirtex/packet/UDP.java160
        if (this.checksum == 0) {
            bb.rewind();
            int accumulation = 0;

            // compute pseudo header mac
            if (this.parent != null && this.parent instanceof IPv4) {
                final IPv4 ipv4 = (IPv4) this.parent;
                accumulation += (ipv4.getSourceAddress() >> 16 & 0xffff)
                        + (ipv4.getSourceAddress() & 0xffff);
                accumulation += (ipv4.getDestinationAddress() >> 16 & 0xffff)
                        + (ipv4.getDestinationAddress() & 0xffff);
                accumulation += ipv4.getProtocol() & 0xff;
                accumulation += length & 0xffff;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowAddVer10.java856
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteStrictVer10.java855
org/projectfloodlight/openflow/protocol/ver10/OFFlowDeleteVer10.java855
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyStrictVer10.java855
org/projectfloodlight/openflow/protocol/ver10/OFFlowModifyVer10.java855
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java942
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java942
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java942
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java942
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java942
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java942
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java942
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java942
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java942
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java942
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java986
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java982
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java981
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java982
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java980
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java958
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java958
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java958
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java958
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java958
        } else if (!cookie.equals(other.cookie))
            return false;
        if( idleTimeout != other.idleTimeout)
            return false;
        if( hardTimeout != other.hardTimeout)
            return false;
        if( priority != other.priority)
            return false;
        if (bufferId == null) {
            if (other.bufferId != null)
                return false;
        } else if (!bufferId.equals(other.bufferId))
            return false;
        if (outPort == null) {
            if (other.outPort != null)
                return false;
        } else if (!outPort.equals(other.outPort))
            return false;
        if (flags == null) {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortDescVer10.java553
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java579
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java579
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortStatusVer13.java509
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java579
org/projectfloodlight/openflow/protocol/ver13/OFPortOpticalVer13.java352
org/projectfloodlight/openflow/protocol/ver14/OFPortDescVer14.java500
            MacAddress hwAddr = this.hwAddrSet ? this.hwAddr : DEFAULT_HW_ADDR;
            if(hwAddr == null)
                throw new NullPointerException("Property hwAddr must not be null");
            String name = this.nameSet ? this.name : DEFAULT_NAME;
            if(name == null)
                throw new NullPointerException("Property name must not be null");
            Set<OFPortConfig> config = this.configSet ? this.config : DEFAULT_CONFIG;
            if(config == null)
                throw new NullPointerException("Property config must not be null");
            Set<OFPortState> state = this.stateSet ? this.state : DEFAULT_STATE;
            if(state == null)
                throw new NullPointerException("Property state must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java42
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java42
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java42
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java42
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java42
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java42
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java42
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java42
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java42
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java42
        private final static long DEFAULT_XID = 0x0L;
        private final static U64 DEFAULT_COOKIE = U64.ZERO;
        private final static U64 DEFAULT_COOKIE_MASK = U64.ZERO;
        private final static TableId DEFAULT_TABLE_ID = TableId.ZERO;
        private final static int DEFAULT_IDLE_TIMEOUT = 0x0;
        private final static int DEFAULT_HARD_TIMEOUT = 0x0;
        private final static int DEFAULT_PRIORITY = 0x0;
        private final static OFBufferId DEFAULT_BUFFER_ID = OFBufferId.NO_BUFFER;
        private final static OFPort DEFAULT_OUT_PORT = OFPort.ANY;
        private final static OFGroup DEFAULT_OUT_GROUP = OFGroup.ANY;
        private final static Set<OFFlowModFlags> DEFAULT_FLAGS = ImmutableSet.<OFFlowModFlags>of();
        private final static Match DEFAULT_MATCH = OFFactoryVer11.MATCH_WILDCARD_ALL;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java777
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java809
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java800
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java809
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java800
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsEntryVer13.java844
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java800
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsEntryVer14.java866
        if( idleTimeout != other.idleTimeout)
            return false;
        if (packetCount == null) {
            if (other.packetCount != null)
                return false;
        } else if (!packetCount.equals(other.packetCount))
            return false;
        if (byteCount == null) {
            if (other.byteCount != null)
                return false;
        } else if (!byteCount.equals(other.byteCount))
            return false;
        if (match == null) {
            if (other.match != null)
                return false;
        } else if (!match.equals(other.match))
            return false;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFMatchTypeSerializerVer11.java34
org/projectfloodlight/openflow/protocol/ver12/OFMatchTypeSerializerVer12.java35
org/projectfloodlight/openflow/protocol/ver13/OFMatchTypeSerializerVer13.java35
org/projectfloodlight/openflow/protocol/ver14/OFMatchTypeSerializerVer14.java35
    public static OFMatchType readFrom(ChannelBuffer bb) throws OFParseError {
        try {
            return ofWireValue(bb.readShort());
        } catch (IllegalArgumentException e) {
            throw new OFParseError(e);
        }
    }

    public static void writeTo(ChannelBuffer bb, OFMatchType e) {
        bb.writeShort(toWireValue(e));
    }

    public static void putTo(OFMatchType e, PrimitiveSink sink) {
        sink.putShort(toWireValue(e));
    }

    public static OFMatchType ofWireValue(short val) {
        switch(val) {
            case STANDARD_VAL:
                return OFMatchType.STANDARD;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortDescVer11.java607
org/projectfloodlight/openflow/protocol/ver12/OFPortDescVer12.java607
org/projectfloodlight/openflow/protocol/ver13/OFPortDescVer13.java607
            return new OFPortDescVer11(
                    portNo,
                    hwAddr,
                    name,
                    config,
                    state,
                    curr,
                    advertised,
                    supported,
                    peer,
                    currSpeed,
                    maxSpeed
                );
        }

    }


    final static Reader READER = new Reader();
    static class Reader implements OFMessageReader<OFPortDesc> {
        @Override
        public OFPortDesc readFrom(ChannelBuffer bb) throws OFParseError {
            OFPort portNo = OFPort.read4Bytes(bb);
            // pad: 4 bytes
            bb.skipBytes(4);
            MacAddress hwAddr = MacAddress.read6Bytes(bb);
            // pad: 2 bytes
            bb.skipBytes(2);
            String name = ChannelUtils.readFixedLengthString(bb, 16);
            Set<OFPortConfig> config = OFPortConfigSerializerVer11.readFrom(bb);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsReplyVer13.java62
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsReplyVer13.java62
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsReplyVer13.java62
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsReplyVer13.java62
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsReplyVer13.java62
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsReplyVer13.java62
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsReplyVer13.java62
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsReplyVer13.java62
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsReplyVer13.java62
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsReplyVer13.java62
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsReplyVer13.java62
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsReplyVer13.java62
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsReplyVer13.java62
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsReplyVer13.java62
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsReplyVer13.java62
            throw new NullPointerException("OFBsnDebugCounterDescStatsReplyVer13: property entries cannot be null");
        }
        this.xid = xid;
        this.flags = flags;
        this.entries = entries;
    }

    // Accessors for OF message fields
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xdL;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsRequestVer13.java60
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsRequestVer13.java55
            throw new NullPointerException("OFBsnFlowChecksumBucketStatsRequestVer13: property tableId cannot be null");
        }
        this.xid = xid;
        this.flags = flags;
        this.tableId = tableId;
    }

    // Accessors for OF message fields
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsEntryVer13.java211
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsEntryVer13.java456
        private boolean portNoSet;
        private OFPort portNo;
        private boolean inAdminStatusSet;
        private Set<OFCalientOpticalPortAdminState> inAdminStatus;
        private boolean inOperStatusSet;
        private Set<OFCalientOpticalPortOperState> inOperStatus;
        private boolean inOperCapabilitySet;
        private Set<OFCalientOpticalPortOperCapability> inOperCapability;
        private boolean inAlarmSet;
        private Set<OFCalientOcsAlarm> inAlarm;
        private boolean inportPowerSet;
        private String inportPower;
        private boolean outportPowerSet;
        private String outportPower;
        private boolean outAdminStatusSet;
        private Set<OFCalientOpticalPortAdminState> outAdminStatus;
        private boolean outOperStatusSet;
        private Set<OFCalientOpticalPortOperState> outOperStatus;
        private boolean outOperCapabilitySet;
        private Set<OFCalientOpticalPortOperCapability> outOperCapability;
        private boolean outAlarmSet;
        private Set<OFCalientOcsAlarm> outAlarm;
        private boolean inCircuitIdSet;
        private String inCircuitId;
        private boolean outCircuitIdSet;
        private String outCircuitId;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandDropVer13.java208
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandDscpRemarkVer13.java246
org/projectfloodlight/openflow/protocol/ver13/OFMeterBandExperimenterVer13.java246
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandDropVer14.java208
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandDscpRemarkVer14.java246
org/projectfloodlight/openflow/protocol/ver14/OFMeterBandExperimenterVer14.java246
                throw new OFParseError("Wrong type: Expected=0x1(0x1), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long rate = U32.f(bb.readInt());
            long burstSize = U32.f(bb.readInt());
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsVer13.java39
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsVer14.java39
    final static int MINIMUM_LENGTH = 40;

        private final static long DEFAULT_METER_ID = 0x0L;
        private final static long DEFAULT_FLOW_COUNT = 0x0L;
        private final static U64 DEFAULT_PACKET_IN_COUNT = U64.ZERO;
        private final static U64 DEFAULT_BYTE_IN_COUNT = U64.ZERO;
        private final static long DEFAULT_DURATION_SEC = 0x0L;
        private final static long DEFAULT_DURATION_NSEC = 0x0L;
        private final static List<OFMeterBandStats> DEFAULT_BAND_STATS = ImmutableList.<OFMeterBandStats>of();

    // OF message fields
    private final long meterId;
    private final long flowCount;
    private final U64 packetInCount;
    private final U64 byteInCount;
    private final long durationSec;
    private final long durationNsec;
    private final List<OFMeterBandStats> bandStats;
//
    // Immutable default instance
    final static OFMeterStatsVer13 DEFAULT = new OFMeterStatsVer13(
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsReplyVer14.java62
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsReplyVer14.java62
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsReplyVer14.java62
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsReplyVer14.java62
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsReplyVer14.java62
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsReplyVer14.java62
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsReplyVer14.java62
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsReplyVer14.java62
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsReplyVer14.java62
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsReplyVer14.java62
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsReplyVer14.java62
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsReplyVer14.java62
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsReplyVer14.java62
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsReplyVer14.java62
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsReplyVer14.java62
            throw new NullPointerException("OFBsnDebugCounterDescStatsReplyVer14: property entries cannot be null");
        }
        this.xid = xid;
        this.flags = flags;
        this.entries = entries;
    }

    // Accessors for OF message fields
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsReplyFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xdL;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsRequestVer14.java60
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsRequestVer14.java55
            throw new NullPointerException("OFBsnFlowChecksumBucketStatsRequestVer14: property tableId cannot be null");
        }
        this.xid = xid;
        this.flags = flags;
        this.tableId = tableId;
    }

    // Accessors for OF message fields
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_14;
    }

    @Override
    public OFType getType() {
        return OFType.STATS_REQUEST;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public OFStatsType getStatsType() {
        return OFStatsType.EXPERIMENTER;
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xaL;
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFBundleAddMsgVer14.java306
org/projectfloodlight/openflow/protocol/ver14/OFBundleCtrlMsgVer14.java353
                throw new OFParseError("Wrong type: Expected=OFType.BUNDLE_ADD_MESSAGE(34), got="+type);
            int length = U16.f(bb.readShort());
            if(length < MINIMUM_LENGTH)
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            BundleId bundleId = BundleId.read4Bytes(bb);
FileLine
net/onrc/openvirtex/core/io/OVXMessageDecoder.java174
net/onrc/openvirtex/elements/datapath/OVXSwitch.java941
            else if(of_message_type.equals("OFAggregateStatsRequestVer13"))
                ovxmessage= OVXFactoryInst.myOVXFactory.buildOVXAggregateStatsRequest(((OFAggregateStatsRequest)message).getXid(), ((OFAggregateStatsRequest)message).getFlags(), ((OFAggregateStatsRequest)message).getTableId(), ((OFAggregateStatsRequest)message).getOutPort(), ((OFAggregateStatsRequest)message).getOutGroup(), ((OFAggregateStatsRequest)message).getCookie(), ((OFAggregateStatsRequest)message).getCookieMask(), ((OFAggregateStatsRequest)message).getMatch());
            else if(of_message_type.equals("OFPortDescStatsRequestVer13"))
FileLine
net/onrc/openvirtex/core/io/OVXMessageDecoder.java182
net/onrc/openvirtex/elements/datapath/OVXSwitch.java949
            else if(of_message_type.equals("OFFlowStatsRequestVer13"))
                ovxmessage=OVXFactoryInst.myOVXFactory.buildOVXFlowStatsRequest(((OFFlowStatsRequest)message).getXid(), ((OFFlowStatsRequest)message).getFlags(), ((OFFlowStatsRequest)message).getTableId(), ((OFFlowStatsRequest)message).getOutPort(), ((OFFlowStatsRequest)message).getOutGroup(), ((OFFlowStatsRequest)message).getCookie(), ((OFFlowStatsRequest)message).getCookieMask(), ((OFFlowStatsRequest)message).getMatch());
            else if(of_message_type.equals("OFPortStatsRequestVer13"))
FileLine
net/onrc/openvirtex/core/io/OVXMessageDecoder.java232
net/onrc/openvirtex/elements/datapath/OVXSwitch.java999
            else if(of_message_type.equals("OFPacketInVer13"))
                ovxmessage=OVXFactoryInst.myOVXFactory.buildOVXPacketIn(((OFPacketIn)message).getXid(),((OFPacketIn)message).getBufferId(), ((OFPacketIn)message).getTotalLen(),((OFPacketIn)message).getReason(), ((OFPacketIn)message).getTableId(), ((OFPacketIn)message).getCookie(), ((OFPacketIn)message).getMatch(), ((OFPacketIn)message).getData());
            else if(of_message_type.equals("OFPacketOutVer13"))
FileLine
net/onrc/openvirtex/elements/port/OVXPort.java195
net/onrc/openvirtex/elements/port/OVXPort.java216
        OFPortState[] port_state_array=new OFPortState[]{};
        Set<OFPortState> port_state_set=new HashSet<OFPortState>(Arrays.asList(port_state_array)); 
        this.state = port_state_set;
        if (OVXFactoryInst.ofversion == 10) {
            this.parentSwitch.generateFeaturesReply();
        } else if (OVXFactoryInst.ofversion == 13) {
            this.parentSwitch.generateFeaturesReplyV3();
        }
        if (this.parentSwitch.isActive()) {
            sendStatusMsg(OFPortReason.MODIFY);
        }
        if (this.isLink()) {
            this.getLink().getOutLink().getDstPort().boot();
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnChecksumVer10.java140
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnChecksumVer11.java140
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnChecksumVer12.java140
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnChecksumVer13.java140
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnChecksumVer14.java140
                return new OFActionBsnChecksumVer10(
                    checksum
                );
        }

    }

    static class Builder implements OFActionBsnChecksum.Builder {
        // OF message fields
        private boolean checksumSet;
        private U128 checksum;

    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x4L;
    }

    @Override
    public U128 getChecksum() {
        return checksum;
    }

    @Override
    public OFActionBsnChecksum.Builder setChecksum(U128 checksum) {
        this.checksum = checksum;
        this.checksumSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFActionBsnSetTunnelDstVer10.java135
org/projectfloodlight/openflow/protocol/ver11/OFActionBsnSetTunnelDstVer11.java135
org/projectfloodlight/openflow/protocol/ver12/OFActionBsnSetTunnelDstVer12.java135
org/projectfloodlight/openflow/protocol/ver13/OFActionBsnSetTunnelDstVer13.java135
org/projectfloodlight/openflow/protocol/ver14/OFActionBsnSetTunnelDstVer14.java135
                return new OFActionBsnSetTunnelDstVer10(
                    dst
                );
        }

    }

    static class Builder implements OFActionBsnSetTunnelDst.Builder {
        // OF message fields
        private boolean dstSet;
        private long dst;

    @Override
    public OFActionType getType() {
        return OFActionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0x2L;
    }

    @Override
    public long getDst() {
        return dst;
    }

    @Override
    public OFActionBsnSetTunnelDst.Builder setDst(long dst) {
        this.dst = dst;
        this.dstSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_10;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFeaturesReplyVer10.java482
org/projectfloodlight/openflow/protocol/ver11/OFFeaturesReplyVer11.java475
org/projectfloodlight/openflow/protocol/ver12/OFFeaturesReplyVer12.java475
org/projectfloodlight/openflow/protocol/ver13/OFFeaturesReplyVer13.java474
org/projectfloodlight/openflow/protocol/ver14/OFFeaturesReplyVer14.java474
                throw new OFParseError("Wrong length: Expected to be >= " + MINIMUM_LENGTH + ", was: " + length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            long xid = U32.f(bb.readInt());
            DatapathId datapathId = DatapathId.of(bb.readLong());
            long nBuffers = U32.f(bb.readInt());
            short nTables = U8.f(bb.readByte());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsReplyVer10.java392
org/projectfloodlight/openflow/protocol/ver10/OFPortStatsReplyVer10.java399
org/projectfloodlight/openflow/protocol/ver10/OFQueueStatsReplyVer10.java392
org/projectfloodlight/openflow/protocol/ver10/OFTableStatsReplyVer10.java392
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsReplyVer11.java397
org/projectfloodlight/openflow/protocol/ver11/OFGroupDescStatsReplyVer11.java397
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsReplyVer11.java397
org/projectfloodlight/openflow/protocol/ver11/OFPortStatsReplyVer11.java397
org/projectfloodlight/openflow/protocol/ver11/OFQueueStatsReplyVer11.java397
org/projectfloodlight/openflow/protocol/ver11/OFTableStatsReplyVer11.java397
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsReplyVer12.java397
org/projectfloodlight/openflow/protocol/ver12/OFGroupDescStatsReplyVer12.java397
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsReplyVer12.java397
org/projectfloodlight/openflow/protocol/ver12/OFPortStatsReplyVer12.java397
org/projectfloodlight/openflow/protocol/ver12/OFQueueStatsReplyVer12.java397
org/projectfloodlight/openflow/protocol/ver12/OFTableStatsReplyVer12.java397
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterDescStatsReplyVer13.java443
org/projectfloodlight/openflow/protocol/ver13/OFBsnDebugCounterStatsReplyVer13.java443
org/projectfloodlight/openflow/protocol/ver13/OFBsnFlowChecksumBucketStatsReplyVer13.java443
org/projectfloodlight/openflow/protocol/ver13/OFBsnGenericStatsReplyVer13.java443
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableBucketStatsReplyVer13.java443
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableDescStatsReplyVer13.java443
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryDescStatsReplyVer13.java443
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryStatsReplyVer13.java443
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableStatsReplyVer13.java443
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsReplyVer13.java443
org/projectfloodlight/openflow/protocol/ver13/OFBsnPortCounterStatsReplyVer13.java443
org/projectfloodlight/openflow/protocol/ver13/OFBsnSwitchPipelineStatsReplyVer13.java443
org/projectfloodlight/openflow/protocol/ver13/OFBsnTableChecksumStatsReplyVer13.java443
org/projectfloodlight/openflow/protocol/ver13/OFBsnVlanCounterStatsReplyVer13.java443
org/projectfloodlight/openflow/protocol/ver13/OFBsnVrfCounterStatsReplyVer13.java443
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsReplyVer13.java494
org/projectfloodlight/openflow/protocol/ver13/OFCircuitPortsReplyVer13.java443
org/projectfloodlight/openflow/protocol/ver13/OFFlowStatsReplyVer13.java397
org/projectfloodlight/openflow/protocol/ver13/OFGroupDescStatsReplyVer13.java397
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsReplyVer13.java397
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigStatsReplyVer13.java397
org/projectfloodlight/openflow/protocol/ver13/OFMeterStatsReplyVer13.java397
org/projectfloodlight/openflow/protocol/ver13/OFPortDescStatsReplyVer13.java397
org/projectfloodlight/openflow/protocol/ver13/OFPortStatsReplyVer13.java397
org/projectfloodlight/openflow/protocol/ver13/OFQueueStatsReplyVer13.java397
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsReplyVer13.java400
org/projectfloodlight/openflow/protocol/ver13/OFTableFeaturesStatsRequestVer13.java397
org/projectfloodlight/openflow/protocol/ver13/OFTableStatsReplyVer13.java397
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterDescStatsReplyVer14.java443
org/projectfloodlight/openflow/protocol/ver14/OFBsnDebugCounterStatsReplyVer14.java443
org/projectfloodlight/openflow/protocol/ver14/OFBsnFlowChecksumBucketStatsReplyVer14.java443
org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericStatsReplyVer14.java443
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableBucketStatsReplyVer14.java443
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableDescStatsReplyVer14.java443
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryDescStatsReplyVer14.java443
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryStatsReplyVer14.java443
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableStatsReplyVer14.java443
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsReplyVer14.java443
org/projectfloodlight/openflow/protocol/ver14/OFBsnPortCounterStatsReplyVer14.java443
org/projectfloodlight/openflow/protocol/ver14/OFBsnSwitchPipelineStatsReplyVer14.java443
org/projectfloodlight/openflow/protocol/ver14/OFBsnTableChecksumStatsReplyVer14.java443
org/projectfloodlight/openflow/protocol/ver14/OFBsnVlanCounterStatsReplyVer14.java443
org/projectfloodlight/openflow/protocol/ver14/OFBsnVrfCounterStatsReplyVer14.java443
org/projectfloodlight/openflow/protocol/ver14/OFFlowStatsReplyVer14.java397
org/projectfloodlight/openflow/protocol/ver14/OFGroupDescStatsReplyVer14.java397
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsReplyVer14.java397
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigStatsReplyVer14.java397
org/projectfloodlight/openflow/protocol/ver14/OFMeterStatsReplyVer14.java397
org/projectfloodlight/openflow/protocol/ver14/OFPortDescStatsReplyVer14.java397
org/projectfloodlight/openflow/protocol/ver14/OFPortStatsReplyVer14.java397
org/projectfloodlight/openflow/protocol/ver14/OFQueueDescStatsReplyVer14.java397
org/projectfloodlight/openflow/protocol/ver14/OFQueueStatsReplyVer14.java397
org/projectfloodlight/openflow/protocol/ver14/OFTableDescStatsReplyVer14.java397
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsReplyVer14.java397
org/projectfloodlight/openflow/protocol/ver14/OFTableFeaturesStatsRequestVer14.java397
org/projectfloodlight/openflow/protocol/ver14/OFTableStatsReplyVer14.java397
        } else if (!flags.equals(other.flags))
            return false;
        if (entries == null) {
            if (other.entries != null)
                return false;
        } else if (!entries.equals(other.entries))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
        result = prime * result + ((flags == null) ? 0 : flags.hashCode());
        result = prime * result + ((entries == null) ? 0 : entries.hashCode());
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFQueuePropMinRateVer10.java170
org/projectfloodlight/openflow/protocol/ver11/OFQueuePropMinRateVer11.java170
org/projectfloodlight/openflow/protocol/ver12/OFQueuePropMaxRateVer12.java170
org/projectfloodlight/openflow/protocol/ver12/OFQueuePropMinRateVer12.java170
org/projectfloodlight/openflow/protocol/ver13/OFQueuePropMaxRateVer13.java170
org/projectfloodlight/openflow/protocol/ver13/OFQueuePropMinRateVer13.java170
org/projectfloodlight/openflow/protocol/ver14/OFQueuePropMaxRateVer14.java170
org/projectfloodlight/openflow/protocol/ver14/OFQueuePropMinRateVer14.java170
                throw new OFParseError("Wrong type: Expected=0x1(0x1), got="+type);
            int length = U16.f(bb.readShort());
            if(length != 16)
                throw new OFParseError("Wrong length: Expected=16(16), got="+length);
            if(bb.readableBytes() + (bb.readerIndex() - start) < length) {
                // Buffer does not have all data yet
                bb.readerIndex(start);
                return null;
            }
            if(logger.isTraceEnabled())
                logger.trace("readFrom - length={}", length);
            // pad: 4 bytes
            bb.skipBytes(4);
            int rate = U16.f(bb.readShort());
            // pad: 6 bytes
            bb.skipBytes(6);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFAggregateStatsRequestVer11.java599
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsRequestVer11.java599
            bb.writeShort((short) 0x2);
            OFStatsRequestFlagsSerializerVer11.writeTo(bb, message.flags);
            // pad: 4 bytes
            bb.writeZero(4);
            message.tableId.writeByte(bb);
            // pad: 3 bytes
            bb.writeZero(3);
            message.outPort.write4Bytes(bb);
            message.outGroup.write4Bytes(bb);
            // pad: 4 bytes
            bb.writeZero(4);
            bb.writeLong(message.cookie.getValue());
            bb.writeLong(message.cookieMask.getValue());
            message.match.writeTo(bb);


        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFAggregateStatsRequestVer11(");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowRemovedVer11.java700
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java716
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java716
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java716
            bb.writeShort((short) 0x88);
            bb.writeInt(U32.t(message.xid));
            bb.writeLong(message.cookie.getValue());
            bb.writeShort(U16.t(message.priority));
            bb.writeByte(U8.t(message.reason));
            message.tableId.writeByte(bb);
            bb.writeInt(U32.t(message.durationSec));
            bb.writeInt(U32.t(message.durationNsec));
            bb.writeShort(U16.t(message.idleTimeout));
            // pad: 2 bytes
            bb.writeZero(2);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupAddVer11.java190
org/projectfloodlight/openflow/protocol/ver11/OFGroupDeleteVer11.java190
org/projectfloodlight/openflow/protocol/ver11/OFGroupModifyVer11.java190
org/projectfloodlight/openflow/protocol/ver12/OFGroupAddVer12.java190
org/projectfloodlight/openflow/protocol/ver12/OFGroupDeleteVer12.java190
org/projectfloodlight/openflow/protocol/ver12/OFGroupModifyVer12.java190
org/projectfloodlight/openflow/protocol/ver13/OFGroupAddVer13.java190
org/projectfloodlight/openflow/protocol/ver13/OFGroupDeleteVer13.java190
org/projectfloodlight/openflow/protocol/ver13/OFGroupModifyVer13.java190
org/projectfloodlight/openflow/protocol/ver14/OFGroupAddVer14.java190
org/projectfloodlight/openflow/protocol/ver14/OFGroupDeleteVer14.java190
org/projectfloodlight/openflow/protocol/ver14/OFGroupModifyVer14.java190
        public OFGroupAdd build() {
                long xid = this.xidSet ? this.xid : parentMessage.xid;
                OFGroupType groupType = this.groupTypeSet ? this.groupType : parentMessage.groupType;
                if(groupType == null)
                    throw new NullPointerException("Property groupType must not be null");
                OFGroup group = this.groupSet ? this.group : parentMessage.group;
                if(group == null)
                    throw new NullPointerException("Property group must not be null");
                List<OFBucket> buckets = this.bucketsSet ? this.buckets : parentMessage.buckets;
                if(buckets == null)
                    throw new NullPointerException("Property buckets must not be null");

                //
                return new OFGroupAddVer11(
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java222
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java222
org/projectfloodlight/openflow/protocol/ver13/OFGroupStatsEntryVer13.java236
org/projectfloodlight/openflow/protocol/ver14/OFGroupStatsEntryVer14.java236
    }



        @Override
        public OFGroupStatsEntry build() {
                OFGroup group = this.groupSet ? this.group : parentMessage.group;
                if(group == null)
                    throw new NullPointerException("Property group must not be null");
                long refCount = this.refCountSet ? this.refCount : parentMessage.refCount;
                U64 packetCount = this.packetCountSet ? this.packetCount : parentMessage.packetCount;
                if(packetCount == null)
                    throw new NullPointerException("Property packetCount must not be null");
                U64 byteCount = this.byteCountSet ? this.byteCount : parentMessage.byteCount;
                if(byteCount == null)
                    throw new NullPointerException("Property byteCount must not be null");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFPortModVer11.java450
org/projectfloodlight/openflow/protocol/ver12/OFPortModVer12.java450
org/projectfloodlight/openflow/protocol/ver13/OFPortModVer13.java450
            sink.putByte((byte) 0x2);
            // fixed value property type = 16
            sink.putByte((byte) 0x10);
            // fixed value property length = 40
            sink.putShort((short) 0x28);
            sink.putLong(message.xid);
            message.portNo.putTo(sink);
            // skip pad (4 bytes)
            message.hwAddr.putTo(sink);
            // skip pad (2 bytes)
            sink.putLong(message.config);
            sink.putLong(message.mask);
            sink.putLong(message.advertise);
            // skip pad (4 bytes)
        }
    }


    public void writeTo(ChannelBuffer bb) {
        WRITER.write(bb, this);
    }

    final static Writer WRITER = new Writer();
    static class Writer implements OFMessageWriter<OFPortModVer11> {
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFPacketQueueVer12.java296
org/projectfloodlight/openflow/protocol/ver13/OFPacketQueueVer13.java296
org/projectfloodlight/openflow/protocol/ver14/OFPacketQueueVer14.java296
        public void write(ChannelBuffer bb, OFPacketQueueVer12 message) {
            int startIndex = bb.writerIndex();
            bb.writeInt(U32.t(message.queueId));
            message.port.write4Bytes(bb);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            // pad: 6 bytes
            bb.writeZero(6);
            ChannelUtils.writeList(bb, message.properties);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFPacketQueueVer12(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java685
org/projectfloodlight/openflow/protocol/ver13/OFBsnSetLacpRequestVer13.java601
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java685
org/projectfloodlight/openflow/protocol/ver14/OFBsnSetLacpRequestVer14.java601
        StringBuilder b = new StringBuilder("OFBsnLacpStatsEntryVer13(");
        b.append("portNo=").append(portNo);
        b.append(", ");
        b.append("actorSysPriority=").append(actorSysPriority);
        b.append(", ");
        b.append("actorSysMac=").append(actorSysMac);
        b.append(", ");
        b.append("actorPortPriority=").append(actorPortPriority);
        b.append(", ");
        b.append("actorPortNum=").append(actorPortNum);
        b.append(", ");
        b.append("actorKey=").append(actorKey);
        b.append(", ");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortDescPropOpticalVer13.java1015
org/projectfloodlight/openflow/protocol/ver13/OFCalientPortStatsEntryVer13.java868
        if (inAdminStatus == null) {
            if (other.inAdminStatus != null)
                return false;
        } else if (!inAdminStatus.equals(other.inAdminStatus))
            return false;
        if (inOperStatus == null) {
            if (other.inOperStatus != null)
                return false;
        } else if (!inOperStatus.equals(other.inOperStatus))
            return false;
        if (inOperCapability == null) {
            if (other.inOperCapability != null)
                return false;
        } else if (!inOperCapability.equals(other.inOperCapability))
            return false;
        if (outAdminStatus == null) {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFInstructionBsnInternalPriorityVer13.java135
org/projectfloodlight/openflow/protocol/ver14/OFInstructionBsnInternalPriorityVer14.java135
                return new OFInstructionBsnInternalPriorityVer13(
                    value
                );
        }

    }

    static class Builder implements OFInstructionBsnInternalPriority.Builder {
        // OF message fields
        private boolean valueSet;
        private long value;

    @Override
    public OFInstructionType getType() {
        return OFInstructionType.EXPERIMENTER;
    }

    @Override
    public long getExperimenter() {
        return 0x5c16c7L;
    }

    @Override
    public long getSubtype() {
        return 0xcL;
    }

    @Override
    public long getValue() {
        return value;
    }

    @Override
    public OFInstructionBsnInternalPriority.Builder setValue(long value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFAggregateStatsRequestVer10.java98
org/projectfloodlight/openflow/protocol/ver10/OFFlowStatsRequestVer10.java98
    }

    @Override
    public Set<OFStatsRequestFlags> getFlags() {
        return flags;
    }

    @Override
    public TableId getTableId() {
        return tableId;
    }

    @Override
    public OFPort getOutPort() {
        return outPort;
    }

    @Override
    public OFGroup getOutGroup()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property outGroup not supported in version 1.0");
    }

    @Override
    public U64 getCookie()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property cookie not supported in version 1.0");
    }

    @Override
    public U64 getCookieMask()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property cookieMask not supported in version 1.0");
    }

    @Override
    public Match getMatch() {
        return match;
    }



    public OFAggregateStatsRequest.Builder createBuilder() {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFFeaturesReplyVer10.java603
org/projectfloodlight/openflow/protocol/ver11/OFFeaturesReplyVer11.java596
org/projectfloodlight/openflow/protocol/ver12/OFFeaturesReplyVer12.java596
        OFFeaturesReplyVer10 other = (OFFeaturesReplyVer10) obj;

        if( xid != other.xid)
            return false;
        if (datapathId == null) {
            if (other.datapathId != null)
                return false;
        } else if (!datapathId.equals(other.datapathId))
            return false;
        if( nBuffers != other.nBuffers)
            return false;
        if( nTables != other.nTables)
            return false;
        if (capabilities == null) {
            if (other.capabilities != null)
                return false;
        } else if (!capabilities.equals(other.capabilities))
            return false;
        if (actions == null) {
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortConfigSerializerVer10.java74
org/projectfloodlight/openflow/protocol/ver11/OFPortConfigSerializerVer11.java65
org/projectfloodlight/openflow/protocol/ver12/OFPortConfigSerializerVer12.java65
org/projectfloodlight/openflow/protocol/ver13/OFPortConfigSerializerVer13.java65
org/projectfloodlight/openflow/protocol/ver14/OFPortConfigSerializerVer14.java65
            set.add(OFPortConfig.NO_FLOOD);
        if((val & NO_FWD_VAL) != 0)
            set.add(OFPortConfig.NO_FWD);
        if((val & NO_PACKET_IN_VAL) != 0)
            set.add(OFPortConfig.NO_PACKET_IN);
        if((val & BSN_MIRROR_DEST_VAL) != 0)
            set.add(OFPortConfig.BSN_MIRROR_DEST);
        return Collections.unmodifiableSet(set);
    }

    public static int toWireValue(Set<OFPortConfig> set) {
        int wireValue = 0;

        for(OFPortConfig e: set) {
            switch(e) {
                case PORT_DOWN:
                    wireValue |= PORT_DOWN_VAL;
                    break;
                case NO_STP:
FileLine
org/projectfloodlight/openflow/protocol/ver10/OFPortModVer10.java515
org/projectfloodlight/openflow/protocol/ver11/OFPortModVer11.java525
org/projectfloodlight/openflow/protocol/ver12/OFPortModVer12.java525
org/projectfloodlight/openflow/protocol/ver13/OFPortModVer13.java525
org/projectfloodlight/openflow/protocol/ver14/OFPortModVer14.java533
        OFPortModVer10 other = (OFPortModVer10) obj;

        if( xid != other.xid)
            return false;
        if (portNo == null) {
            if (other.portNo != null)
                return false;
        } else if (!portNo.equals(other.portNo))
            return false;
        if (hwAddr == null) {
            if (other.hwAddr != null)
                return false;
        } else if (!hwAddr.equals(other.hwAddr))
            return false;
        if( config != other.config)
            return false;
        if( mask != other.mask)
            return false;
        if( advertise != other.advertise)
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowAddVer11.java850
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteStrictVer11.java850
org/projectfloodlight/openflow/protocol/ver11/OFFlowDeleteVer11.java850
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyStrictVer11.java850
org/projectfloodlight/openflow/protocol/ver11/OFFlowModifyVer11.java850
        public void write(ChannelBuffer bb, OFFlowAddVer11 message) {
            int startIndex = bb.writerIndex();
            // fixed value property version = 2
            bb.writeByte((byte) 0x2);
            // fixed value property type = 14
            bb.writeByte((byte) 0xe);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            bb.writeInt(U32.t(message.xid));
            bb.writeLong(message.cookie.getValue());
            bb.writeLong(message.cookieMask.getValue());
            message.tableId.writeByte(bb);
            // fixed value property command = 0
            bb.writeByte((short) 0x0);
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFFlowStatsEntryVer11.java373
org/projectfloodlight/openflow/protocol/ver12/OFFlowStatsEntryVer12.java373
org/projectfloodlight/openflow/protocol/ver13/OFCalientFlowStatsEntryVer13.java450
        public OFFlowStatsEntry build() {
                TableId tableId = this.tableIdSet ? this.tableId : parentMessage.tableId;
                if(tableId == null)
                    throw new NullPointerException("Property tableId must not be null");
                long durationSec = this.durationSecSet ? this.durationSec : parentMessage.durationSec;
                long durationNsec = this.durationNsecSet ? this.durationNsec : parentMessage.durationNsec;
                int priority = this.prioritySet ? this.priority : parentMessage.priority;
                int idleTimeout = this.idleTimeoutSet ? this.idleTimeout : parentMessage.idleTimeout;
                int hardTimeout = this.hardTimeoutSet ? this.hardTimeout : parentMessage.hardTimeout;
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFGroupStatsEntryVer11.java71
org/projectfloodlight/openflow/protocol/ver12/OFGroupStatsEntryVer12.java71
            throw new NullPointerException("OFGroupStatsEntryVer11: property bucketStats cannot be null");
        }
        this.group = group;
        this.refCount = refCount;
        this.packetCount = packetCount;
        this.byteCount = byteCount;
        this.bucketStats = bucketStats;
    }

    // Accessors for OF message fields
    @Override
    public OFGroup getGroup() {
        return group;
    }

    @Override
    public long getRefCount() {
        return refCount;
    }

    @Override
    public U64 getPacketCount() {
        return packetCount;
    }

    @Override
    public U64 getByteCount() {
        return byteCount;
    }

    @Override
    public List<OFBucketCounter> getBucketStats() {
        return bucketStats;
    }

    @Override
    public long getDurationSec()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property durationSec not supported in version 1.1");
FileLine
org/projectfloodlight/openflow/protocol/ver11/OFQueueGetConfigReplyVer11.java326
org/projectfloodlight/openflow/protocol/ver12/OFQueueGetConfigReplyVer12.java326
org/projectfloodlight/openflow/protocol/ver13/OFQueueGetConfigReplyVer13.java326
            bb.writeByte((byte) 0x2);
            // fixed value property type = 23
            bb.writeByte((byte) 0x17);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            bb.writeInt(U32.t(message.xid));
            message.port.write4Bytes(bb);
            // pad: 4 bytes
            bb.writeZero(4);
            ChannelUtils.writeList(bb, message.queues);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFQueueGetConfigReplyVer11(");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowAddVer12.java850
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteStrictVer12.java850
org/projectfloodlight/openflow/protocol/ver12/OFFlowDeleteVer12.java850
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyStrictVer12.java850
org/projectfloodlight/openflow/protocol/ver12/OFFlowModifyVer12.java850
        public void write(ChannelBuffer bb, OFFlowAddVer12 message) {
            int startIndex = bb.writerIndex();
            // fixed value property version = 3
            bb.writeByte((byte) 0x3);
            // fixed value property type = 14
            bb.writeByte((byte) 0xe);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            bb.writeInt(U32.t(message.xid));
            bb.writeLong(message.cookie.getValue());
            bb.writeLong(message.cookieMask.getValue());
            message.tableId.writeByte(bb);
            // fixed value property command = 0
            bb.writeByte((short) 0x0);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFFlowRemovedVer12.java37
org/projectfloodlight/openflow/protocol/ver13/OFFlowRemovedVer13.java37
org/projectfloodlight/openflow/protocol/ver14/OFFlowRemovedVer14.java37
    final static int MINIMUM_LENGTH = 56;

        private final static long DEFAULT_XID = 0x0L;
        private final static U64 DEFAULT_COOKIE = U64.ZERO;
        private final static int DEFAULT_PRIORITY = 0x0;
        private final static short DEFAULT_REASON = (short) 0x0;
        private final static TableId DEFAULT_TABLE_ID = TableId.ALL;
        private final static long DEFAULT_DURATION_SEC = 0x0L;
        private final static long DEFAULT_DURATION_NSEC = 0x0L;
        private final static int DEFAULT_IDLE_TIMEOUT = 0x0;
        private final static int DEFAULT_HARD_TIMEOUT = 0x0;
        private final static U64 DEFAULT_PACKET_COUNT = U64.ZERO;
        private final static U64 DEFAULT_BYTE_COUNT = U64.ZERO;
        private final static Match DEFAULT_MATCH = OFFactoryVer12.MATCH_WILDCARD_ALL;
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFGroupModFailedCodeSerializerVer12.java97
org/projectfloodlight/openflow/protocol/ver13/OFGroupModFailedCodeSerializerVer13.java97
org/projectfloodlight/openflow/protocol/ver14/OFGroupModFailedCodeSerializerVer14.java97
                throw new IllegalArgumentException("Illegal wire value for type OFGroupModFailedCode in version 1.2: " + val);
        }
    }


    public static short toWireValue(OFGroupModFailedCode e) {
        switch(e) {
            case GROUP_EXISTS:
                return GROUP_EXISTS_VAL;
            case INVALID_GROUP:
                return INVALID_GROUP_VAL;
            case WEIGHT_UNSUPPORTED:
                return WEIGHT_UNSUPPORTED_VAL;
            case OUT_OF_GROUPS:
                return OUT_OF_GROUPS_VAL;
            case OUT_OF_BUCKETS:
                return OUT_OF_BUCKETS_VAL;
            case CHAINING_UNSUPPORTED:
                return CHAINING_UNSUPPORTED_VAL;
            case WATCH_UNSUPPORTED:
                return WATCH_UNSUPPORTED_VAL;
            case LOOP:
                return LOOP_VAL;
            case UNKNOWN_GROUP:
                return UNKNOWN_GROUP_VAL;
            case CHAINED_GROUP:
                return CHAINED_GROUP_VAL;
            case BAD_TYPE:
                return BAD_TYPE_VAL;
            case BAD_COMMAND:
                return BAD_COMMAND_VAL;
            case BAD_BUCKET:
                return BAD_BUCKET_VAL;
            case BAD_WATCH:
                return BAD_WATCH_VAL;
            case EPERM:
                return EPERM_VAL;
            default:
                throw new IllegalArgumentException("Illegal enum value for type OFGroupModFailedCode in version 1.2: " + e);
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpOpVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpOpVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpOpVer14.java106
        BuilderWithParent(OFOxmArpOpVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80002a02L;
    }

    @Override
    public ArpOpcode getValue() {
        return value;
    }

    @Override
    public OFOxmArpOp.Builder setValue(ArpOpcode value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ArpOpcode> getMatchField() {
        return MatchField.ARP_OP;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ArpOpcode> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpShaVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpShaVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpShaVer14.java106
        BuilderWithParent(OFOxmArpShaVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80003006L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpSha.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_SHA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpSpaVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpSpaVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpSpaVer14.java106
        BuilderWithParent(OFOxmArpSpaVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80002c04L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpSpa.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_SPA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpThaVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpThaVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpThaVer14.java106
        BuilderWithParent(OFOxmArpThaVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80003206L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmArpTha.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ARP_THA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmArpTpaVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmArpTpaVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmArpTpaVer14.java106
        BuilderWithParent(OFOxmArpTpaVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80002e04L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmArpTpa.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.ARP_TPA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnEgrPortGroupIdVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnEgrPortGroupIdVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnEgrPortGroupIdVer14.java106
        BuilderWithParent(OFOxmBsnEgrPortGroupIdVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x30e04L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnEgrPortGroupId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_EGR_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnGlobalVrfAllowedVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnGlobalVrfAllowedVer13.java106
        BuilderWithParent(OFOxmBsnGlobalVrfAllowedVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x30601L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmBsnGlobalVrfAllowed.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.BSN_GLOBAL_VRF_ALLOWED;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts128Ver12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts128Ver13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts128Ver14.java106
        BuilderWithParent(OFOxmBsnInPorts128Ver12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x30010L;
    }

    @Override
    public OFBitMask128 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts128.Builder setValue(OFBitMask128 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask128> getMatchField() {
        return MatchField.BSN_IN_PORTS_128;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBitMask128> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnInPorts512Ver12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInPorts512Ver13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInPorts512Ver14.java106
        BuilderWithParent(OFOxmBsnInPorts512Ver12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x32640L;
    }

    @Override
    public OFBitMask512 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInPorts512.Builder setValue(OFBitMask512 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBitMask512> getMatchField() {
        return MatchField.BSN_IN_PORTS_512;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBitMask512> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnIngressPortGroupIdVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnIngressPortGroupIdVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnIngressPortGroupIdVer14.java106
        BuilderWithParent(OFOxmBsnIngressPortGroupIdVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x32804L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnIngressPortGroupId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_INGRESS_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL2CacheHitVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL2CacheHitVer13.java106
        BuilderWithParent(OFOxmBsnL2CacheHitVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x32401L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL2CacheHit.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.BSN_L2_CACHE_HIT;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3DstClassIdVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3DstClassIdVer13.java106
        BuilderWithParent(OFOxmBsnL3DstClassIdVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x30c04L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3DstClassId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_DST_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3InterfaceClassIdVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3InterfaceClassIdVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3InterfaceClassIdVer14.java106
        BuilderWithParent(OFOxmBsnL3InterfaceClassIdVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x30804L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3InterfaceClassId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_INTERFACE_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnL3SrcClassIdVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnL3SrcClassIdVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnL3SrcClassIdVer14.java106
        BuilderWithParent(OFOxmBsnL3SrcClassIdVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x30a04L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnL3SrcClassId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_L3_SRC_CLASS_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnLagIdVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnLagIdVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnLagIdVer14.java106
        BuilderWithParent(OFOxmBsnLagIdVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x30204L;
    }

    @Override
    public LagId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnLagId.Builder setValue(LagId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<LagId> getMatchField() {
        return MatchField.BSN_LAG_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<LagId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnTcpFlagsVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnTcpFlagsVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnTcpFlagsVer14.java106
        BuilderWithParent(OFOxmBsnTcpFlagsVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x32002L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnTcpFlags.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.BSN_TCP_FLAGS;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf0Ver12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf0Ver13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf0Ver14.java106
        BuilderWithParent(OFOxmBsnUdf0Ver12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x31004L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf0.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF0;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf1Ver12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf1Ver13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf1Ver14.java106
        BuilderWithParent(OFOxmBsnUdf1Ver12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x31204L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf1.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF1;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf2Ver12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf2Ver13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf2Ver14.java106
        BuilderWithParent(OFOxmBsnUdf2Ver12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x31404L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf2.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF2;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf3Ver12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf3Ver13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf3Ver14.java106
        BuilderWithParent(OFOxmBsnUdf3Ver12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x31604L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf3.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF3;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf4Ver12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf4Ver13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf4Ver14.java106
        BuilderWithParent(OFOxmBsnUdf4Ver12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x31804L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf4.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF4;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf5Ver12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf5Ver13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf5Ver14.java106
        BuilderWithParent(OFOxmBsnUdf5Ver12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x31a04L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf5.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF5;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf6Ver12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf6Ver13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf6Ver14.java106
        BuilderWithParent(OFOxmBsnUdf6Ver12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x31c04L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf6.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF6;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnUdf7Ver12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf7Ver13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnUdf7Ver14.java106
        BuilderWithParent(OFOxmBsnUdf7Ver12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x31e04L;
    }

    @Override
    public UDF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnUdf7.Builder setValue(UDF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<UDF> getMatchField() {
        return MatchField.BSN_UDF7;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<UDF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVlanXlatePortGroupIdVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVlanXlatePortGroupIdVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVlanXlatePortGroupIdVer14.java106
        BuilderWithParent(OFOxmBsnVlanXlatePortGroupIdVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x32204L;
    }

    @Override
    public ClassId getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVlanXlatePortGroupId.Builder setValue(ClassId value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ClassId> getMatchField() {
        return MatchField.BSN_VLAN_XLATE_PORT_GROUP_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ClassId> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmBsnVrfVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVrfVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVrfVer14.java106
        BuilderWithParent(OFOxmBsnVrfVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x30404L;
    }

    @Override
    public VRF getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVrf.Builder setValue(VRF value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<VRF> getMatchField() {
        return MatchField.BSN_VRF;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<VRF> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthDstVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthDstVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthDstVer14.java106
        BuilderWithParent(OFOxmEthDstVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80000606L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthDst.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthSrcVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthSrcVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthSrcVer14.java106
        BuilderWithParent(OFOxmEthSrcVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80000806L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmEthSrc.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmEthTypeVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmEthTypeVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmEthTypeVer14.java106
        BuilderWithParent(OFOxmEthTypeVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80000a02L;
    }

    @Override
    public EthType getValue() {
        return value;
    }

    @Override
    public OFOxmEthType.Builder setValue(EthType value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<EthType> getMatchField() {
        return MatchField.ETH_TYPE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<EthType> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4CodeVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4CodeVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4CodeVer14.java106
        BuilderWithParent(OFOxmIcmpv4CodeVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80002801L;
    }

    @Override
    public ICMPv4Code getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4Code.Builder setValue(ICMPv4Code value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Code> getMatchField() {
        return MatchField.ICMPV4_CODE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ICMPv4Code> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv4TypeVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv4TypeVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv4TypeVer14.java106
        BuilderWithParent(OFOxmIcmpv4TypeVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80002601L;
    }

    @Override
    public ICMPv4Type getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv4Type.Builder setValue(ICMPv4Type value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<ICMPv4Type> getMatchField() {
        return MatchField.ICMPV4_TYPE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<ICMPv4Type> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6CodeVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6CodeVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6CodeVer14.java106
        BuilderWithParent(OFOxmIcmpv6CodeVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80003c01L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6Code.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_CODE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIcmpv6TypeVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmIcmpv6TypeVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmIcmpv6TypeVer14.java106
        BuilderWithParent(OFOxmIcmpv6TypeVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80003a01L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmIcmpv6Type.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.ICMPV6_TYPE;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPhyPortVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPhyPortVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPhyPortVer14.java106
        BuilderWithParent(OFOxmInPhyPortVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80000204L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPhyPort.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PHY_PORT;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmInPortVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmInPortVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmInPortVer14.java106
        BuilderWithParent(OFOxmInPortVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80000004L;
    }

    @Override
    public OFPort getValue() {
        return value;
    }

    @Override
    public OFOxmInPort.Builder setValue(OFPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFPort> getMatchField() {
        return MatchField.IN_PORT;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpDscpVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpDscpVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpDscpVer14.java106
        BuilderWithParent(OFOxmIpDscpVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80001001L;
    }

    @Override
    public IpDscp getValue() {
        return value;
    }

    @Override
    public OFOxmIpDscp.Builder setValue(IpDscp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IpDscp> getMatchField() {
        return MatchField.IP_DSCP;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IpDscp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpEcnVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpEcnVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpEcnVer14.java106
        BuilderWithParent(OFOxmIpEcnVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80001201L;
    }

    @Override
    public IpEcn getValue() {
        return value;
    }

    @Override
    public OFOxmIpEcn.Builder setValue(IpEcn value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IpEcn> getMatchField() {
        return MatchField.IP_ECN;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IpEcn> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpProtoVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpProtoVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpProtoVer14.java106
        BuilderWithParent(OFOxmIpProtoVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80001401L;
    }

    @Override
    public IpProtocol getValue() {
        return value;
    }

    @Override
    public OFOxmIpProto.Builder setValue(IpProtocol value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IpProtocol> getMatchField() {
        return MatchField.IP_PROTO;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IpProtocol> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4DstVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4DstVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4DstVer14.java106
        BuilderWithParent(OFOxmIpv4DstVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80001804L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4Dst.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv4SrcVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv4SrcVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv4SrcVer14.java106
        BuilderWithParent(OFOxmIpv4SrcVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80001604L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv4Src.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6DstVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6DstVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6DstVer14.java106
        BuilderWithParent(OFOxmIpv6DstVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80003610L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6Dst.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6FlabelVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6FlabelVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6FlabelVer14.java106
        BuilderWithParent(OFOxmIpv6FlabelVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80003804L;
    }

    @Override
    public IPv6FlowLabel getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6Flabel.Builder setValue(IPv6FlowLabel value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6FlowLabel> getMatchField() {
        return MatchField.IPV6_FLABEL;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv6FlowLabel> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdSllVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdSllVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdSllVer14.java106
        BuilderWithParent(OFOxmIpv6NdSllVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80004006L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdSll.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_SLL;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTargetVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTargetVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTargetVer14.java106
        BuilderWithParent(OFOxmIpv6NdTargetVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80003e10L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTarget.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_ND_TARGET;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6NdTllVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6NdTllVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6NdTllVer14.java106
        BuilderWithParent(OFOxmIpv6NdTllVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80004206L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6NdTll.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.IPV6_ND_TLL;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmIpv6SrcVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6SrcVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6SrcVer14.java106
        BuilderWithParent(OFOxmIpv6SrcVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80003410L;
    }

    @Override
    public IPv6Address getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6Src.Builder setValue(IPv6Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv6Address> getMatchField() {
        return MatchField.IPV6_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv6Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMetadataVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmMetadataVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmMetadataVer14.java106
        BuilderWithParent(OFOxmMetadataVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80000408L;
    }

    @Override
    public OFMetadata getValue() {
        return value;
    }

    @Override
    public OFOxmMetadata.Builder setValue(OFMetadata value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFMetadata> getMatchField() {
        return MatchField.METADATA;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFMetadata> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsLabelVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsLabelVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsLabelVer14.java106
        BuilderWithParent(OFOxmMplsLabelVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80004404L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsLabel.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.MPLS_LABEL;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmMplsTcVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsTcVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsTcVer14.java106
        BuilderWithParent(OFOxmMplsTcVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80004601L;
    }

    @Override
    public U8 getValue() {
        return value;
    }

    @Override
    public OFOxmMplsTc.Builder setValue(U8 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U8> getMatchField() {
        return MatchField.MPLS_TC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U8> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpDstVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpDstVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpDstVer14.java106
        BuilderWithParent(OFOxmSctpDstVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80002402L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpDst.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmSctpSrcVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmSctpSrcVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmSctpSrcVer14.java106
        BuilderWithParent(OFOxmSctpSrcVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80002202L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmSctpSrc.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.SCTP_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpDstVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpDstVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpDstVer14.java106
        BuilderWithParent(OFOxmTcpDstVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80001c02L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpDst.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTcpSrcVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmTcpSrcVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmTcpSrcVer14.java106
        BuilderWithParent(OFOxmTcpSrcVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80001a02L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmTcpSrc.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.TCP_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4DstVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4DstVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4DstVer14.java106
        BuilderWithParent(OFOxmTunnelIpv4DstVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x14004L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4Dst.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmTunnelIpv4SrcVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIpv4SrcVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIpv4SrcVer14.java106
        BuilderWithParent(OFOxmTunnelIpv4SrcVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x13e04L;
    }

    @Override
    public IPv4Address getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelIpv4Src.Builder setValue(IPv4Address value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<IPv4Address> getMatchField() {
        return MatchField.TUNNEL_IPV4_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<IPv4Address> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpDstVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpDstVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpDstVer14.java106
        BuilderWithParent(OFOxmUdpDstVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80002002L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpDst.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmUdpSrcVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmUdpSrcVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmUdpSrcVer14.java106
        BuilderWithParent(OFOxmUdpSrcVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80001e02L;
    }

    @Override
    public TransportPort getValue() {
        return value;
    }

    @Override
    public OFOxmUdpSrc.Builder setValue(TransportPort value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<TransportPort> getMatchField() {
        return MatchField.UDP_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<TransportPort> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanPcpVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanPcpVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanPcpVer14.java106
        BuilderWithParent(OFOxmVlanPcpVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80000e01L;
    }

    @Override
    public VlanPcp getValue() {
        return value;
    }

    @Override
    public OFOxmVlanPcp.Builder setValue(VlanPcp value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<VlanPcp> getMatchField() {
        return MatchField.VLAN_PCP;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<VlanPcp> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver12/OFOxmVlanVidVer12.java106
org/projectfloodlight/openflow/protocol/ver13/OFOxmVlanVidVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmVlanVidVer14.java106
        BuilderWithParent(OFOxmVlanVidVer12 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80000c02L;
    }

    @Override
    public OFVlanVidMatch getValue() {
        return value;
    }

    @Override
    public OFOxmVlanVid.Builder setValue(OFVlanVidMatch value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFVlanVidMatch> getMatchField() {
        return MatchField.VLAN_VID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFVlanVidMatch> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.2");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFAsyncGetReplyVer13.java472
org/projectfloodlight/openflow/protocol/ver13/OFAsyncGetRequestVer13.java472
org/projectfloodlight/openflow/protocol/ver13/OFAsyncSetVer13.java472
            sink.putByte((byte) 0x1b);
            // fixed value property length = 32
            sink.putShort((short) 0x20);
            sink.putLong(message.xid);
            sink.putLong(message.packetInMaskEqualMaster);
            sink.putLong(message.packetInMaskSlave);
            sink.putLong(message.portStatusMaskEqualMaster);
            sink.putLong(message.portStatusMaskSlave);
            sink.putLong(message.flowRemovedMaskEqualMaster);
            sink.putLong(message.flowRemovedMaskSlave);
        }
    }


    public void writeTo(ChannelBuffer bb) {
        WRITER.write(bb, this);
    }

    final static Writer WRITER = new Writer();
    static class Writer implements OFMessageWriter<OFAsyncGetReplyVer13> {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableClearReplyVer13.java396
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableClearReplyVer14.java396
            bb.writeByte((byte) 0x4);
            // fixed value property type = 4
            bb.writeByte((byte) 0x4);
            // fixed value property length = 28
            bb.writeShort((short) 0x1c);
            bb.writeInt(U32.t(message.xid));
            // fixed value property experimenter = 0x5c16c7L
            bb.writeInt(0x5c16c7);
            // fixed value property subtype = 0x31L
            bb.writeInt(0x31);
            message.tableId.write2Bytes(bb);
            // pad: 2 bytes
            bb.writeZero(2);
            bb.writeInt(U32.t(message.deletedCount));
            bb.writeInt(U32.t(message.errorCount));


        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFBsnGentableClearReplyVer13(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnGentableEntryAddVer13.java431
org/projectfloodlight/openflow/protocol/ver14/OFBsnGentableEntryAddVer14.java431
            sink.putByte((byte) 0x4);
            // fixed value property type = 4
            sink.putByte((byte) 0x4);
            // FIXME: skip funnel of length
            sink.putLong(message.xid);
            // fixed value property experimenter = 0x5c16c7L
            sink.putInt(0x5c16c7);
            // fixed value property subtype = 0x2eL
            sink.putInt(0x2e);
            message.tableId.putTo(sink);
            // FIXME: skip funnel of keyLength
            message.checksum.putTo(sink);
            FunnelUtils.putList(message.key, sink);
            FunnelUtils.putList(message.value, sink);
        }
    }


    public void writeTo(ChannelBuffer bb) {
        WRITER.write(bb, this);
    }

    final static Writer WRITER = new Writer();
    static class Writer implements OFMessageWriter<OFBsnGentableEntryAddVer13> {
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpConvergenceNotifVer13.java874
org/projectfloodlight/openflow/protocol/ver13/OFBsnLacpStatsEntryVer13.java741
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpConvergenceNotifVer14.java874
org/projectfloodlight/openflow/protocol/ver14/OFBsnLacpStatsEntryVer14.java741
        if( actorKey != other.actorKey)
            return false;
        if( partnerSysPriority != other.partnerSysPriority)
            return false;
        if (partnerSysMac == null) {
            if (other.partnerSysMac != null)
                return false;
        } else if (!partnerSysMac.equals(other.partnerSysMac))
            return false;
        if( partnerPortPriority != other.partnerPortPriority)
            return false;
        if( partnerPortNum != other.partnerPortNum)
            return false;
        if( partnerKey != other.partnerKey)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = prime *  (int) (xid ^ (xid >>> 32));
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvReferenceVer13.java102
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvReferenceVer14.java159
    @Override
    public int getType() {
        return 0x3b;
    }

    @Override
    public int getTableId() {
        return tableId;
    }

    @Override
    public OFBsnTlvReference.Builder setTableId(int tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnTlvReference.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFBsnTlvReferenceVer13.java159
org/projectfloodlight/openflow/protocol/ver14/OFBsnTlvReferenceVer14.java102
    @Override
    public int getType() {
        return 0x3b;
    }

    @Override
    public int getTableId() {
        return tableId;
    }

    @Override
    public OFBsnTlvReference.Builder setTableId(int tableId) {
        this.tableId = tableId;
        this.tableIdSet = true;
        return this;
    }
    @Override
    public List<OFBsnTlv> getKey() {
        return key;
    }

    @Override
    public OFBsnTlvReference.Builder setKey(List<OFBsnTlv> key) {
        this.key = key;
        this.keySet = true;
        return this;
    }
    @Override
    public OFVersion getVersion() {
        return OFVersion.OF_13;
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFeaturesReplyVer13.java87
org/projectfloodlight/openflow/protocol/ver14/OFFeaturesReplyVer14.java87
    }

    @Override
    public OFType getType() {
        return OFType.FEATURES_REPLY;
    }

    @Override
    public long getXid() {
        return xid;
    }

    @Override
    public DatapathId getDatapathId() {
        return datapathId;
    }

    @Override
    public long getNBuffers() {
        return nBuffers;
    }

    @Override
    public short getNTables() {
        return nTables;
    }

    @Override
    public Set<OFCapabilities> getCapabilities() {
        return capabilities;
    }

    @Override
    public long getReserved() {
        return reserved;
    }

    @Override
    public List<OFPortDesc> getPorts()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property ports not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFFlowAddVer13.java894
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteStrictVer13.java890
org/projectfloodlight/openflow/protocol/ver13/OFFlowDeleteVer13.java889
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyStrictVer13.java890
org/projectfloodlight/openflow/protocol/ver13/OFFlowModifyVer13.java888
        public void write(ChannelBuffer bb, OFFlowAddVer13 message) {
            int startIndex = bb.writerIndex();
            // fixed value property version = 4
            bb.writeByte((byte) 0x4);
            // fixed value property type = 14
            bb.writeByte((byte) 0xe);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            bb.writeInt(U32.t(message.xid));
            bb.writeLong(message.cookie.getValue());
            bb.writeLong(message.cookieMask.getValue());
            message.tableId.writeByte(bb);
            // fixed value property command = 0
            bb.writeByte((short) 0x0);
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFMeterConfigVer13.java286
org/projectfloodlight/openflow/protocol/ver14/OFMeterConfigVer14.java286
        public void write(ChannelBuffer bb, OFMeterConfigVer13 message) {
            int startIndex = bb.writerIndex();
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            bb.writeShort(U16.t(message.flags));
            bb.writeInt(U32.t(message.meterId));
            ChannelUtils.writeList(bb, message.entries);

            // update length field
            int length = bb.writerIndex() - startIndex;
            bb.setShort(lengthIndex, length);

        }
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder("OFMeterConfigVer13(");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthDstVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthDstVer14.java106
        BuilderWithParent(OFOxmBsnInnerEthDstVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x32c06L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInnerEthDst.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.BSN_INNER_ETH_DST;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnInnerEthSrcVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnInnerEthSrcVer14.java106
        BuilderWithParent(OFOxmBsnInnerEthSrcVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x32e06L;
    }

    @Override
    public MacAddress getValue() {
        return value;
    }

    @Override
    public OFOxmBsnInnerEthSrc.Builder setValue(MacAddress value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<MacAddress> getMatchField() {
        return MatchField.BSN_INNER_ETH_SRC;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<MacAddress> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnVxlanNetworkIdVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmBsnVxlanNetworkIdVer14.java106
        BuilderWithParent(OFOxmBsnVxlanNetworkIdVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x32a04L;
    }

    @Override
    public U32 getValue() {
        return value;
    }

    @Override
    public OFOxmBsnVxlanNetworkId.Builder setValue(U32 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U32> getMatchField() {
        return MatchField.BSN_VXLAN_NETWORK_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U32> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmIpv6ExthdrVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmIpv6ExthdrVer14.java106
        BuilderWithParent(OFOxmIpv6ExthdrVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80004e02L;
    }

    @Override
    public U16 getValue() {
        return value;
    }

    @Override
    public OFOxmIpv6Exthdr.Builder setValue(U16 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U16> getMatchField() {
        return MatchField.IPV6_EXTHDR;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U16> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmMplsBosVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmMplsBosVer14.java106
        BuilderWithParent(OFOxmMplsBosVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80004801L;
    }

    @Override
    public OFBooleanValue getValue() {
        return value;
    }

    @Override
    public OFOxmMplsBos.Builder setValue(OFBooleanValue value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<OFBooleanValue> getMatchField() {
        return MatchField.MPLS_BOS;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<OFBooleanValue> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver13/OFOxmTunnelIdVer13.java106
org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIdVer14.java106
        BuilderWithParent(OFOxmTunnelIdVer13 parentMessage) {
            this.parentMessage = parentMessage;
        }

    @Override
    public long getTypeLen() {
        return 0x80004c08L;
    }

    @Override
    public U64 getValue() {
        return value;
    }

    @Override
    public OFOxmTunnelId.Builder setValue(U64 value) {
        this.value = value;
        this.valueSet = true;
        return this;
    }
    @Override
    public MatchField<U64> getMatchField() {
        return MatchField.TUNNEL_ID;
    }

    @Override
    public boolean isMasked() {
        return false;
    }

    @Override
    public OFOxm<U64> getCanonical()throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Property canonical not supported in version 1.3");
FileLine
org/projectfloodlight/openflow/protocol/ver14/OFFlowAddVer14.java865
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteStrictVer14.java865
org/projectfloodlight/openflow/protocol/ver14/OFFlowDeleteVer14.java865
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyStrictVer14.java865
org/projectfloodlight/openflow/protocol/ver14/OFFlowModifyVer14.java865
        public void write(ChannelBuffer bb, OFFlowAddVer14 message) {
            int startIndex = bb.writerIndex();
            // fixed value property version = 5
            bb.writeByte((byte) 0x5);
            // fixed value property type = 14
            bb.writeByte((byte) 0xe);
            // length is length of variable message, will be updated at the end
            int lengthIndex = bb.writerIndex();
            bb.writeShort(U16.t(0));

            bb.writeInt(U32.t(message.xid));
            bb.writeLong(message.cookie.getValue());
            bb.writeLong(message.cookieMask.getValue());
            message.tableId.writeByte(bb);
            // fixed value property command = 0
            bb.writeByte((short) 0x0);